Skip to content

Commit

Permalink
ci: Disable upgrade ci (backport #1464) (#1469)
Browse files Browse the repository at this point in the history
* ci: Disable upgrade ci (#1464)

* commented upgrade CI since it is not needed anymore, v3 is there o/

* removed ci upgrade test

(cherry picked from commit f805484)

# Conflicts:
#	.github/workflows/tests.yml

* fix conflict

Co-authored-by: Rafael Tenfen <rafaeltenfen.rt@gmail.com>
  • Loading branch information
mergify[bot] and RafilxTenfen authored Oct 4, 2022
1 parent 67ec0bd commit 74e1cac
Showing 1 changed file with 14 additions and 54 deletions.
68 changes: 14 additions & 54 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,66 +124,26 @@ jobs:
go.mod
go.sum
- name: gets umeed bin
if: env.GIT_DIFF
uses: actions/download-artifact@v3
- name: Cache updated version binary
id: cache-binaries
uses: actions/cache@v3
with:
name: umeed-linux-amd64
path: ./build
path: ./cmd/umeed/umeed
key: umeed-linux-amd64

- name: Start single node chain
if: env.GIT_DIFF
- 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: Start single node chain
if: env.GIT_DIFF && steps.cache-binaries.outputs.cache-hit == 'true'
run: |
./contrib/scripts/single-node.sh
- name: Test Local Network Liveness
if: env.GIT_DIFF
if: env.GIT_DIFF && steps.cache-binaries.outputs.cache-hit == 'true'
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: gets umeed bin
if: env.GIT_DIFF
uses: actions/download-artifact@v3
with:
name: umeed-linux-amd64
path: ./build

- 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
run: |
chmod +x ./build/umeed
./contrib/scripts/umeemainnet_fork.sh

0 comments on commit 74e1cac

Please sign in to comment.