From 81cc279074c9fb3e3dbadd4b5c921ef121c8bfbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Fri, 22 Nov 2024 11:54:33 +0100 Subject: [PATCH] GH actions: use the latest build of osbuild-ci* containers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will bring the latest image builds with new dependencies for unit tests. In addition, pin down the osbuild-ci-c*s container to a specific tag, to ensure stability of the CI. Signed-off-by: Tomáš Hozza --- .github/workflows/check.yml | 2 +- .github/workflows/generate.yml | 2 +- .github/workflows/test-on-centos.yml | 2 +- .github/workflows/test.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 295fd53e..a831fccc 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -25,7 +25,7 @@ jobs: - name: "Run Linters" uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b with: - image: ghcr.io/osbuild/osbuild-ci:latest-202304251412 + image: ghcr.io/osbuild/osbuild-ci:latest-202411221033 run: | make lint diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 46509185..4bc6de36 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -49,7 +49,7 @@ jobs: - name: "Regenerate Test Data" uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b with: - image: ghcr.io/osbuild/osbuild-ci:latest-202304251412 + image: ghcr.io/osbuild/osbuild-ci:latest-202411221033 run: | make test-data git diff --exit-code -- ./test/data diff --git a/.github/workflows/test-on-centos.yml b/.github/workflows/test-on-centos.yml index 2501f0c9..4ca7f55a 100644 --- a/.github/workflows/test-on-centos.yml +++ b/.github/workflows/test-on-centos.yml @@ -22,7 +22,7 @@ jobs: - name: "Run in container" uses: addnab/docker-run-action@v3 with: - image: quay.io/osbuild/osbuild-ci-c${{ matrix.centos.version }}s + image: quay.io/osbuild/osbuild-ci-c${{ matrix.centos.version }}s:latest-202411221033 options: --privileged -v ${{ github.workspace }}:/osbuild --workdir /osbuild run: | python3 -m pytest \ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2436c6ed..b209e898 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: - name: "Run" uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b with: - image: ghcr.io/osbuild/osbuild-ci:latest-202409171558 + image: ghcr.io/osbuild/osbuild-ci:latest-202411221033 run: | # Hacky replacement of container storage driver: # The default overlayfs doesn't work in the runner, so let's change @@ -69,7 +69,7 @@ jobs: # Using 4 workers is a bit arbitrary, "auto" is probably too aggressive. TEST_WORKERS: "-n 4" with: - image: ghcr.io/osbuild/osbuild-ci:latest-202409171558 + image: ghcr.io/osbuild/osbuild-ci:latest-202411221033 run: | OSBUILD_TEST_STORE="${{ env.OSBUILD_TEST_STORE }}" \ tox -e "py36" -- ${{ env.TEST_WORKERS }} test.run.test_assemblers