Skip to content

Commit

Permalink
udpates
Browse files Browse the repository at this point in the history
  • Loading branch information
gzukel committed Sep 13, 2023
1 parent ee034c4 commit b31f2bb
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/upgrade_path_testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
echo "Start Network"
nohup zetavisor start --rpc.laddr tcp://0.0.0.0:26657 --minimum-gas-prices ${GAS_PRICES} "--grpc.enable=true" > cosmovisor.log 2>&1 &
sleep 120
sleep 240
cat cosmovisor.log
- name: "DETERMINE_UPGRADE_TYPE"
Expand All @@ -194,6 +194,28 @@ jobs:
git_env_file.write("UPGRADE_TYPE=GOV")
git_env_file.close()
- name: "CHECK_UPGRADE_TYPE"
- name: "NON_CONCENSUS_BREAKING_UPGRADE"
if: env.UPGRADE_TYPE == 'NONCON'
run: |
echo ${UPGRADE_TYPE}
echo "*********CHECK VERSION BEFORE BINARY SWITCH*********"
zetavisor version
echo "*********KILLALL ZETAVISOR*********"
killall zetavisor
echo "*********COPY UPGRADE BINARY TO NEW LOCATION*********"
cp /home/runner/.zetacored/zetavisor/upgrades/${{ github.event.inputs.version }}/bin/zetacored /home/runner/.zetacored/zetavisor/genesis/bin/zetacored
cp /home/runner/.zetacored/zetavisor/upgrades/${{ github.event.inputs.version }}/bin/zetacored /home/runner/.zetacored/zetavisor/current/bin/zetacored
nohup zetavisor start --rpc.laddr tcp://0.0.0.0:26657 --minimum-gas-prices ${GAS_PRICES} "--grpc.enable=true" > cosmovisor.log 2>&1 &
sleep 240
cat cosmovisor.log
echo "*********CHECK VERSION AFTER BINARY SWITCH*********"
zetavisor version
- name: "CONCENSUS_BREAKING_UPGRADE"
if: env.UPGRADE_TYPE == 'NONCON'
run: |
echo ${UPGRADE_TYPE}

0 comments on commit b31f2bb

Please sign in to comment.