From 6369b86dbab294ef6f37b7b27f3a09a425b3eb31 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Sun, 6 Sep 2020 21:37:29 +0000 Subject: [PATCH] Update CI for nomad-based gitlab runners --- .gitlab-ci.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65726e8..ccb870e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,26 +1,9 @@ -# This file is a template, and might need editing before it works on your project. -# Official docker image. -image: docker:latest +image: docker:dind variables: - # When using dind service we need to instruct docker, to talk with the - # daemon started inside of the service. The daemon is available with - # a network connection instead of the default /var/run/docker.sock socket. - # - # Note that if you're using Kubernetes executor, the variable should be set to - # tcp://localhost:2375 because of how Kubernetes executor connects services - # to the job container - DOCKER_HOST: tcp://localhost:2375/ - # When using dind, it's wise to use the overlayfs driver for - # improved performance. - DOCKER_DRIVER: overlay2 - CONTAINER_TEST_IMAGE: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" CONTAINER_RELEASE_IMAGE: "$CI_REGISTRY_IMAGE:latest" -services: - - docker:dind - stages: - build - release