summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-05-16 15:31:44 -0400
committerChris Evich <cevich@redhat.com>2019-05-17 13:25:59 -0400
commit0f31c6bdc41656e5c7d0cdafcf91973c5baea47d (patch)
tree6e391ababe47cc672ef8e132aa5a57b1a2a73a64 /.cirrus.yml
parent41c4721b0b06e213e01713aa491fe877befbe077 (diff)
downloadpodman-0f31c6bdc41656e5c7d0cdafcf91973c5baea47d.tar.gz
podman-0f31c6bdc41656e5c7d0cdafcf91973c5baea47d.tar.bz2
podman-0f31c6bdc41656e5c7d0cdafcf91973c5baea47d.zip
Cirrus: Confirm networking is working
Thanks to @edsantiago for suggestion to use nc Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml3
1 files changed, 3 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}'