From d9335effff11476ad524084de41b9889e9ef89ee Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Sat, 18 Nov 2023 12:04:25 +0100 Subject: [PATCH] Update test to use new artifact names Signed-off-by: Mauro Morales --- .github/workflows/reusable-upgrade-latest-test.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/reusable-upgrade-latest-test.yaml b/.github/workflows/reusable-upgrade-latest-test.yaml index 6504bc9a4..8183bfca3 100644 --- a/.github/workflows/reusable-upgrade-latest-test.yaml +++ b/.github/workflows/reusable-upgrade-latest-test.yaml @@ -57,9 +57,7 @@ jobs: # A flag to set the download target as latest release # The default value is 'false' latest: true - # TODO: v2.4.2 Enable once we have a release with the new naming - # fileName: 'kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}*core-amd64-generic*.iso' - fileName: 'kairos-core-${{ inputs.flavor }}*-amd64-generic*.iso' + fileName: 'kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}*core-amd64-generic*.iso' out-file-path: "" - name: Display structure of downloaded files run: ls -las . @@ -75,9 +73,7 @@ jobs: - run: | # release-downloader globing matches more than one iso. Make sure # we use the right one. - # TODO: v2.4.2 Enable once we have a release with the new naming - # ISO=$(ls kairos-${{ inputs.family }}-${{ inputs.flavor_release }}*core-amd64-generic-v*.iso | grep -v ipxe | head -n 1) - ISO=$(ls kairos-core-${{ inputs.family }}*-amd64-generic-v*.iso | grep -v ipxe | head -n 1) + ISO=$(ls kairos-${{ inputs.family }}-${{ inputs.flavor_release }}*core-amd64-generic-v*.iso | grep -v ipxe | head -n 1) earthly +run-qemu-test --PREBUILT_ISO=$ISO \ --CONTAINER_IMAGE=ttl.sh/kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}-${{ github.sha }}:24h \ --TEST_SUITE=upgrade-latest-with-cli