From 8403d2b6eb794b4eec88bcc86ec0d1091c91035e Mon Sep 17 00:00:00 2001 From: Cosmic Vagabond <121588426+cosmic-vagabond@users.noreply.github.com> Date: Wed, 15 May 2024 19:21:42 +0200 Subject: [PATCH] ci: use diff snapshot --- .github/workflows/software-upgrade-test.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/software-upgrade-test.yml b/.github/workflows/software-upgrade-test.yml index c43733189..11b96922c 100644 --- a/.github/workflows/software-upgrade-test.yml +++ b/.github/workflows/software-upgrade-test.yml @@ -32,17 +32,18 @@ jobs: - name: Retrieve info.json and set snapshot path run: | - DOWNLOAD_URL=https://snapshots-testnet.stake-town.com/elys/info.json - curl -L $DOWNLOAD_URL -o /tmp/info.json - echo "Info.json downloaded to check snapshot version." + # DOWNLOAD_URL=https://snapshots-testnet.stake-town.com/elys/info.json + # curl -L $DOWNLOAD_URL -o /tmp/info.json + # echo "Info.json downloaded to check snapshot version." - # retrieve blockHeight field value from info.json - SNAPSHOT_BLOCK_HEIGHT=$(cat /tmp/info.json | awk -F'"' '/"blockHeight":/{print $4}') - echo "SNAPSHOT_BLOCK_HEIGHT=$SNAPSHOT_BLOCK_HEIGHT" >> $GITHUB_ENV - echo "Snapshot block height: $SNAPSHOT_BLOCK_HEIGHT" + # # retrieve blockHeight field value from info.json + # SNAPSHOT_BLOCK_HEIGHT=$(cat /tmp/info.json | awk -F'"' '/"blockHeight":/{print $4}') + # echo "SNAPSHOT_BLOCK_HEIGHT=$SNAPSHOT_BLOCK_HEIGHT" >> $GITHUB_ENV + # echo "Snapshot block height: $SNAPSHOT_BLOCK_HEIGHT" # set snapshot download url - SNAPSHOT_DOWNLOAD_URL=https://snapshots-testnet.stake-town.com/elys/elystestnet-1_latest.tar.lz4 + # SNAPSHOT_DOWNLOAD_URL=https://snapshots-testnet.stake-town.com/elys/elystestnet-1_latest.tar.lz4 + SNAPSHOT_DOWNLOAD_URL=https://tools.highstakes.ch/files/elys.tar.gz echo "SNAPSHOT_DOWNLOAD_URL=$SNAPSHOT_DOWNLOAD_URL" >> $GITHUB_ENV - name: Cache Directories @@ -198,7 +199,7 @@ jobs: timeout_minutes: 30 max_attempts: 3 command: | - GOMEMLIMIT=4GiB $NEW_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_DOWNLOAD_URL $NEW_BINARY_PATH $NEW_BINARY_PATH \ + GOMEMLIMIT=8GiB $NEW_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_DOWNLOAD_URL $NEW_BINARY_PATH $NEW_BINARY_PATH \ --skip-snapshot \ --skip-chain-init \ --skip-create-validator \