Skip to content

Commit f945e12

Browse files
committed
gha: run operator upgrade test in CI
Set RELEASED_OPERATOR_TAG to v0.1.0 and pass the released operator image to deploy-bink and e2e targets. The upgrade test is skipped when the env vars are empty, so this is a no-op until the test file is added. Assisted-by: AI Signed-off-by: Alice Frosi <afrosi@redhat.com>
1 parent cd10ce5 commit f945e12

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
env:
1111
BINK_COMMIT: e7d4574fdc610a9fd9bd067aff984516ec7c507d
12+
RELEASED_OPERATOR_TAG: v0.1.0
1213

1314
permissions: {}
1415

@@ -196,13 +197,17 @@ jobs:
196197
run: make start-bink
197198

198199
- name: Deploy to bink cluster
200+
env:
201+
RELEASED_OPERATOR_IMG: ghcr.io/${{ github.repository }}:${{ env.RELEASED_OPERATOR_TAG }}
199202
run: make deploy-bink
200203

201204
- name: Gather deploy logs
202205
if: failure()
203206
run: make gather-bink
204207

205208
- name: Run e2e tests
209+
env:
210+
RELEASED_OPERATOR_IMG: ghcr.io/${{ github.repository }}:${{ env.RELEASED_OPERATOR_TAG }}
206211
run: make e2e V=1
207212

208213
- name: Upload logs

0 commit comments

Comments
 (0)