-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* commented upgrade CI since it is not needed anymore, v3 is there o/ * removed ci upgrade test
- Loading branch information
1 parent
77fa5a6
commit f805484
Showing
1 changed file
with
1 addition
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 |