summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-17 21:38:14 +0200
committerGitHub <noreply@github.com>2019-05-17 21:38:14 +0200
commitba612a098c65f11730e8436cdebe86d3b979ddf4 (patch)
tree2507b1057d0159663f12880b4323e5bd6afd3798
parent144244aeed673957692bc6cf36c933e4b2d93a80 (diff)
parent0f31c6bdc41656e5c7d0cdafcf91973c5baea47d (diff)
downloadpodman-ba612a098c65f11730e8436cdebe86d3b979ddf4.tar.gz
podman-ba612a098c65f11730e8436cdebe86d3b979ddf4.tar.bz2
podman-ba612a098c65f11730e8436cdebe86d3b979ddf4.zip
Merge pull request #3142 from cevich/confirm_networking
Cirrus: Confirm networking is working
-rw-r--r--.cirrus.yml3
-rw-r--r--contrib/cirrus/required_host_ports.txt4
2 files changed, 7 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index d26c1ec11..fe09ea988 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -123,6 +123,9 @@ gating_task:
timeout_in: 20m
+ networking_script: # Don't bother going further if something is down
+ - 'while read host port; do nc -zv -w 13 $host $port || exit 1; done < ${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/required_host_ports.txt'
+
gate_script:
# N/B: entrypoint.sh resets $GOSRC (same as make clean)
- '/usr/local/bin/entrypoint.sh install.tools |& ${TIMESTAMP}'
diff --git a/contrib/cirrus/required_host_ports.txt b/contrib/cirrus/required_host_ports.txt
new file mode 100644
index 000000000..9248e497a
--- /dev/null
+++ b/contrib/cirrus/required_host_ports.txt
@@ -0,0 +1,4 @@
+github.com 22
+docker.io 443
+quay.io 443
+registry.fedoraproject.org 443