@@ -276,19 +276,19 @@ jobs:
276276 USES_DEV_BUCKET : " 0"
277277 run : |
278278 # re-promote a release containing an old version of embedded-cluster to test upgrades
279- export APP_VERSION="appver-${{ needs.get-tag.outputs.tag-name }}-1.8.0-k8s-1.28"
279+ export APP_VERSION="appver-${{ github.ref_name }}-1.8.0-k8s-1.28"
280280 replicated release promote 11615 2cHXb1RCttzpR0xvnNWyaZCgDBP --version "${APP_VERSION}"
281281 replicated release promote 11615 2eAqMYG1IEtX8cwpaO1kgNV6EB3 --version "${APP_VERSION}"
282282
283283 # install the current k0s version
284- export EC_VERSION="${{ needs.get-tag.outputs.tag-name }}"
285- export APP_VERSION="appver-${{ needs.get-tag.outputs.tag-name }}"
284+ export EC_VERSION="${{ github.ref_name }}"
285+ export APP_VERSION="appver-${{ github.ref_name }}"
286286 export RELEASE_YAML_DIR=e2e/kots-release-install
287287 ./scripts/ci-release-app.sh
288288
289289 # and finally an app upgrade
290- export EC_VERSION="${{ needs.get-tag.outputs.tag-name }}"
291- export APP_VERSION="appver-${{ needs.get-tag.outputs.tag-name }}-upgrade"
290+ export EC_VERSION="${{ github.ref_name }}"
291+ export APP_VERSION="appver-${{ github.ref_name }}-upgrade"
292292 export RELEASE_YAML_DIR=e2e/kots-release-upgrade
293293 ./scripts/ci-release-app.sh
294294 - name : Create airgap releases
@@ -301,22 +301,22 @@ jobs:
301301 run : |
302302 # promote a release containing the previous stable version of embedded-cluster to test upgrades
303303 export EC_VERSION="${{ needs.find-previous-stable.outputs.ec_version }}"
304- export APP_VERSION="appver-${{ needs.get-tag.outputs.tag-name }}-previous-stable"
304+ export APP_VERSION="appver-${{ github.ref_name }}-previous-stable"
305305 export RELEASE_YAML_DIR=e2e/kots-release-install-stable
306306 ./scripts/ci-release-app.sh
307307 # promote a release with the current k0s version, but call it the previous version to test noop upgrades
308- export EC_VERSION="${{ needs.get-tag.outputs.tag-name }}"
309- export APP_VERSION="appver-${{ needs.get-tag.outputs.tag-name }}-previous-k0s"
308+ export EC_VERSION="${{ github.ref_name }}"
309+ export APP_VERSION="appver-${{ github.ref_name }}-previous-k0s"
310310 export RELEASE_YAML_DIR=e2e/kots-release-install
311311 ./scripts/ci-release-app.sh
312312 # promote a release with the current k0s version
313- export EC_VERSION="${{ needs.get-tag.outputs.tag-name }}"
314- export APP_VERSION="appver-${{ needs.get-tag.outputs.tag-name }}"
313+ export EC_VERSION="${{ github.ref_name }}"
314+ export APP_VERSION="appver-${{ github.ref_name }}"
315315 export RELEASE_YAML_DIR=e2e/kots-release-install
316316 ./scripts/ci-release-app.sh
317317 # and finally an app upgrade
318- export EC_VERSION="${{ needs.get-tag.outputs.tag-name }}"
319- export APP_VERSION="appver-${{ needs.get-tag.outputs.tag-name }}-upgrade"
318+ export EC_VERSION="${{ github.ref_name }}"
319+ export APP_VERSION="appver-${{ github.ref_name }}-upgrade"
320320 export RELEASE_YAML_DIR=e2e/kots-release-upgrade
321321 ./scripts/ci-release-app.sh
322322
@@ -331,7 +331,7 @@ jobs:
331331 env :
332332 LICENSE_ID : ${{ secrets.STAGING_EMBEDDED_CLUSTER_LICENSE_ID }}
333333 run : |
334- export APP_VERSION="appver-${{ needs.get-tag.outputs.tag-name }}"
334+ export APP_VERSION="appver-${{ github.ref_name }}"
335335 curl -L "https://ec-e2e-replicated-app.testcluster.net/embedded/embedded-cluster-smoke-test-staging-app/ci/${APP_VERSION}" -H "Authorization: $LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz
336336 tar -xzf embedded-cluster-smoke-test-staging-app-ci.tgz
337337 mv embedded-cluster-smoke-test-staging-app embedded-cluster
@@ -393,12 +393,12 @@ jobs:
393393 license : ${{ secrets.STAGING_EMBEDDED_CLUSTER_LICENSE }}
394394 dr-aws-access-key-id : ${{ secrets.TESTIM_AWS_ACCESS_KEY_ID }}
395395 dr-aws-secret-access-key : ${{ secrets.TESTIM_AWS_SECRET_ACCESS_KEY }}
396- version-specifier : ${{ needs.get-tag.outputs.tag-name }}
396+ version-specifier : ${{ github.ref_name }}
397397
398398 k0s-version : ${{ needs.get-tag.outputs.k0s_version }}
399399 k0s-version-previous : ${{ needs.get-tag.outputs.k0s_version }} # we do not run k8s upgrade tests on release
400400 k0s-version-previous-stable : ${{ needs.find-previous-stable.outputs.k0s_version }}
401- upgrade-target-ec-version : ${{ needs.get-tag.outputs.tag-name }}
401+ upgrade-target-ec-version : ${{ github.ref_name }}
402402
403403 # this job will validate that all the tests passed
404404 validate-release-success :
0 commit comments