[commit: ghc] wip/pare-down-ci: gitlab-ci: Only build x86_64-deb8 and fedora27 for releases (6c074dd)

git at git.haskell.org git at git.haskell.org
Thu Feb 21 15:13:16 UTC 2019


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

On branch  : wip/pare-down-ci
Link       : http://ghc.haskell.org/trac/ghc/changeset/6c074dd4b719701d8298ad0a8032700485a8f347/ghc

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

commit 6c074dd4b719701d8298ad0a8032700485a8f347
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Feb 21 01:14:10 2019 -0500

    gitlab-ci: Only build x86_64-deb8 and fedora27 for releases
    
    These are largely redundant as they are covered by x86_64-deb9.


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

6c074dd4b719701d8298ad0a8032700485a8f347
 .gitlab-ci.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 33d96d8..69074dc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -277,24 +277,28 @@ validate-x86_64-linux-deb9-llvm:
   cache:
     key: linux-x86_64-deb9
 
-validate-x86_64-linux-deb8:
+release-x86_64-linux-deb8:
   extends: .validate-linux
   stage: full-build
   image: ghcci/x86_64-linux-deb8:0.1
   variables:
     TEST_ENV: "x86_64-linux-deb8"
+  only:
+    - tags
   cache:
     key: linux-x86_64-deb8
   artifacts:
     when: always
     expire_in: 2 week
 
-validate-x86_64-linux-fedora27:
+release-x86_64-linux-fedora27:
   extends: .validate-linux
   stage: full-build
   image: ghcci/x86_64-linux-fedora27:0.1
   variables:
     TEST_ENV: "x86_64-linux-fedora27"
+  only:
+    - tags
   cache:
     key: linux-x86_64-fedora27
   artifacts:



More information about the ghc-commits mailing list