From 5f4002828765a3fb964ccd113158f2cdc4bc8020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Sun, 14 Mar 2021 12:57:23 +0100 Subject: [PATCH] MAINT: minor ci improvement --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d367ba..fefc400 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -78,11 +78,16 @@ stages: # containers. These volumes are intended to be used for testing server-side scripting and # file-system features. # -services: - - docker:20.10.3-dind test: tags: [docker] + services: + - docker:20.10.3-dind + variables: + # This is a workaround for the gitlab-runner health check mechanism when + # using docker-dind service. The runner will otherwise guess the port + # wrong and the health check will timeout. + SERVICE_PORT_2376_TCP_PORT: 2375 stage: test image: $CI_REGISTRY_IMAGE_BASE needs: ["cert"] -- GitLab