From a5e2275b1683c896e401f08b08033573e428c765 Mon Sep 17 00:00:00 2001 From: Elisabeth Kulzer Date: Tue, 17 Nov 2020 18:48:26 +0100 Subject: [PATCH] DOPS-243: Fix images (#16296) DOPS-243: Fix images (#16296) Co-authored-by: Mattermod --- .gitlab-ci.yml | 4 ++-- .gitlab-ci/test-schema.yml | 8 ++++---- .gitlab-ci/test.yml | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 326a6920fe..9a12f2253a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ empty: - echo "empty" #lint: -# image: golangci/golangci-lint:v1.31.0 +# image: $CI_REGISTRY/mattermost/ci/images/golangci-lint:v1.31.0-1 # stage: .pre # script: # - GO111MODULE=off GOBIN=$PWD/bin go get -u github.com/mattermost/mattermost-govet @@ -33,7 +33,7 @@ empty: # - if: '$ONLY_BUILD != "yes"' # #layers: -# image: mattermost/mattermost-build-server:20201023_golang-1.14.6 +# image: $CI_REGISTRY/mattermost/ci/images/mattermost-build-server:20201023_golang-1.14.6 # stage: .pre # script: # - make store-layers diff --git a/.gitlab-ci/test-schema.yml b/.gitlab-ci/test-schema.yml index f70f36a69c..8207e8ca96 100644 --- a/.gitlab-ci/test-schema.yml +++ b/.gitlab-ci/test-schema.yml @@ -1,15 +1,15 @@ .test-schema: stage: test - image: mattermost/mattermost-build-docker:20201023_19.03.12 + image: $CI_REGISTRY/mattermost/ci/images/mattermost-build-docker:19.03.12-1 + services: + - name: $CI_REGISTRY/mattermost/ci/images/docker-dind:19.03.12-1 + alias: docker variables: DOCKER_TLS_CERTDIR: "" DOCKER_HOST: tcp://docker:2375/ DOCKER_DRIVER: overlay2 DOCKER_CONTENT_TRUST: 0 DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: "" - services: - - name: docker:19.03.12-dind - alias: dind before_script: - docker ps diff --git a/.gitlab-ci/test.yml b/.gitlab-ci/test.yml index 9fdaca9ad4..e731bd6b6f 100644 --- a/.gitlab-ci/test.yml +++ b/.gitlab-ci/test.yml @@ -1,6 +1,9 @@ .test: stage: test - image: mattermost/mattermost-build-docker:20201023_19.03.12 + image: $CI_REGISTRY/mattermost/ci/images/mattermost-build-docker:19.03.12-1 + services: + - name: $CI_REGISTRY/mattermost/ci/images/docker-dind:19.03.12-1 + alias: docker variables: DOCKER_TLS_CERTDIR: "" DOCKER_HOST: tcp://docker:2375/ @@ -10,9 +13,6 @@ MM_SQLSETTINGS_DATASOURCE: "postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10" MM_SQLSETTINGS_DRIVERNAME: postgres - services: - - name: docker:19.03.12-dind - alias: dind script: - mkdir -p client/plugins - mkdir -p build/test-results