Mirror to GitLab from GitHub Actions; docs: GitHub is home, GitLab the mirror
A push to main or a v* tag on GitHub is forwarded to gitlab.com by a workflow, fast-forward only, main before the tags so the tag pipeline finds its commit on main. Pull mirroring on gitlab.com is paid, so the push runs from this side; it needs a project token with the single scope write_repository (Maintainer role, for the protected main and v*) as the secret GITLAB_MIRROR_TOKEN, handed to git through a credential helper rather than a URL. README, CONTRIBUTING, MOBILE and the changelog now say what the site says: issues and pull requests on GitHub, the GitLab mirror only for the CI that builds the release artefacts, the merge requests still open there reviewed until they are through.
This commit is contained in:
1 parent
0c18a808ce
commit
38a0b52e36
5 files changed
+102
-44
No files matched your search
+12
-10
@@ -43,11 +43,14 @@ cd frontend && npm test
|
||||
rules are easy to get subtly wrong and nearly impossible to verify by clicking — the
|
||||
progression engine grew two real bugs that only a test pinned down.
|
||||
|
||||
## What CI does with your merge request
|
||||
## What CI does with your pull request
|
||||
|
||||
A pull request on GitHub runs the three test suites (frontend, MCP, api) through GitHub Actions;
|
||||
the image builds and the APK come from GitLab CI, so a change that needs those is easiest to
|
||||
test as a merge request there. Every MR runs the three test suites (frontend, MCP, api), with the results and the coverage
|
||||
A pull request runs the three test suites (frontend, MCP, api) through GitHub Actions and
|
||||
builds and boots both api image targets. The APK and the published images come from the CI
|
||||
on the GitLab mirror, which builds them from `main` after the merge; if your change needs an
|
||||
APK to be judged, say so in the PR and a maintainer runs that build.
|
||||
|
||||
Merge requests that are still open on the GitLab mirror keep working as before. Every MR runs the three test suites (frontend, MCP, api), with the results and the coverage
|
||||
of your diff shown in the MR itself, plus a build of the web image and the api image when you
|
||||
touched their inputs. The frontend job also prints how much your change adds to the gzipped
|
||||
bundle compared with main. The APK and the published images are manual jobs there (on
|
||||
@@ -73,13 +76,12 @@ here before, otherwise a maintainer presses "Run pipeline" after a first look at
|
||||
| You have | Goes to |
|
||||
| --- | --- |
|
||||
| A quick question, or you'd rather just chat | [The Discord](https://discord.gg/e62jY6fwVb) |
|
||||
| A question, or self-hosting that won't behave | An issue labelled `question` — [GitHub](https://github.com/DuarteSantos8/openGym/issues) or [GitLab](https://gitlab.com/DuarteSantos8/opengym/-/issues) |
|
||||
| An idea you're not sure about yet | An issue labelled `idea` — [GitHub](https://github.com/DuarteSantos8/openGym/issues) or [GitLab](https://gitlab.com/DuarteSantos8/opengym/-/issues) |
|
||||
| A reproducible bug | Issues — [GitHub](https://github.com/DuarteSantos8/openGym/issues) or [GitLab](https://gitlab.com/DuarteSantos8/opengym/-/issues) |
|
||||
| A change you've already built | A pull request on GitHub or a merge request on GitLab — both are read |
|
||||
| A question, or self-hosting that won't behave | [An issue labelled `question`](https://github.com/DuarteSantos8/openGym/issues) |
|
||||
| An idea you're not sure about yet | [An issue labelled `idea`](https://github.com/DuarteSantos8/openGym/issues) |
|
||||
| A reproducible bug | [Issues](https://github.com/DuarteSantos8/openGym/issues) |
|
||||
| A change you've already built | [A pull request](https://github.com/DuarteSantos8/openGym/pulls) |
|
||||
|
||||
Questions and ideas are issues too (GitLab has no Discussions, and one tracker per platform is
|
||||
enough) — just labelled, so nobody
|
||||
Questions and ideas are issues too (one tracker is enough) — just labelled, so nobody
|
||||
mistakes a question for agreed-on work. An answered question is worth more than the same answer
|
||||
in a chat log: the next person searching "passkey login fails behind my reverse proxy" finds it.
|
||||
That is the one thing the Discord can't do, so if an answer there turns out to be worth keeping,
|
||||
|
||||
Reference in new issue
Block a user