From d944df368490f103ef119b6551b93e51cfec9e63 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 20 Jan 2025 16:21:47 -0500 Subject: [PATCH] test --- .github/workflows/ci.yaml | 15 ++++++++++ .../Containerfile.build-chunked-oci | 30 +++++++++++++++++++ tests/build-chunked-oci/test.sh | 0 3 files changed, 45 insertions(+) create mode 100644 tests/build-chunked-oci/Containerfile.build-chunked-oci create mode 100644 tests/build-chunked-oci/test.sh diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2c431e15a2..fa4e82cd6d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -216,6 +216,21 @@ jobs: run: tar -C / -xzvf install.tar - name: Integration tests run: env TMPDIR=/var/tmp ./tests/encapsulate.sh + test-build-chunked-oci: + name: "experimental build-chunked-oci tests" + needs: build-c9s + runs-on: ubuntu-24.04 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Download build + uses: actions/download-artifact@v4.1.7 + with: + name: install-c9s.tar + - name: Install + run: tar -xzvf install-c9s.tar + - name: Integration tests + run: cd tests/build-chunked-oci && podman build -v $(pwd)/usr/bin:/ci -t localhost/test . build-c9s: name: "Build (c9s)" runs-on: ubuntu-latest diff --git a/tests/build-chunked-oci/Containerfile.build-chunked-oci b/tests/build-chunked-oci/Containerfile.build-chunked-oci new file mode 100644 index 0000000000..bfc1be4782 --- /dev/null +++ b/tests/build-chunked-oci/Containerfile.build-chunked-oci @@ -0,0 +1,30 @@ +FROM quay.io/fedora/fedora-bootc:41 as rootfs +RUN <