Skip to content

Commit

Permalink
ci: Disable upgrade ci (#1464)
Browse files Browse the repository at this point in the history
* commented upgrade CI since it is not needed anymore, v3 is there o/

* removed ci upgrade test
  • Loading branch information
RafilxTenfen authored Oct 4, 2022
1 parent 77fa5a6 commit f805484
Showing 1 changed file with 1 addition and 53 deletions.
54 changes: 1 addition & 53 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
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

0 comments on commit f805484

Please sign in to comment.