summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Rüth <julian.rueth@fsfe.org>2018-02-26 18:50:20 +0100
committerJulian Rüth <julian.rueth@fsfe.org>2018-02-26 18:50:20 +0100
commitcd951b82acb8e9b2245a43cc319c8fe7038a749b (patch)
treed35846caa749fed5611a500394c873e7a664347a
parentAllow user to override ARTIFACT_BASE on CircleCI (diff)
Allow overriding of ARTIFACT_BASE
but still use source-clean on develop build
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 38241e6..f5848e8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,7 +26,7 @@ variables:
DOCKER_TAG: $CI_COMMIT_REF_SLUG
# Builds are very I/O intensive; make sure we have a fast file system.
DOCKER_DRIVER: overlay2
- ARTIFACT_BASE: sagemath/sagemath-dev:develop
+ DEFAULT_ARTIFACT_BASE: sagemath/sagemath-dev:develop
before_script:
# GitLab has no mechanism yet to hide secret variables: https://gitlab.com/gitlab-org/gitlab-ce/issues/13784
@@ -45,6 +45,8 @@ services:
# much faster than building from a clean checkout of Sage.
build-from-latest: &build
stage: build
+ variables:
+ ARTIFACT_BASE: $DEFAULT_ARTIFACT_BASE
artifacts:
when: always
paths: