Skip to content

Commit

Permalink
chore: retest
Browse files Browse the repository at this point in the history
  • Loading branch information
sesheffield committed Sep 12, 2024
1 parent b781371 commit 50418c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/exit-standby-all-chain-nodes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -x

# get all the node's ec2 instance ids for the specified chain id
#chain_node_instance_ids=$(aws ec2 describe-instances --filters "Name=tag:KavaChainId,Values=$CHAIN_ID" | jq -r '[.Reservations | .[] | .Instances | .[] | .InstanceId] | join(" ")')
chain_node_instance_ids='i-01f39f5bedd1f9182'
chain_node_instance_ids='i-0823115fc9273dc8c'
for chain_node_instance_id in ${chain_node_instance_ids}
do
autoscaling_group_state=$(aws autoscaling describe-auto-scaling-instances --instance-ids "$chain_node_instance_id" | jq -r '[.AutoScalingInstances | .[].LifecycleState] | join(" ")')
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/cd-reset-internal-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,9 @@ jobs:
--aws-ssm-document-name=$SSM_DOCUMENT_NAME \
--infrastructure-git-pointer=$PLAYBOOK_INFRASTRUCTURE_BRANCH \
--update-playbook-filename=$PLAYBOOK_NAME \
--chain-id=$CHAIN_ID \
--instance-ids=i-0823115fc9273dc8c \
--max-upgrade-batch-size=0 \
--wait-for-node-sync-after-upgrade=false \
--node-types=pruning-api
--wait-for-node-sync-after-upgrade=false
env:
SSM_DOCUMENT_NAME: ${{ inputs.ssm-document-name }} # kava-testnet-internal-node-update
PLAYBOOK_NAME: ${{ inputs.playbook-name }} # reset-protonet-playbook.yml
Expand All @@ -77,4 +76,6 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.CI_AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CI_AWS_KEY_SECRET }}
AWS_SDK_LOAD_CONFIG: 1
PLAYBOOK_INFRASTRUCTURE_BRANCH: ${{ inputs.playbook-infrastructure-branch }} # master
PLAYBOOK_INFRASTRUCTURE_BRANCH: ${{ inputs.playbook-infrastructure-branch }} # master
- name: bring the chain online
run: bash ${GITHUB_WORKSPACE}/.github/scripts/exit-standby-all-chain-nodes.sh

0 comments on commit 50418c2

Please sign in to comment.