[Git][ghc/ghc][ghc-9.6] 2 commits: ci: Allow release-hackage-lint to fail

Zubin (@wz1000) gitlab at gitlab.haskell.org
Thu Jan 4 23:51:43 UTC 2024



Zubin pushed to branch ghc-9.6 at Glasgow Haskell Compiler / GHC


Commits:
b3ddb687 by Zubin Duggal at 2024-01-04T21:30:21+05:30
ci: Allow release-hackage-lint to fail

Otherwise it blocks the ghcup metadata pipeline from running.

(cherry picked from commit e8960b0af7904f7646915e1ba847e18bfbf3067c)

Metric Decrease:
    MultiLayerModulesTH_Make

- - - - -
6c38127e by Zubin Duggal at 2024-01-05T02:19:01+05:30
gitlab-ci: Use ghc 9.2.8 for generate_jobs

Nix can't find ghc 9.2.4 for some reason, resulting in the lint-ci-config job failing

- - - - -


2 changed files:

- .gitlab-ci.yml
- .gitlab/generate_jobs


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -770,6 +770,10 @@ release-hackage-lint:
   rules:
     - if: '$RELEASE_JOB == "yes"'
   extends: .hackage
+  # The ghcup metadata pipeline requires all prior jobs to
+  # pass. The hackage job can easily fail due to API changes
+  # or similar - so we allow it to fail.
+  allow_failure: true
   variables:
     # No slow-validate bindist on release pipeline
     EXTRA_HC_OPTS: "-dlint"


=====================================
.gitlab/generate_jobs
=====================================
@@ -1,5 +1,5 @@
 #!/usr/bin/env nix-shell
-#!nix-shell -i bash -p cabal-install "haskell.packages.ghc924.ghcWithPackages (pkgs: with pkgs; [aeson])" git jq
+#!nix-shell -i bash -p cabal-install "haskell.packages.ghc928.ghcWithPackages (pkgs: with pkgs; [aeson])" git jq
 
 # shellcheck shell=bash
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/615a63d39ecbeba863199d0447c975ea53a4c84c...6c38127edcb01646137d9688c422354b0276334c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/615a63d39ecbeba863199d0447c975ea53a4c84c...6c38127edcb01646137d9688c422354b0276334c
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/20240104/f33c8b6a/attachment.html>


More information about the ghc-commits mailing list