Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Disable upgrade ci #1464

Merged
merged 3 commits into from
Oct 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/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