From 18b378dbb45700b1e82416ef917f5790a0afdae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 10 Oct 2023 12:29:36 +0200 Subject: [PATCH] payload-after-push: Bypass cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We're facing errors in the operator CI, which are related to the measured rootfs. For now, let's skip the cache builds (as those were dropped anyways for this branch) and ensure we do a clean build, and then check if the problem persists. Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/cc-payload-after-push-amd64.yaml | 4 ++-- .github/workflows/cc-payload-after-push-s390x.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cc-payload-after-push-amd64.yaml b/.github/workflows/cc-payload-after-push-amd64.yaml index d68aef7ab5..7159359dbd 100644 --- a/.github/workflows/cc-payload-after-push-amd64.yaml +++ b/.github/workflows/cc-payload-after-push-amd64.yaml @@ -47,7 +47,7 @@ jobs: fetch-depth: 0 # This is needed in order to keep the commit ids history - name: Build ${{ matrix.asset }} run: | - make "${KATA_ASSET}-tarball" + USE_CACHE="no" make "${KATA_ASSET}-tarball" build_dir=$(readlink -f build) # store-artifact does not work with symlink sudo cp -r "${build_dir}" "kata-build" @@ -108,7 +108,7 @@ jobs: - name: Build cc-shim-v2 run: | - make cc-shim-v2-tarball + USE_CACHE="no" make cc-shim-v2-tarball build_dir=$(readlink -f build) # store-artifact does not work with symlink sudo cp -r "${build_dir}" "kata-build" diff --git a/.github/workflows/cc-payload-after-push-s390x.yaml b/.github/workflows/cc-payload-after-push-s390x.yaml index 835fa15b96..f6af37366b 100644 --- a/.github/workflows/cc-payload-after-push-s390x.yaml +++ b/.github/workflows/cc-payload-after-push-s390x.yaml @@ -40,7 +40,7 @@ jobs: - name: Build ${{ matrix.asset }} run: | - make "${KATA_ASSET}-tarball" + USE_CACHE="no" make "${KATA_ASSET}-tarball" build_dir=$(readlink -f build) # store-artifact does not work with symlink sudo cp -r "${build_dir}" "kata-build" @@ -92,7 +92,7 @@ jobs: - name: Build cc-shim-v2 run: | - make cc-shim-v2-tarball + USE_CACHE="no" make cc-shim-v2-tarball build_dir=$(readlink -f build) # store-artifact does not work with symlink sudo cp -r "${build_dir}" "kata-build" @@ -138,7 +138,7 @@ jobs: # Skip building dependant artifacts of cc-se-image-tarball # because we already have them from the previous build sed -i 's/\(^cc-se-image-tarball:\).*/\1/g' ${base_dir}/Makefile - make cc-se-image-tarball + USE_CACHE="no" make cc-se-image-tarball build_dir=$(readlink -f build) sudo cp -r "${build_dir}" "kata-build" sudo chown -R $(id -u):$(id -g) "kata-build"