From dcf9e258fe4c5152a1a445ef39cdef0f6e439343 Mon Sep 17 00:00:00 2001 From: Benoit Ratte Date: Thu, 20 Feb 2020 13:34:35 -0500 Subject: [PATCH] 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 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f8fef58e..e7a54235 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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