Skip to content

Commit e4325f7

Browse files
authored
chore: fix release e2e (#391)
* update release * update release * update release * remove random characters * Update Makefile
1 parent 8cfef2e commit e4325f7

File tree

3 files changed

+24
-14
lines changed

3 files changed

+24
-14
lines changed

.github/workflows/e2e-testing.yaml

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: tj-actions/branch-names@v7
3838

3939
- name: Build Docker image
40-
uses: strangelove-ventures/heighliner-build-action@v0.0.3
40+
uses: strangelove-ventures/heighliner-build-action@v1.0.3
4141
with:
4242
registry: # empty registry, image only shared for e2e testing
4343
tag: local # emulate local environment for consistency in interchaintest cases
@@ -79,16 +79,16 @@ jobs:
7979
needs: build-docker
8080
runs-on: ubuntu-latest
8181
strategy:
82-
matrix:
83-
# names of `make` commands to run tests
84-
test:
85-
- "ictest-upgrade"
86-
- "ictest-ibc"
87-
- "ictest-ibchooks"
88-
- "ictest-pfm"
89-
- "ictest-lsm"
90-
- "ictest-liquidstake"
91-
fail-fast: false
82+
matrix:
83+
# names of `make` commands to run tests
84+
test:
85+
- "ictest-upgrade"
86+
- "ictest-ibc"
87+
- "ictest-ibchooks"
88+
- "ictest-pfm"
89+
- "ictest-lsm"
90+
- "ictest-liquidstake"
91+
fail-fast: false
9292

9393
steps:
9494
# Load the docker image tarball from github actions artifacts and run tests (one runner per test due to matrix)
@@ -99,7 +99,17 @@ jobs:
9999

100100
- name: Load Docker Image
101101
run: docker image load -i ${{ env.TAR_PATH }}
102-
102+
- name: Tag loaded Docker image
103+
run: |
104+
set -e
105+
IMAGE_ID=$(docker images persistence --format '{{.Repository}}:{{.Tag}} {{.ID}}' | grep '^persistence:' | awk '{print $2}' | head -n 1)
106+
if [ -z "$IMAGE_ID" ]; then
107+
echo "Could not find any image tagged with repository 'persistence'"
108+
docker images
109+
exit 1
110+
fi
111+
echo "Found image ID: $IMAGE_ID — tagging as persistence:local"
112+
docker tag "$IMAGE_ID" persistence:local
103113
- name: Setup Go with cache
104114
uses: magnetikonline/action-golang-cache@v4
105115
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
uses: tj-actions/branch-names@v7
5252

5353
- name: Build and push Docker image
54-
uses: strangelove-ventures/[email protected].0
54+
uses: strangelove-ventures/[email protected].3
5555
with:
5656
platform: linux/arm64,linux/amd64
5757
git-ref: ${{ steps.branch-name.outputs.current_branch }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ release-git:
242242

243243
get-heighliner:
244244
git clone https://github.com/strangelove-ventures/heighliner.git
245-
cd heighliner && git checkout v1.7.3 && go install
245+
cd heighliner && git checkout v1.7.4 && go install
246246

247247
local-image:
248248
ifeq (,$(shell which heighliner))

0 commit comments

Comments
 (0)