1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-25 01:22:28 +00:00

Configured runner to mount socket

This commit is contained in:
J. Fernando Sánchez 2017-02-13 18:29:38 +01:00
parent 5371c83ab0
commit 39d86a2050

View File

@ -1,13 +1,12 @@
image: docker:latest image: docker:latest
services:
- docker:dind
# When using dind, it's wise to use the overlayfs driver for # When using dind, it's wise to use the overlayfs driver for
# improved performance. # improved performance.
variables: variables:
DOCKER_DRIVER: overlay DOCKER_DRIVER: overlay
IMAGE_NAME: $REGISTRY_IMAGE:$CI_BUILD_TAG
DOCKERFILE: Dockerfile
stages: stages:
- test - test
@ -43,9 +42,6 @@ test-2.7:
.image: &image_definition .image: &image_definition
stage: release stage: release
variables:
IMAGE_NAME: $REGISTRY_IMAGE:$CI_BUILD_TAG
DOCKERFILE: Dockerfile
before_script: before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
script: script:
@ -70,4 +66,4 @@ image-2.7:
<<: *image_definition <<: *image_definition
variables: variables:
IMAGE_NAME: "$REGISTRY_IMAGE:$CI_BUILD_TAG-python2.7" IMAGE_NAME: "$REGISTRY_IMAGE:$CI_BUILD_TAG-python2.7"
DOCKERFILE: Dockerfile-2.7 DOCKERFILE: Dockerfile-2.7