From 45e06e7981696e4162c4b96581b68ff534662957 Mon Sep 17 00:00:00 2001 From: RafilxTenfen Date: Mon, 3 Oct 2022 10:44:11 -0300 Subject: [PATCH 1/2] commented upgrade CI since it is not needed anymore, v3 is there o/ --- .github/workflows/tests.yml | 104 ++++++++++++++++++------------------ 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e630a18157..7fa5af9e85 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -131,7 +131,7 @@ jobs: path: ./cmd/umeed/umeed key: umeed-linux-amd64 - - name: Move new version binary to build folder + - name: Move new version binary to build folder if: steps.cache-binaries.outputs.cache-hit == 'true' run: | mkdir -p build @@ -148,54 +148,54 @@ jobs: sleep 1m ./contrib/scripts/test_localnet_liveness.sh 50 5 50 localhost:26657 - mainnet-upgrade-v1-v3: - needs: build-umeed - runs-on: ubuntu-latest - timeout-minutes: 20 - steps: - - uses: actions/checkout@v3 - - uses: technote-space/get-diff-action@v6.1.0 - with: - PATTERNS: | - **/**.go - go.mod - go.sum - - - name: Cache updated version binary - id: cache-binaries - uses: actions/cache@v3 - with: - path: ./cmd/umeed/umeed - key: umeed-linux-amd64 - - - name: Move new version binary to build folder - if: steps.cache-binaries.outputs.cache-hit == 'true' - run: | - mkdir -p build - cp ./cmd/umeed/umeed ./build/umeed - chmod +x ./build/umeed - - - name: cache umeed mainnet - uses: actions/cache@v3 - id: umeed-v112 - with: - path: ./contrib/scripts/umeed-releases/umeed-v1.1.2-linux-amd64/umeed - key: umeed-v112 - - name: download mainnet binary - if: steps.umeed-v112.outputs.cache-hit != 'true' - run: | - ./contrib/scripts/download-mainnet-umeed.sh - - name: cache mainnet tinkered genesis - uses: actions/cache@v3 - id: tinkered-genesis-sep-15 - with: - path: ./contrib/scripts/mainnet_tinkered_genesis.json - key: tinkered-genesis-sep-15 - - name: tinkerer mainnet genesis - if: steps.tinkered-genesis-sep-15.outputs.cache-hit != 'true' - run: | - ./contrib/scripts/tinker-mainnet-genesis.sh - - name: Fork mainnet and upgrade from v1.1.2 to v.3.x.x - if: env.GIT_DIFF && steps.cache-binaries.outputs.cache-hit == 'true' - run: | - ./contrib/scripts/umeemainnet_fork.sh + # mainnet-upgrade-v1-v3: + # needs: build-umeed + # runs-on: ubuntu-latest + # timeout-minutes: 20 + # steps: + # - uses: actions/checkout@v3 + # - uses: technote-space/get-diff-action@v6.1.0 + # with: + # PATTERNS: | + # **/**.go + # go.mod + # go.sum + + # - name: Cache updated version binary + # id: cache-binaries + # uses: actions/cache@v3 + # with: + # path: ./cmd/umeed/umeed + # key: umeed-linux-amd64 + + # - name: Move new version binary to build folder + # if: steps.cache-binaries.outputs.cache-hit == 'true' + # run: | + # mkdir -p build + # cp ./cmd/umeed/umeed ./build/umeed + # chmod +x ./build/umeed + + # - name: cache umeed mainnet + # uses: actions/cache@v3 + # id: umeed-v112 + # with: + # path: ./contrib/scripts/umeed-releases/umeed-v1.1.2-linux-amd64/umeed + # key: umeed-v112 + # - name: download mainnet binary + # if: steps.umeed-v112.outputs.cache-hit != 'true' + # run: | + # ./contrib/scripts/download-mainnet-umeed.sh + # - name: cache mainnet tinkered genesis + # uses: actions/cache@v3 + # id: tinkered-genesis-sep-15 + # with: + # path: ./contrib/scripts/mainnet_tinkered_genesis.json + # key: tinkered-genesis-sep-15 + # - name: tinkerer mainnet genesis + # if: steps.tinkered-genesis-sep-15.outputs.cache-hit != 'true' + # run: | + # ./contrib/scripts/tinker-mainnet-genesis.sh + # - name: Fork mainnet and upgrade from v1.1.2 to v.3.x.x + # if: env.GIT_DIFF && steps.cache-binaries.outputs.cache-hit == 'true' + # run: | + # ./contrib/scripts/umeemainnet_fork.sh From 250b38f6b6224dc276de2428404f32fcb5753107 Mon Sep 17 00:00:00 2001 From: RafilxTenfen Date: Mon, 3 Oct 2022 20:29:06 -0300 Subject: [PATCH 2/2] removed ci upgrade test --- .github/workflows/tests.yml | 52 ------------------------------------- 1 file changed, 52 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7fa5af9e85..70a24918c4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -147,55 +147,3 @@ jobs: run: | sleep 1m ./contrib/scripts/test_localnet_liveness.sh 50 5 50 localhost:26657 - - # mainnet-upgrade-v1-v3: - # needs: build-umeed - # runs-on: ubuntu-latest - # timeout-minutes: 20 - # steps: - # - uses: actions/checkout@v3 - # - uses: technote-space/get-diff-action@v6.1.0 - # with: - # PATTERNS: | - # **/**.go - # go.mod - # go.sum - - # - name: Cache updated version binary - # id: cache-binaries - # uses: actions/cache@v3 - # with: - # path: ./cmd/umeed/umeed - # key: umeed-linux-amd64 - - # - name: Move new version binary to build folder - # if: steps.cache-binaries.outputs.cache-hit == 'true' - # run: | - # mkdir -p build - # cp ./cmd/umeed/umeed ./build/umeed - # chmod +x ./build/umeed - - # - name: cache umeed mainnet - # uses: actions/cache@v3 - # id: umeed-v112 - # with: - # path: ./contrib/scripts/umeed-releases/umeed-v1.1.2-linux-amd64/umeed - # key: umeed-v112 - # - name: download mainnet binary - # if: steps.umeed-v112.outputs.cache-hit != 'true' - # run: | - # ./contrib/scripts/download-mainnet-umeed.sh - # - name: cache mainnet tinkered genesis - # uses: actions/cache@v3 - # id: tinkered-genesis-sep-15 - # with: - # path: ./contrib/scripts/mainnet_tinkered_genesis.json - # key: tinkered-genesis-sep-15 - # - name: tinkerer mainnet genesis - # if: steps.tinkered-genesis-sep-15.outputs.cache-hit != 'true' - # run: | - # ./contrib/scripts/tinker-mainnet-genesis.sh - # - name: Fork mainnet and upgrade from v1.1.2 to v.3.x.x - # if: env.GIT_DIFF && steps.cache-binaries.outputs.cache-hit == 'true' - # run: | - # ./contrib/scripts/umeemainnet_fork.sh