[Git][ghc/ghc][wip/fix-marge] gitlab: Don't run lint-submods job on Marge branches

Ben Gamari gitlab at gitlab.haskell.org
Tue Apr 9 16:38:38 UTC 2019



Ben Gamari pushed to branch wip/fix-marge at Glasgow Haskell Compiler / GHC


Commits:
91cf8fc1 by Ben Gamari at 2019-04-09T16:38:23Z
gitlab: Don't run lint-submods job on Marge branches

This broke Marge by creating a second pipeline (consisting of only the
`lint-submods` job). Marge then looked at this pipeline and concluded
that CI for her merge branch passed. However, this is ignores the fact
that the majority of the CI jobs are triggered on `merge_request` and
are therefore in another pipeline.

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -80,7 +80,14 @@ lint-submods:
     refs:
       - master
       - /ghc-[0-9]+\.[0-9]+/
-      - wip/marge_bot_batch_merge_job
+
+lint-submods-marge:
+  extends: .lint-submods
+  only:
+    refs:
+      - merge_requests
+    variables:
+      - $CI_MERGE_REQUEST_LABELS =~ /.*wip/marge_bot_batch_merge_job.*/
 
 lint-submods-mr:
   extends: .lint-submods



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/91cf8fc1a701831cbd2aa6018b5220f02ecad118

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/91cf8fc1a701831cbd2aa6018b5220f02ecad118
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190409/c9bfc014/attachment-0001.html>


More information about the ghc-commits mailing list