Cirrus: Confirm networking is working

Thanks to @edsantiago for suggestion to use nc

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich
2019-05-16 15:31:44 -04:00
parent 41c4721b0b
commit 0f31c6bdc4
2 changed files with 7 additions and 0 deletions

View File

@ -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}'

View File

@ -0,0 +1,4 @@
github.com 22
docker.io 443
quay.io 443
registry.fedoraproject.org 443