From 4f0c56e9649b53823b949a6d55082c0c47ea269a Mon Sep 17 00:00:00 2001 From: Sam Sheffield Date: Mon, 9 Sep 2024 17:18:17 -0400 Subject: [PATCH] chore: only handle seed for now --- .github/workflows/cd-protonet.yml | 48 ++++++++++++++--------------- .github/workflows/cd-seed-chain.yml | 2 +- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/cd-protonet.yml b/.github/workflows/cd-protonet.yml index 64894064d..e41a82f4b 100644 --- a/.github/workflows/cd-protonet.yml +++ b/.github/workflows/cd-protonet.yml @@ -22,29 +22,29 @@ jobs: # download updated binary and genesis # reset application database state (only done on internal testnet) # TODO: move to ansible-ami, move the role - reset-chain-to-zero-state-v2: - # only start cd pipeline if last ci run was successful - # if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ./.github/workflows/cd-reset-internal-testnet.yml - with: - aws-region: us-east-1 - chain-id: proto_2221-17000 - ssm-document-name: kava-testnet-internal-node-update - playbook-name: reset-protonet-playbook.yml - playbook-infrastructure-branch: ss-protonet - secrets: inherit - - # start kava with new binary and genesis state on api, peer and seed nodes, place nodes in service once they start and are synched to live - start-chain-api: - uses: ./.github/workflows/cd-start-chain.yml - with: - aws-region: us-east-1 - chain-id: proto_2221-17000 - ssm-document-name: kava-testnet-internal-node-update - playbook-name: start-chain-api-playbook.yml - playbook-infrastructure-branch: ss-protonet - secrets: inherit - needs: [reset-chain-to-zero-state-v2] +# reset-chain-to-zero-state-v2: +# # only start cd pipeline if last ci run was successful +# # if: ${{ github.event.workflow_run.conclusion == 'success' }} +# uses: ./.github/workflows/cd-reset-internal-testnet.yml +# with: +# aws-region: us-east-1 +# chain-id: proto_2221-17000 +# ssm-document-name: kava-testnet-internal-node-update +# playbook-name: reset-protonet-playbook.yml +# playbook-infrastructure-branch: ss-protonet +# secrets: inherit +# +# # start kava with new binary and genesis state on api, peer and seed nodes, place nodes in service once they start and are synched to live +# start-chain-api: +# uses: ./.github/workflows/cd-start-chain.yml +# with: +# aws-region: us-east-1 +# chain-id: proto_2221-17000 +# ssm-document-name: kava-testnet-internal-node-update +# playbook-name: start-chain-api-playbook.yml +# playbook-infrastructure-branch: ss-protonet +# secrets: inherit +# needs: [reset-chain-to-zero-state-v2] # setup test and development accounts and balances, deploy contracts by calling the chain's api seed-chain-state: @@ -58,7 +58,7 @@ jobs: # genesis_validator_addresses: "kavavaloper14w4avgdvqrlpww6l5dhgj4egfn6ln7gmtp7r2m" kava_version_filepath: ./ci/env/kava-protonet/KAVA.VERSION secrets: inherit - needs: [start-chain-api] +# needs: [start-chain-api] post-pipeline-metrics: uses: ./.github/workflows/metric-pipeline.yml if: always() # always run so we metric failures and successes diff --git a/.github/workflows/cd-seed-chain.yml b/.github/workflows/cd-seed-chain.yml index 8ef446c0a..820ca1ff8 100644 --- a/.github/workflows/cd-seed-chain.yml +++ b/.github/workflows/cd-seed-chain.yml @@ -38,7 +38,7 @@ jobs: - name: get desired version of network id: kava-version run: | - echo "KAVA_VERSION=$(cat $KAVA_VERSION_FILEPATH" >> $GITHUB_OUTPUT + echo "KAVA_VERSION=$(cat ./ci/env/kava-protonet/KAVA.VERSION)" >> $GITHUB_OUTPUT env: KAVA_VERSION_FILEPATH: ${{ inputs.kava_version_filepath }} - name: checkout version of kava used by network