From 024cc6e9cb08eda68092944d2909b7a53bc4dc77 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 20 Jan 2025 16:21:47 -0500 Subject: [PATCH] test Signed-off-by: Colin Walters --- .github/workflows/ci.yaml | 13 ++++++++++++ tests/build-chunked-oci/Containerfile | 30 +++++++++++++++++++++++++++ tests/build-chunked-oci/test.sh | 0 3 files changed, 43 insertions(+) create mode 100644 tests/build-chunked-oci/Containerfile create mode 100644 tests/build-chunked-oci/test.sh diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2c431e15a2..1fa27efd47 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -216,6 +216,19 @@ 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: Integration tests + run: cd tests/build-chunked-oci && tar -xzvf ../../install.tar && 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 b/tests/build-chunked-oci/Containerfile new file mode 100644 index 0000000000..f62c1277e5 --- /dev/null +++ b/tests/build-chunked-oci/Containerfile @@ -0,0 +1,30 @@ +FROM quay.io/fedora/fedora-bootc:41 as rootfs +RUN <