Skip to content

Commit

Permalink
Update test to use new artifact names
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <[email protected]>
  • Loading branch information
mauromorales committed Nov 18, 2023
1 parent df6abab commit d9335ef
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/reusable-upgrade-latest-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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
Expand Down

0 comments on commit d9335ef

Please sign in to comment.