[commit: ghc] wip/drop-ci-dependencies: gitlab-ci: Explicitly clear dependencies of all jobs (829a623)

git at git.haskell.org git at git.haskell.org
Tue Jan 22 19:28:42 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/drop-ci-dependencies
Link       : http://ghc.haskell.org/trac/ghc/changeset/829a623f4718ae910b6ad2074de12daeb7bbe451/ghc

>---------------------------------------------------------------

commit 829a623f4718ae910b6ad2074de12daeb7bbe451
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Jan 22 14:21:31 2019 -0500

    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.


>---------------------------------------------------------------

829a623f4718ae910b6ad2074de12daeb7bbe451
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 162c19c..e8d416c 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
@@ -318,6 +320,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
@@ -386,6 +389,7 @@ cleanup-windows:
   tags:
     - x86_64-windows
   when: always
+  dependencies: []
   before_script:
     - echo "Time to clean up"
   script:



More information about the ghc-commits mailing list