diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2020-07-28 12:26:28 +0200 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2020-08-11 08:11:09 +0000 |
commit | 1c07f17f9a5313b364a662edfbeca8a2857c24a2 (patch) | |
tree | 791afc8e20a464a0c362965e873a27d4a4a4f928 | |
parent | ae01de893d940cc061ebe5336c65236ddcd401f7 (diff) | |
download | buildstream-tcanabrava/cache-server-test.tar.gz |
Use a template for docker-variablestcanabrava/cache-server-test
-rw-r--r-- | .gitlab-ci.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 58a6ed3c3..55a740ccb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -184,14 +184,17 @@ tests-fedora-update-deps: services: - docker:stable-dind +.docker-variables-boilerplate: &docker-variables + DOCKER_HOST: tcp://docker:2375 + DOCKER_DRIVER: overlay2 + # Required to be able to connect to the docker daemon. See https://gitlab.com/gitlab-org/gitlab-runner/issues/4501 + DOCKER_TLS_CERTDIR: "" + tests-remote-execution: <<: *tests <<: *remote-test variables: - DOCKER_HOST: tcp://docker:2375 - DOCKER_DRIVER: overlay2 - # Required to be able to connect to the docker daemon. See https://gitlab.com/gitlab-org/gitlab-runner/issues/4501 - DOCKER_TLS_CERTDIR: "" + <<: *docker-variables COMPOSE_MANIFEST: .gitlab-ci/buildgrid-remote-execution.yml ARTIFACT_CACHE_SERVICE: http://docker:50052 REMOTE_EXECUTION_SERVICE: http://docker:50051 @@ -202,10 +205,7 @@ tests-remote-cache: <<: *tests <<: *remote-test variables: - DOCKER_HOST: tcp://docker:2375 - DOCKER_DRIVER: overlay2 - # Required to be able to connect to the docker daemon. See https://gitlab.com/gitlab-org/gitlab-runner/issues/4501 - DOCKER_TLS_CERTDIR: "" + <<: *docker-variables COMPOSE_MANIFEST: .gitlab-ci/cache-server.yml ARTIFACT_CACHE_SERVICE: http://docker:50052 PYTEST_ARGS: "--color=yes --remote-cache" |