ci: set toImage argument in e2e-test-release (#1722)

This commit is contained in:
Otto Bittner 2023-05-16 08:54:12 +02:00 committed by GitHub
parent f30e0c9bdd
commit 2dc105224d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,7 +222,18 @@ jobs:
with: with:
artifactNameSuffix: ${{ steps.e2e_test.outputs.namePrefix }} artifactNameSuffix: ${{ steps.e2e_test.outputs.namePrefix }}
determine-version:
runs-on: ubuntu-22.04
outputs:
targetVersion: ${{ steps.determine-version.outputs.targetVersion }}
steps:
- name: Determine version
id: determine-version
shell: bash
run: echo "targetVersion=$(cat version.txt)" | tee -a "$GITHUB_OUTPUT"
e2e-upgrade: e2e-upgrade:
needs: determine-version
strategy: strategy:
fail-fast: false fail-fast: false
max-parallel: 1 max-parallel: 1
@ -239,6 +250,7 @@ jobs:
uses: ./.github/workflows/e2e-upgrade.yml uses: ./.github/workflows/e2e-upgrade.yml
with: with:
fromVersion: ${{ matrix.fromVersion }} fromVersion: ${{ matrix.fromVersion }}
toImage: ${{ needs.determine-version.outputs.targetVersion }}
cloudProvider: ${{ matrix.cloudProvider }} cloudProvider: ${{ matrix.cloudProvider }}
workerNodesCount: 2 workerNodesCount: 2
controlNodesCount: 3 controlNodesCount: 3