[commit: ghc] wip/devel2-ci: gitlab-ci: More aggressive artifact expiration (ed913a6)

git at git.haskell.org git at git.haskell.org
Sun Dec 30 18:35:35 UTC 2018


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

On branch  : wip/devel2-ci
Link       : http://ghc.haskell.org/trac/ghc/changeset/ed913a6b5e6efbaaf8eb2672259812e7fcb8ae31/ghc

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

commit ed913a6b5e6efbaaf8eb2672259812e7fcb8ae31
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Dec 30 13:22:38 2018 -0500

    gitlab-ci: More aggressive artifact expiration


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

ed913a6b5e6efbaaf8eb2672259812e7fcb8ae31
 .gitlab-ci.yml | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2055911..0fa6ac1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -100,7 +100,7 @@ validate-x86_64-linux-deb8-hadrian:
   artifacts:
     reports:
       junit: junit.xml
-    expire_in: 2 week
+    expire_in: 3 day
     paths:
       - ghc.tar.xz
       - junit.xml
@@ -133,7 +133,7 @@ validate-x86_64-darwin:
     - cp -Rf $HOME/.cabal cabal-cache
   artifacts:
     when: always
-    expire_in: 2 week
+    expire_in: 3 day
   cache:
     key: darwin
     paths:
@@ -169,7 +169,6 @@ validate-aarch64-linux-deb9:
   allow_failure: true
   artifacts:
     when: always
-    expire_in: 2 week
   cache:
     key: linux-aarch64-deb9
   tags:
@@ -179,7 +178,7 @@ nightly-aarch64-linux-deb9:
   extends: validate-aarch64-linux-deb9
   stage: full-build
   artifacts:
-    expire_in: 2 year
+    expire_in: 6 month
   variables:
     TEST_TYPE: slowtest
   only:
@@ -191,9 +190,6 @@ validate-i386-linux-deb9:
   stage: full-build
   image: ghcci/i386-linux-deb9:0.1
   allow_failure: true
-  artifacts:
-    when: always
-    expire_in: 2 week
   cache:
     key: linux-i386-deb9
 
@@ -206,7 +202,6 @@ nightly-i386-linux-deb9:
     TEST_TYPE: slowtest
   artifacts:
     when: always
-    expire_in: 2 week
   only:
     variables:
       - $NIGHTLY
@@ -227,9 +222,6 @@ validate-x86_64-linux-deb9:
   extends: .validate-linux
   stage: build
   image: ghcci/x86_64-linux-deb9:0.2
-  artifacts:
-    when: always
-    expire_in: 2 week
   cache:
     key: linux-x86_64-deb9
 
@@ -237,7 +229,8 @@ nightly-x86_64-linux-deb9:
   extends: validate-x86_64-linux-deb9
   stage: build
   artifacts:
-    expire_in: 2 year
+    when: always
+    expire_in: 1 year
   variables:
     TEST_TYPE: slowtest
   only:
@@ -249,6 +242,8 @@ validate-x86_64-linux-deb9-llvm:
   stage: full-build
   allow_failure: true
   image: ghcci/x86_64-linux-deb9:0.2
+  artifacts:
+    when: never
   variables:
     BUILD_FLAVOUR: perf-llvm
   cache:
@@ -260,9 +255,6 @@ validate-x86_64-linux-deb8:
   image: ghcci/x86_64-linux-deb8:0.1
   cache:
     key: linux-x86_64-deb8
-  artifacts:
-    when: always
-    expire_in: 2 week
 
 validate-x86_64-linux-fedora27:
   extends: .validate-linux
@@ -272,7 +264,7 @@ validate-x86_64-linux-fedora27:
     key: linux-x86_64-fedora27
   artifacts:
     when: always
-    expire_in: 2 week
+    expire_in: 3 day
 
 validate-x86_64-linux-deb9-integer-simple:
   extends: .validate-linux
@@ -287,7 +279,7 @@ nightly-x86_64-linux-deb9-integer-simple:
   extends: validate-x86_64-linux-deb9-integer-simple
   stage: full-build
   artifacts:
-    expire_in: 2 year
+    expire_in: 1 year
   variables:
     TEST_TYPE: slowtest
   only:



More information about the ghc-commits mailing list