From 09fb2377272b196f6422f85f54ea2c60be474c22 Mon Sep 17 00:00:00 2001 From: Oliver Gutierrez Date: Thu, 5 Aug 2021 13:24:20 +0100 Subject: [PATCH] tests: Changed container image source for busybox Due to docker rate limiting we can not rely in docker.io for retrieving the images. This was detected when executing our tests for podman fedora gating pipeline. Our busybox image was not downloaded and one of the list tests was failing. --- images/test/busybox/Containerfile | 2 ++ images/test/busybox/README.md | 4 ++++ test/system/libs/helpers.bash | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 images/test/busybox/Containerfile create mode 100644 images/test/busybox/README.md diff --git a/images/test/busybox/Containerfile b/images/test/busybox/Containerfile new file mode 100644 index 0000000..684d02b --- /dev/null +++ b/images/test/busybox/Containerfile @@ -0,0 +1,2 @@ +FROM busybox + diff --git a/images/test/busybox/README.md b/images/test/busybox/README.md new file mode 100644 index 0000000..b0a9a52 --- /dev/null +++ b/images/test/busybox/README.md @@ -0,0 +1,4 @@ +This image is just a clone of the base busybox image used for testing purposes. + +The Containerfile is used to build the quay.io/toolbox_tests/busybox image that +is used in the toolbox test suite. diff --git a/test/system/libs/helpers.bash b/test/system/libs/helpers.bash index 0ad7a29..f2d239a 100644 --- a/test/system/libs/helpers.bash +++ b/test/system/libs/helpers.bash @@ -11,7 +11,7 @@ readonly SKOPEO=$(command -v skopeo) readonly IMAGE_CACHE_DIR="${BATS_RUN_TMPDIR}/image-cache" # Images -declare -Ag IMAGES=([busybox]="docker.io/library/busybox" \ +declare -Ag IMAGES=([busybox]="quay.io/toolbox_tests/busybox" \ [fedora]="registry.fedoraproject.org/fedora-toolbox" \ [rhel]="registry.access.redhat.com/ubi8")