Umzug nach GitLab: CI/CD fuer Tests, Images, APK, Pages und Releases

gitea.com hat keinen Actions-Runner, also gab es dort seit dem Umzug weder
Container-Images noch einen gebauten APK noch gruene Tests auf Merge Requests.
GitLab kann alles vier, also zieht das Projekt dorthin um.

.gitlab-ci.yml deckt die komplette Kette ab:
- test: Frontend-Suite (346 Tests), Locale-Checks, Fatigue-Probe, MCP-Suite
- build: api- und web-Image nach registry.gitlab.com/duartesantos8/opengym/*,
  auf v*-Tags amd64+arm64 mit latest/X.Y/X.Y.Z, sonst amd64 als edge
- package: signierter APK (zipalign + apksigner) plus Upload in die Generic
  Package Registry; der Key liegt in geschuetzten CI-Variablen und existiert
  damit nur auf main und v*-Tags
- deploy: der Browser-Demo-Build auf GitLab Pages
- release: GitLab-Release mit dem passenden CHANGELOG-Abschnitt und Links auf
  APK und Images

GitHub konnte "Tag gepusht" von "Release veroeffentlicht" unterscheiden und hat
Images nur aus letzterem gebaut (Issue #87). GitLab kann das nicht - dort ist die
Tag-Pipeline das, was das Release anlegt. Die Regel steht deshalb als Kommentar
im CI-File, und v*-Tags sind geschuetzt.

Ausserdem: Issue-/MR-Vorlagen unter .gitlab/, und saemtliche Repo-Links in
README, Docs, App, Dockerfile-Labels, docker-compose und Website zeigen auf
GitLab. site.js liest Sterne und Releases jetzt aus der GitLab-API (andere
Feldnamen, deshalb neue sessionStorage-Keys). SECURITY.md hat wieder einen
privaten Meldeweg: ein vertrauliches Issue.

.github/ und .gitea/ bleiben liegen - Spiegel bzw. fuer den Tag, an dem das
GitHub-Konto zurueckkommt.
This commit is contained in:
Duarte Santos committed 2026-08-23 20:10:07 +02:00
1 parent 8b99a644ed
commit 925190109f
22 files changed
+562 -98

No files matched your search

+10 -10
View File
@@ -26,13 +26,13 @@
<a href="/#demo" class="hide-s">Demo</a>
<a href="docs.html">Docs</a>
<a href="about.html" class="hide-s">About</a>
<a href="https://gitea.com/DuarteSantos/openGym" rel="noopener"><span data-gh="stars">Gitea</span></a>
<a href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener"><span data-gh="stars">GitLab</span></a>
<a href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a>
<a class="cta" href="/#download">Download</a>
</div>
</div></nav>
<!-- TEMPORARY: GitHub account suspended -> repo lives on gitea.com. Remove this block and
<!-- TEMPORARY: GitHub account suspended -> repo lives on gitlab.com. Remove this block and
revert the links (+ site.js) to github.com once the account is restored. -->
<div class="alert" role="alert"><div class="wrap">
<div class="alert-tag">⚠️ Important notice</div>
@@ -40,14 +40,14 @@
<p><b>github.com/DuarteSantos8/openGym is offline.</b> The repository and the releases are
unreachable — not by choice. openGym itself is unaffected: the app, the APK on this page,
the demo (now hosted here) and every self-hosted install keep working exactly as before.</p>
<p>Until I get the account back, the code lives here — and the Discord is where I will announce
the moment it is resolved:</p>
<p>Until I get the account back, the code lives on GitLab — and the Discord is where I will
announce the moment it is resolved:</p>
<div class="alert-actions">
<a class="btn alert-btn" href="https://gitea.com/DuarteSantos/openGym" rel="noopener">gitea.com/DuarteSantos/openGym</a>
<a class="btn alert-btn" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">gitlab.com/DuarteSantos8/opengym</a>
<a class="btn dc-btn" href="https://discord.gg/e62jY6fwVb" rel="noopener">Join the Discord</a>
</div>
<p class="alert-note">Every repository link on this site now points at that mirror — same code,
same AGPL-3.0 license, same history.</p>
<p class="alert-note">Every repository link on this site now points at GitLab — same code, same
AGPL-3.0 license, same history, and the releases, container images and APK builds are back.</p>
</div></div>
@@ -96,7 +96,7 @@
<p>Docker-Compose self-hosting, passkey profiles, guided workouts, 1,324-exercise
library. AGPL from day one.</p></li>
<li data-fallback><b>Every release since</b><span class="when">ongoing</span>
<p>See the full list on <a href="https://gitea.com/DuarteSantos/openGym/releases" rel="noopener">Gitea → Releases</a>.</p></li>
<p>See the full list on <a href="https://gitlab.com/DuarteSantos8/opengym/-/releases" rel="noopener">GitLab → Releases</a>.</p></li>
</ul>
<h2>Principles</h2>
@@ -113,7 +113,7 @@
<div class="hero-btns" style="justify-content:flex-start;margin:30px 0 10px">
<a class="btn" href="/#download">Get openGym</a>
<a class="btn ghost" href="https://gitea.com/DuarteSantos/openGym" rel="noopener">Star it on Gitea</a>
<a class="btn ghost" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">Star it on GitLab</a>
</div>
</main>
@@ -122,7 +122,7 @@
<div class="links">
<a href="docs.html">Docs</a>
<a href="about.html" class="hide-s">About</a>
<a href="https://gitea.com/DuarteSantos/openGym" rel="noopener">Gitea</a>
<a href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">GitLab</a>
<a href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a>
<a href="/#download">Download</a>
</div>