fix: test image curl uses ipv4 only

* Despite the command running with --retry-connrefused, connections with ipv6 are not retried because it returns EADDRNOTAVAIL instead of ECONNREFUSED

Reference: https://github.com/appropriate/docker-curl/issues/5
This commit is contained in:
Benoit Ratte 2020-02-20 13:34:35 -05:00 committed by Niclas Mietz
parent 4f0895fa22
commit dcf9e258fe

View File

@ -72,7 +72,7 @@ jobs:
name: Testing image
command: |
docker run --network container:$(docker-compose ps -q gitlab) \
appropriate/curl --retry 15 --retry-delay 5 --retry-connrefused http://localhost/explore
appropriate/curl --ipv4 --retry 15 --retry-delay 5 --retry-connrefused http://localhost/explore
- run:
name: Generate docker build image cache