[Git][ghc/ghc][master] gitlab-ci: Set GIT_SUBMODULE_FORCE_HTTPS

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Thu Nov 28 15:28:26 UTC 2024



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
6cf579b9 by Ben Gamari at 2024-11-28T10:27:59-05:00
gitlab-ci: Set GIT_SUBMODULE_FORCE_HTTPS

GitLab recommends using `https://` to clone submodules and provides the
`GIT_SUBMODULE_FORCE_HTTPS` variable to force this.

Fixes #25528.

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -22,6 +22,9 @@ variables:
 
   GIT_SUBMODULE_STRATEGY: "normal"
 
+  # GitLab recommends using https:, not ssh:, to clone submodules. See #25528.
+  GIT_SUBMODULE_FORCE_HTTPS: 1
+
   # Makes ci.sh isolate CABAL_DIR
   HERMETIC: "YES"
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6cf579b948eee4ba5a6da9ca342c25f669aefdd4

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6cf579b948eee4ba5a6da9ca342c25f669aefdd4
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/20241128/e3d58bc4/attachment.html>


More information about the ghc-commits mailing list