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.
1.2 KiB
1.2 KiB
opengym.duarte-santos.ch
Source of the project website — plain hand-written HTML/CSS/JS, no build step, served by nginx.
Not in this folder (added at deploy time):
img/— the five screenshots from../assets/screenshots/plusbanner.pngicon-180.png/icon-512.png— copied from../frontend/public/(the same icons the PWA uses, so the browser tab, home screen and app all match)openGym.apk— the signed release build (see../docs/MOBILE.md)demo/— the browser-only demo build of the app, embedded in the#demosection and reachable on its own at/demo/. Built from../frontendwithVITE_DEMO=1and the jsDelivr media bases (see thepagesjob in../.gitlab-ci.yml), so the ~140 MB of exercise media stays out of it. It has to live on this host: the site frames it, andX-Frame-Options: SAMEORIGINwould block it from anywhere else.
site.js fetches the star/issue counts and the release timeline from the public
gitlab.com API at view time. It pointed at api.github.com until that account was
suspended; the two URLs go back once it is restored, together with the notice
block at the top of index.html and the demo iframe.