From 0294acdde96aadbbc4268f30127bb5b28cc4bd81 Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Tue, 27 Jun 2023 11:35:09 +0200 Subject: [PATCH] :robot: Increase test images livespan to 24h (#1558) Increase test images livespan to 24h Signed-off-by: Mauro Morales --- .github/workflows/image.yaml | 8 ++++---- Earthfile | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index fae43b40c..9c780bef2 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -145,8 +145,8 @@ jobs: cosign attest --type spdx --predicate $spdx $image_ref - name: Push to testing run: | - docker tag quay.io/kairos/core-${{ matrix.flavor }}:latest ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:8h - docker push ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:8h + docker tag quay.io/kairos/core-${{ matrix.flavor }}:latest ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:24h + docker push ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:24h build-framework: if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} needs: @@ -466,7 +466,7 @@ jobs: - run: | earthly +run-qemu-test --PREBUILT_ISO=$(ls *.iso) \ --FLAVOR=${{ matrix.flavor }} \ - --CONTAINER_IMAGE=ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:8h \ + --CONTAINER_IMAGE=ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:24h \ --TEST_SUITE=upgrade-with-cli - uses: actions/upload-artifact@v3 if: failure() @@ -538,7 +538,7 @@ jobs: - run: | earthly +run-qemu-test --PREBUILT_ISO=$(ls kairos-${{matrix.flavor}}-*.iso) \ --FLAVOR=${{ matrix.flavor }} \ - --CONTAINER_IMAGE=ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:8h \ + --CONTAINER_IMAGE=ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:24h \ --TEST_SUITE=upgrade-latest-with-cli - uses: actions/upload-artifact@v3 if: failure() diff --git a/Earthfile b/Earthfile index 78e742ce8..b6ca39e5c 100644 --- a/Earthfile +++ b/Earthfile @@ -867,13 +867,13 @@ pull-build-artifacts: COPY +uuidgen/UUIDGEN ./ COPY +version/VERSION ./ ARG UUIDGEN=$(cat UUIDGEN) - ARG BUNDLE_IMAGE=ttl.sh/$UUIDGEN:8h + ARG BUNDLE_IMAGE=ttl.sh/$UUIDGEN:24h COPY +luet/luet /usr/bin/luet RUN luet util unpack $BUNDLE_IMAGE build SAVE ARTIFACT build AS LOCAL build -## Push build artifacts as BUNDLE_IMAGE (expected arg, common is to use ttl.sh/$(uuidgen):8h) +## Push build artifacts as BUNDLE_IMAGE (expected arg, common is to use ttl.sh/$(uuidgen):24h) push-build-artifacts: ARG OSBUILDER_IMAGE FROM $OSBUILDER_IMAGE @@ -881,7 +881,7 @@ push-build-artifacts: COPY +uuidgen/UUIDGEN ./ COPY +version/VERSION ./ ARG UUIDGEN=$(cat UUIDGEN) - ARG BUNDLE_IMAGE=ttl.sh/$UUIDGEN:8h + ARG BUNDLE_IMAGE=ttl.sh/$UUIDGEN:24h COPY . . COPY +luet/luet /usr/bin/luet @@ -902,7 +902,7 @@ prepare-bundles-tests: COPY +uuidgen/UUIDGEN ./ COPY +version/VERSION ./ ARG UUIDGEN=$(cat UUIDGEN) - ARG BUNDLE_IMAGE=ttl.sh/$UUIDGEN:8h + ARG BUNDLE_IMAGE=ttl.sh/$UUIDGEN:24h # BUILD +examples-bundle --BUNDLE_IMAGE=$BUNDLE_IMAGE ARG VERSION=$(cat VERSION) RUN echo "version ${VERSION}"