From dfb4c4caa329fad645b03ca761dfc56f4cd81925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jev=20Bj=C3=B6rsell?= Date: Thu, 6 Feb 2020 18:43:24 -0800 Subject: [PATCH] Move CI ENV vars and use a recent docker image When this MR is merged, remove `LIGO_REGISTRY_IMAGE_BASE_NAME` and `LIGO_REGISTRY_IMAGE` from gitlabs CI settings: https://gitlab.com/ligolang/ligo/-/settings/ci_cd This will allow CI builds to run in forked repositories. Use a recent docker/dind image that supports `--cache-from` which will be put to use in later MRs. --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be47c3829..8710225f7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ variables: GIT_SUBMODULE_STRATEGY: recursive build_binary_script: "./scripts/distribution/generic/build.sh" package_binary_script: "./scripts/distribution/generic/package.sh" + LIGO_REGISTRY_IMAGE_BASE_NAME: "${CI_PROJECT_PATH}/${CI_PROJECT_NAME}" stages: - test @@ -75,9 +76,9 @@ dont-merge-to-master: - public .docker: &docker - image: docker:1.11 + image: docker:19 services: - - docker:dind + - docker:19-dind .before_script: &before_script