From 7bb9af95ab800224092b50ffd3a690d521836205 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Fri, 3 Mar 2023 23:27:41 +0100 Subject: [PATCH] :robot: Fixup test targets (#1034) We were listing on a dir that now doesn't exist necessarly anymore, and when picking up the iso from latest release, we are selectively pickingone flavor for the upgrade test. Signed-off-by: mudler --- .github/workflows/image.yaml | 2 +- Earthfile | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index 6c55fc89f..e5b1576dd 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -509,7 +509,7 @@ jobs: sudo rm -rfv build || true df -h - run: | - ./earthly.sh +run-qemu-test --PREBUILT_ISO=$(ls *.iso) \ + ./earthly.sh +run-qemu-test --PREBUILT_ISO=$(ls kairos-${{matrix.flavor}}-*.iso) \ --FLAVOR=${{ matrix.flavor }} \ --CONTAINER_IMAGE=ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:8h \ --TEST_SUITE=upgrade-latest-with-cli diff --git a/Earthfile b/Earthfile index f5516b1a4..baf468484 100644 --- a/Earthfile +++ b/Earthfile @@ -638,7 +638,6 @@ run-qemu-test: COPY +iso/kairos.iso kairos.iso ENV ISO=/build/kairos.iso END - RUN pwd && ls -l && ls -l build RUN PATH=$PATH:$GOPATH/bin ginkgo -v --label-filter "$TEST_SUITE" --fail-fast -r ./tests/ ###