Skip to content

Commit

Permalink
fix: put back to running once merged into master
Browse files Browse the repository at this point in the history
  • Loading branch information
sesheffield committed Sep 25, 2024
1 parent 8613af8 commit 18d1f27
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/cd-protonet.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Continuous Deployment (Protonet)
# run after every successful CI job of new commits to the master branch
on:
push
# workflow_run:
# workflows: [Continuous Integration (Kava Master)]
# types:
# - completed
workflow_run:
workflows: [Continuous Integration (Kava Master)]
types:
- completed

jobs:
# in order:
Expand All @@ -18,7 +17,7 @@ jobs:
# enter inService
reset-chain-to-zero-state:
# only start cd pipeline if last ci run was successful
#if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ./.github/workflows/cd-reset-protonet.yml
with:
aws-region: us-east-1
Expand All @@ -27,7 +26,7 @@ jobs:
auto_scaling_group_names: kava-protonet-iavl-v1-validator-api-node,kava-protonet-iavl-v1-rpc-api-node
ssm-document-name: kava-protonet-iavl-v1-instance-update
playbook-name: reset-chain.yml
playbook-infrastructure-branch: shef-protonet-validator-network-data-reset
playbook-infrastructure-branch: master
secrets: inherit


Expand All @@ -40,7 +39,7 @@ jobs:
auto_scaling_group_names: kava-protonet-iavl-v1-validator-api-node,kava-protonet-iavl-v1-rpc-api-node
ssm-document-name: kava-protonet-iavl-v1-instance-update
playbook-name: restart-chain.yml
playbook-infrastructure-branch: shef-protonet-validator-network-data-reset
playbook-infrastructure-branch: master
secrets: inherit
needs: [ reset-chain-to-zero-state ]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-reset-protonet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
repository: Kava-Labs/infrastructure
token: ${{ secrets.KAVA_PRIVATE_GITHUB_ACCESS_TOKEN }}
path: infrastructure
ref: shef-protonet-validator-network-data-reset
ref: master
- name: Set up Go
uses: actions/setup-go@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-restart-protonet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
repository: Kava-Labs/infrastructure
token: ${{ secrets.KAVA_PRIVATE_GITHUB_ACCESS_TOKEN }}
path: infrastructure
ref: shef-protonet-validator-network-data-reset
ref: master
- name: Set up Go
uses: actions/setup-go@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion ci/env/kava-protonet/KAVA.VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
shef-protonet-validator-network-ci
master

0 comments on commit 18d1f27

Please sign in to comment.