-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Replacing v5.0.0 upgrade handler with v5.0.2 (#499)
* bumping up upgrade handler version * bump interchanintest + run it on release branches too * Update CHANGELOG.md * hardcode which image tag to use * 🙏
- Loading branch information
Showing
5 changed files
with
24 additions
and
25 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 |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
pull_request: | ||
branches: | ||
- main | ||
- 'releases/**' | ||
|
||
jobs: | ||
build_images: | ||
|
@@ -16,10 +17,6 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Get last release tag | ||
id: lastrelease | ||
uses: revam/gh-action-get-tag-and-version@v1 | ||
|
||
- name: Checkout heighliner | ||
uses: actions/checkout@v3 | ||
with: | ||
|
@@ -47,14 +44,14 @@ jobs: | |
image: archway:local | ||
retention_days: 3 | ||
|
||
- name: Build ${{ steps.lastrelease.outputs.tag }} image | ||
- name: Build v4.0.2 image | ||
run: | | ||
heighliner build --org archway-network --repo archway --dockerfile cosmos --build-target "make build" --build-env "BUILD_TAGS=muslc" --binaries "build/archwayd" --git-ref ${{ steps.lastrelease.outputs.tag }} --chain archway --tag ${{ steps.lastrelease.outputs.tag }} | ||
heighliner build --org archway-network --repo archway --dockerfile cosmos --build-target "make build" --build-env "BUILD_TAGS=muslc" --binaries "build/archwayd" --git-ref v4.0.2 --chain archway --tag v4.0.2 | ||
- name: Upload ${{ steps.lastrelease.outputs.tag }} image | ||
- name: Upload v4.0.2 image | ||
uses: ishworkh/[email protected] | ||
with: | ||
image: archway:${{ steps.lastrelease.outputs.tag }} | ||
image: archway:v4.0.2 | ||
retention_days: 3 | ||
|
||
run_chain_upgrade_test: | ||
|
@@ -85,17 +82,13 @@ jobs: | |
- name: Load current image | ||
run: docker load --input archway_local | ||
|
||
- name: Get last release tag | ||
id: lastrelease | ||
uses: revam/gh-action-get-tag-and-version@v1 | ||
|
||
- name: Download ${{ steps.lastrelease.outputs.tag }} image | ||
- name: Download v4.0.2 image | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: action_image_artifact_archway_${{ steps.lastrelease.outputs.tag }} | ||
name: action_image_artifact_archway_v4.0.2 | ||
|
||
- name: Load ${{ steps.lastrelease.outputs.tag }} image | ||
run: docker load --input archway_${{ steps.lastrelease.outputs.tag }} | ||
- name: Load v4.0.2 image | ||
run: docker load --input archway_v4.0.2 | ||
|
||
- name: Run chain upgrade test | ||
run: | | ||
|
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
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
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
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