-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Genesis mode - transitory approach
- Loading branch information
Showing
6 changed files
with
7,571 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,51 +10,44 @@ on: | |
- mainnet | ||
- preprod | ||
- preview | ||
default: preprod | ||
build_mode: | ||
description: "build-mode" | ||
type: choice | ||
options: | ||
- nix | ||
default: nix | ||
default: mainnet | ||
tag_no1: | ||
description: "Initial sync - Graph axis label" | ||
required: true | ||
default: "9.2.1" | ||
default: "10.2" | ||
node_rev1: | ||
description: "Initial sync - cardano-node revision" | ||
required: true | ||
default: "tags/9.2.1" | ||
default: "9017d918d0c5143a137a82d94af4a2ac67ae7d2e" | ||
node_topology1: | ||
description: "Initial sync - cardano-node topology" | ||
type: choice | ||
options: | ||
- non-bootstrap-peers | ||
- bootstrap-peers | ||
default: non-bootstrap-peers | ||
node_start_arguments1: | ||
description: "Initial sync - Extra arguments when starting the node" | ||
required: false | ||
default: "None" | ||
tag_no2: | ||
description: "Upgrade node - Graph axis label" | ||
required: true | ||
default: "None" | ||
node_rev2: | ||
description: "Upgrade node - cardano-node revision" | ||
required: true | ||
default: "None" | ||
node_topology2: | ||
description: "Upgrade node - cardano-node topology" | ||
default: legacy | ||
use_genesis_mode: | ||
description: "Use Ouroboros Genesis mode" | ||
type: boolean | ||
default: true | ||
buildkite_queue_name: | ||
description: "Buildkite queue name to use" | ||
type: choice | ||
options: | ||
- core-tech-bench | ||
- core-tech-bench-af | ||
- core-tech-bench-ap | ||
- core-tech-bench-eu | ||
- core-tech-bench-sa | ||
buildkite_pipeline: | ||
description: "Buildkite pipeline to use" | ||
type: choice | ||
options: | ||
- p2p | ||
- legacy | ||
default: p2p | ||
node_start_arguments2: | ||
description: "Upgrade node - Extra arguments when starting the node" | ||
required: false | ||
default: "None" | ||
- node-sync-tests | ||
- node-sync-tests-genesis | ||
- node-sync-tests-genesis-ap | ||
- node-sync-tests-genesis-eu | ||
- node-sync-tests-genesis-sa | ||
|
||
jobs: | ||
node_sync_test_buildkite: | ||
|
@@ -85,9 +78,18 @@ jobs: | |
- name: Trigger the Buildkite pipeline - run sync tests on Mainnet | ||
uses: 'buildkite/[email protected]' | ||
with: | ||
buildkite_api_access_token: ${{ secrets.BUILDKITE_API_ACCESS_TOKEN }} | ||
pipeline: "input-output-hk/${{ github.event.inputs.buildkite_pipeline }}" | ||
branch: ${{ github.ref_name }} | ||
commit: HEAD | ||
message: ':github: Triggered by GitHub Action' | ||
wait: false | ||
wait_interval: 10 | ||
wait_timeout: 3600 | ||
env: | ||
BUILDKITE_API_ACCESS_TOKEN: ${{ secrets.BUILDKITE_API_ACCESS_TOKEN }} | ||
PIPELINE: 'input-output-hk/node-sync-tests' | ||
PIPELINE: "input-output-hk/${{ github.event.inputs.buildkite_pipeline }}" | ||
BRANCH: ${{ github.ref_name }} | ||
MESSAGE: ':github: Triggered by GitHub Action' | ||
AWS_DB_USERNAME: ${{ secrets.AWS_DB_USERNAME }} | ||
|
@@ -97,15 +99,18 @@ jobs: | |
BLOCKFROST_API_KEY: ${{ secrets.BLOCKFROST_API_KEY }} | ||
BUILD_ENV_VARS: '{ | ||
"env":"${{ github.event.inputs.environment }}", | ||
"build_mode":"${{ github.event.inputs.build_mode }}", | ||
"node_rev1":"${{ steps.get_tag.outputs.node_rev1 }}", | ||
"node_rev2":"${{ github.event.inputs.node_rev2 }}", | ||
"tag_no1":"${{ github.event.inputs.tag_no1 }}", | ||
"tag_no2":"${{ github.event.inputs.tag_no2 }}", | ||
"node_topology1":"${{ github.event.inputs.node_topology1 }}", | ||
"node_topology2":"${{ github.event.inputs.node_topology2 }}", | ||
"node_start_arguments1":"${{ github.event.inputs.node_start_arguments1 }}", | ||
"node_start_arguments2":"${{ github.event.inputs.node_start_arguments2 }}", | ||
"node_start_arguments1":"None", | ||
"node_start_arguments2":"None", | ||
"use_genesis_mode":"${{ github.event.inputs.use_genesis_mode }}", | ||
"queue_name":"${{ github.event.inputs.buildkite_queue_name }}", | ||
"CARDANO_NODE_SOCKET_PATH":"/var/tmp/${{ github.event.inputs.buildkite_pipeline }}/node.socket", | ||
"BLOCKFROST_API_KEY":"${{ secrets.BLOCKFROST_API_KEY }}", | ||
"AWS_DB_USERNAME":"${{ secrets.AWS_DB_USERNAME }}", | ||
"AWS_DB_PASS":"${{ secrets.AWS_DB_PASS }}", | ||
|
Oops, something went wrong.