Skip to content
name: Manual Deployment (Internal Testnet)
# allow to be triggered manually
on: workflow_dispatch
jobs:
# in order:
# enter standby (prevents autoscaling group from killing node during deploy)
# stop nemo
# take ebs + zfs snapshots
# download updated binary and genesis
# reset application database state (only done on internal testnet)
reset-chain-to-zero-state:
uses: ./.github/workflows/cd-reset-internal-testnet.yml
with:
aws-region: us-east-1
chain-id: highbury_710-17000
ssm-document-name: nemo-testnet-internal-node-update
playbook-name: reset-internal-testnet-playbook.yml
playbook-infrastructure-branch: master
secrets: inherit
# start nemo 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: highbury_710-17000
ssm-document-name: nemo-testnet-internal-node-update
playbook-name: start-chain-api-playbook.yml
playbook-infrastructure-branch: master
secrets: inherit
needs: [reset-chain-to-zero-state]
# setup test and development accounts and balances, deploy contracts by calling the chain's api
seed-chain-state:
uses: ./.github/workflows/cd-seed-chain.yml
with:
chain-api-url: https://rpc.app.internal.testnet.us-east.production.nemo.io:443
chain-id: highbury_710-17000
seed-script-filename: seed-internal-testnet.sh
erc20-deployer-network-name: internal_testnet
genesis_validator_addresses: "furyvaloper1xcgtffvv2yeqmgs3yz4gv29kgjrj8usxw3xsx0 furyvaloper1w66m9hdzwgd6uc8g93zqkcumgwzrpcw9e94ce7"
nemo_version_filepath: ./ci/env/nemo-internal-testnet/NEMO.VERSION
secrets: inherit
needs: [start-chain-api]
post-pipeline-metrics:
uses: ./.github/workflows/metric-pipeline.yml
if: always() # always run so we metric failures and successes
with:
aws-region: us-east-1
metric-name: nemo.deploys.testnet.internal
namespace: Nemo/ContinuousDeployment
secrets: inherit
needs: [seed-chain-state]
name: Manual Deployment (Internal Testnet)

Check failure on line 55 in .github/workflows/cd-internal-testnet-manual.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cd-internal-testnet-manual.yml

Invalid workflow file

You have an error in your yaml syntax on line 55
# allow to be triggered manually
on: workflow_dispatch
jobs:
# in order:
# enter standby (prevents autoscaling group from killing node during deploy)
# stop nemo
# take ebs + zfs snapshots
# download updated binary and genesis
# reset application database state (only done on internal testnet)
reset-chain-to-zero-state:
uses: ./.github/workflows/cd-reset-internal-testnet.yml
with:
aws-region: us-east-1
chain-id: highbury_710-17000
ssm-document-name: nemo-testnet-internal-node-update
playbook-name: reset-internal-testnet-playbook.yml
playbook-infrastructure-branch: master
secrets: inherit
# start nemo 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: highbury_710-17000
ssm-document-name: nemo-testnet-internal-node-update
playbook-name: start-chain-api-playbook.yml
playbook-infrastructure-branch: master
secrets: inherit
needs: [reset-chain-to-zero-state]
# setup test and development accounts and balances, deploy contracts by calling the chain's api
seed-chain-state:
uses: ./.github/workflows/cd-seed-chain.yml
with:
chain-api-url: https://rpc.app.internal.testnet.us-east.production.nemo.io:443
chain-id: highbury_710-17000
seed-script-filename: seed-internal-testnet.sh
erc20-deployer-network-name: internal_testnet
genesis_validator_addresses: "furyvaloper1xcgtffvv2yeqmgs3yz4gv29kgjrj8usxw3xsx0 furyvaloper1w66m9hdzwgd6uc8g93zqkcumgwzrpcw9e94ce7"
nemo_version_filepath: ./ci/env/nemo-internal-testnet/NEMO.VERSION
secrets: inherit
needs: [start-chain-api]
post-pipeline-metrics:
uses: ./.github/workflows/metric-pipeline.yml
if: always() # always run so we metric failures and successes
with:
aws-region: us-east-1
metric-name: nemo.deploys.testnet.internal
namespace: Nemo/ContinuousDeployment
secrets: inherit
needs: [seed-chain-state]