From d34af06c4a1c57b9ca04083109ffdba9e2341696 Mon Sep 17 00:00:00 2001 From: ansgarz Date: Thu, 9 Dec 2021 12:54:16 +0100 Subject: [PATCH] [skip ci] pin docker version --- .gitlab-ci.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f36a1e4..46c1de4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -154,13 +154,16 @@ backup-image-test-publish: nextcloud-integrationtest: stage: integrationtest - image: docker:latest + image: docker:19.03.12 rules: - if: '$CI_COMMIT_BRANCH == "integration-test-w-o-db-backup"' services: - - docker:dind + - docker:19.03.12-dind +# variables: +# DOCKER_HOST: tcp://172.17.0.1/ before_script: - - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY + #- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY + #- echo -n $CI_REGISTRY_PASSWORD | docker login --username $CI_REGISTRY_USER --password-stdin $CI_REGISTRY - apk add bash #- docker build --pull -t "$CI_REGISTRY_IMAGE" . #- docker run --name "$name" -d --privileged --tmpfs /run --tmpfs /var/run --restart always -e K3S_TOKEN=12345678901234 -e K3S_KUBECONFIG_OUTPUT=./kubeconfig.yaml -e K3S_KUBECONFIG_MODE=666 -v k3s-server:/var/lib/rancher/k3s:z -v $(pwd):/output:z -p 6443:6443 -p 80:80 -p 443:443 rancher/k3s server --cluster-init --tls-san k3stesthost --tls-san cloudhost @@ -169,7 +172,7 @@ nextcloud-integrationtest: #- docker inspect -f '{{.State.Running}}' c4k_test script: - echo "---------- Integration test -------------" - - ls -l - - pwd - - bash ./src/test/resources/local-integration-test/setup-docker.sh - \ No newline at end of file +# - ls -l +# - pwd +# - bash ./src/test/resources/local-integration-test/setup-docker.sh +# \ No newline at end of file