mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
CI: remove build-time quay check
CI will fail if quay is down, but a build-time check does not help us in any way. It just introduces another pain point where we have to hit the Rerun button. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -94,26 +94,3 @@ cat ${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/required_host_ports.txt | \
|
||||
err_retry 9 1000 1 nc -zv -w 13 $host $port
|
||||
fi
|
||||
done
|
||||
|
||||
# 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
|
||||
# grep -E -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
|
||||
)
|
||||
|
||||
msg "Checking quay.io test image accessibility"
|
||||
for testimg in "${TEST_IMGS[@]}"; do
|
||||
fqin="quay.io/libpod/$testimg"
|
||||
echo " $fqin"
|
||||
# Belt-and-suspenders: Catch skopeo (somehow) returning False or null
|
||||
# in addition to "bad" (invalid) JSON.
|
||||
skopeo inspect --retry-times 5 "docker://$fqin" | jq -e . > /dev/null
|
||||
done
|
||||
|
Reference in New Issue
Block a user