Skip to content
Snippets Groups Projects
Commit be17c720 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Merge branch 'fix_ci' into 'dev'

fix gitlab ci by setting docker versions

See merge request caosdb/caosdb-mysqlbackend!2
parents 493510df 5c496d5e
No related branches found
No related tags found
No related merge requests found
# #
# ** header v3.0
# This file is a part of the CaosDB Project. # This file is a part of the CaosDB Project.
# #
# Copyright (C) 2018 Research Group Biomedical Physics, # Copyright (C) 2018 Research Group Biomedical Physics,
...@@ -19,26 +18,22 @@ ...@@ -19,26 +18,22 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
# #
# ** end header
#
variables: variables:
CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb-mysqlbackend-testenv:latest CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb-mysqlbackend-testenv:latest
# With dind the docker deamon is available on the network
DOCKER_HOST: tcp://docker:2375/
# 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.
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
services: services:
- docker:dind - docker:19.03-dind
image: $CI_REGISTRY_IMAGE image: $CI_REGISTRY_IMAGE
stages: stages:
- setup - setup
- deploy - deploy
# Trigger integration tests # Trigger building of server image and integration tests
trigger_build: trigger_build:
tags: [ docker ] tags: [ docker ]
stage: deploy stage: deploy
...@@ -53,7 +48,7 @@ trigger_build: ...@@ -53,7 +48,7 @@ trigger_build:
# Build a docker image in which tests for this repository can run # Build a docker image in which tests for this repository can run
build-testenv: build-testenv:
tags: [ docker ] tags: [ docker ]
image: docker:latest image: docker:19.03
stage: setup stage: setup
script: script:
- cd .docker - cd .docker
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment