From ca7e47e7eb129d02ad3add634d9ecae0ba124184 Mon Sep 17 00:00:00 2001 From: Gerrod Ubben Date: Fri, 3 Jan 2025 10:36:14 -0500 Subject: [PATCH] Update container podman build test --- images/s6_assets/pulp_tests.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/images/s6_assets/pulp_tests.sh b/images/s6_assets/pulp_tests.sh index 6395f850..5f7b62ce 100755 --- a/images/s6_assets/pulp_tests.sh +++ b/images/s6_assets/pulp_tests.sh @@ -65,11 +65,10 @@ podman exec -u pulp pulp bash -c "pulpcore-manager add-signing-service --class d # Test buildah for pulp_container's usage podman exec -u pulp pulp podman system migrate -# This is currently not working due to a bug in it, so workaround below -# podman exec -u pulp pulp podman build https://github.com/openshift-examples/web.git -podman exec -u pulp pulp git clone https://github.com/openshift-examples/web.git /tmp/web -podman exec -u pulp pulp git -C /tmp/web checkout 7a5e95bbf7111f32be27b5fc9bc0070f844a03a3 -podman exec -u pulp pulp podman build /tmp/web +echo "FROM quay.io/quay/busybox:latest +CMD ['ls', '/']" > /tmp/Containerfile +podman exec -u pulp -i pulp bash -c "cat > /tmp/Containerfile" < /tmp/Containerfile +podman exec -u pulp pulp podman build /tmp # Test skopeo for pulp_container's usage with an image with the nobody uid 65534 # (And the image that pulp_container CI actually tests with)