summaryrefslogtreecommitdiff
path: root/contrib/cirrus/ext_svc_check.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-05-26 14:13:20 -0400
committerGitHub <noreply@github.com>2022-05-26 14:13:20 -0400
commit2ce31caa1c24406c7d890d43493101b61b11eabe (patch)
treee2a4889129d919923967c494e78a1b0fbb17109f /contrib/cirrus/ext_svc_check.sh
parentbf403c8d3f6e7ef0d24a394506d0665fec15a592 (diff)
parent8c1128db4b43685a51634262cc8945a16297b898 (diff)
downloadpodman-2ce31caa1c24406c7d890d43493101b61b11eabe.tar.gz
podman-2ce31caa1c24406c7d890d43493101b61b11eabe.tar.bz2
podman-2ce31caa1c24406c7d890d43493101b61b11eabe.zip
Merge pull request #14381 from cevich/fix_cirrus_todo
[CI:DOCS] Cirrus: Fix several TODOs
Diffstat (limited to 'contrib/cirrus/ext_svc_check.sh')
-rwxr-xr-xcontrib/cirrus/ext_svc_check.sh21
1 files changed, 19 insertions, 2 deletions
diff --git a/contrib/cirrus/ext_svc_check.sh b/contrib/cirrus/ext_svc_check.sh
index 92ac4e93a..146919c39 100755
--- a/contrib/cirrus/ext_svc_check.sh
+++ b/contrib/cirrus/ext_svc_check.sh
@@ -25,6 +25,23 @@ cat ${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/required_host_ports.txt | \
fi
done
-# TODO: Pull images required during testing into /dev/null
+# Verify we can pull metadata from a few key testing images on quay.io
+# in the 'libpod' namespace. This is mostly aimed at validating the
+# quay.io service is up and responsive. Images were hand-picked with
+# egrep -ro 'quay.io/libpod/.+:latest' test | sort -u
+TEST_IMGS=(\
+ alpine:latest
+ busybox:latest
+ alpine_labels:latest
+ alpine_nginx:latest
+ alpine_healthcheck:latest
+ badhealthcheck:latest
+ cirros:latest
+)
-# TODO: Refresh DNF package-cache into /dev/null
+echo "Checking quay.io test image accessibility"
+for testimg in "${TEST_IMGS[@]}"; do
+ fqin="quay.io/libpod/$testimg"
+ echo " $fqin"
+ skopeo inspect --retry-times 5 "docker://$fqin" | jq . > /dev/null
+done