summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-01-22 14:21:31 -0500
committerBen Gamari <ben@well-typed.com>2019-01-23 14:07:28 -0500
commit886ddb27bfbbb52c41690cd29e2ab3ed80bf5450 (patch)
tree7a3fc291264cc085ac3dd0549e7a9efc5ec2fb37
parent35c58c33344b17469466e0e85324c9b02ac1af46 (diff)
downloadhaskell-886ddb27bfbbb52c41690cd29e2ab3ed80bf5450.tar.gz
gitlab-ci: Explicitly clear dependencies of all jobs
Apparently GitLab CI defaults to declaring all jobs of the previous stage as dependencies of a job. This meant that we would end up downloading all of our binary distributions during the `cleanup` stage, eating up a truly remarkable amount of S3 tranfers.
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 218bd7806b..d739effaba 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,6 +42,7 @@ ghc-linters:
.gitlab/linters/check-makefiles.py $base $CI_COMMIT_SHA
.gitlab/linters/check-cpp.py $base $CI_COMMIT_SHA
fi
+ dependencies: []
tags:
- lint
@@ -98,6 +99,7 @@ validate-x86_64-linux-deb8-hadrian:
- |
THREADS=`mk/detect-cpu-count.sh`
make $TEST_TYPE THREADS=$THREADS JUNIT_FILE=../../junit.xml
+ dependencies: []
artifacts:
reports:
junit: junit.xml
@@ -317,6 +319,7 @@ validate-x86_64-linux-deb9-unreg:
- rd /s /q tmp
- robocopy /np /nfl /ndl /e "%APPDATA%\cabal" cabal-cache
- bash -c 'make clean || true'
+ dependencies: []
cache:
paths:
- cabal-cache
@@ -394,6 +397,7 @@ cleanup-windows:
tags:
- x86_64-windows
when: always
+ dependencies: []
before_script:
- echo "Time to clean up"
script: