Skip to content

Commit

Permalink
Migrate coq/opam to use Inria GitLab instead of GitLab.com. (#324)
Browse files Browse the repository at this point in the history
Following an issue with having hit our quotas on GitLab.com, and by
request of @mattam82 in
https://coq.zulipchat.com/#narrow/stream/237656-Coq-devs-.26-plugin-devs/topic/GitLab.2Ecom.20subscription.20.2F.20compute.20minutes.

This PR does the following things:

- [x] Set up mirroring.
- [x] Modify configuration for synchronizing PRs.

We should also:

- [x] Create the Inria GitLab repository.
- [x] Adjust the GitLab CI configuration to use the shared runners
available there. (Done in coq/opam#3181.)
- [x] Add a webhook on the Inria GitLab repository.
  • Loading branch information
Zimmi48 authored Oct 16, 2024
2 parents 73f6dce + 9c20d5f commit d5d3c0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions coqbot-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ app_id="31373"
gitlab="coq/coq"
gitlab_domain="gitlab.inria.fr"

[mappings.opam-coq-archive]
github="coq/opam-coq-archive"
gitlab="coq/opam-coq-archive"
[mappings.opam]
github="coq/opam"
gitlab="coq/opam"
gitlab_domain="gitlab.inria.fr"

[mappings.math-comp]
github="math-comp/math-comp"
Expand Down
2 changes: 1 addition & 1 deletion src/bot.ml
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ let callback _conn req body =
branch on GitLab."
owner repo )
()
| "math-comp", ("docker-mathcomp" | "math-comp") ->
| "math-comp", ("docker-mathcomp" | "math-comp") | "coq", "opam" ->
(fun () ->
init_git_bare_repository ~bot_info
>>= fun () ->
Expand Down

0 comments on commit d5d3c0b

Please sign in to comment.