aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrubo77 <github@r.z11.de>2018-08-07 08:07:28 +0200
committerrubo77 <github@r.z11.de>2018-08-07 08:07:58 +0200
commitd30ae1e016590568535188b57c03597937193f93 (patch)
treeecde39373fbc08fe20df0c53f633322ef5f5b352
parent8363eecd1ec9b03b729fd97f3d0c2c0419859324 (diff)
Eliminate separate clone job
Why the f did I ever add this?
-rw-r--r--.gitlab-ci.yml15
1 files changed, 1 insertions, 14 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2fa27c8..9462269 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,7 +12,6 @@ cache:
stages:
- prepare
- - clone
- build
- upload
@@ -32,25 +31,13 @@ prepare:
- docker push $CONTAINER_IMAGE:latest
cache: {}
-# Cache maintenance
-clone:
- stage: clone
- image: $CI_REGISTRY_IMAGE/build
- script:
- - ./gitlab-ci/update-git.sh | tee -a debug.log
- artifacts:
- untracked: false
- paths:
- - debug.log
- dependencies: []
-
# Actual building
build:
stage: build
image: $CI_REGISTRY_IMAGE/build
script:
- export FORCE_UNSAFE_CONFIGURE=1
- # We can't be sure the cache is actually available right now, thus we have to perform all cache steps here, too
+ # former clone step
- ./gitlab-ci/update-git.sh | tee -a debug.log
- ./gitlab-ci/build.sh -c update -b $CI_COMMIT_REF_NAME -n $CI_PIPELINE_ID -m "-j $(nproc --all)" | tee -a debug.log
# We should never need this, should we?