ci(gitea): match systemd x64 deployment and remove Docker runner dependency
Landwelle Gitea CI / JavaScript and deployment-script checks (push) Successful in 39s
Landwelle Gitea source ZIP / source-zip (push) Successful in 48s
Landwelle Gitea CI / Linux x64 production build (push) Successful in 55s
Landwelle Gitea CI / Go tests and vet (push) Successful in 1m1s
Landwelle Gitea CI / JavaScript and deployment-script checks (push) Successful in 39s
Landwelle Gitea source ZIP / source-zip (push) Successful in 48s
Landwelle Gitea CI / Linux x64 production build (push) Successful in 55s
Landwelle Gitea CI / Go tests and vet (push) Successful in 1m1s
This commit is contained in:
1 parent
61603e29c4
commit
1923e22ff7
3 files changed
+2
-16
No files matched your search
@@ -79,21 +79,6 @@ jobs:
|
||||
file dist/landwelle-portal-linux-amd64 | grep -q 'x86-64'
|
||||
./dist/landwelle-portal-linux-amd64 --version | grep -q 'Landwelle v'
|
||||
|
||||
container-amd64:
|
||||
name: Linux x64 container build and smoke test
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Build x64 container
|
||||
run: docker build --platform linux/amd64 -t landwelle-portal:x64-ci .
|
||||
- name: Verify x64 container binary
|
||||
run: |
|
||||
docker image inspect landwelle-portal:x64-ci --format '{{.Architecture}}' | grep -qx amd64
|
||||
expected_version="$(sed -nE 's/^[[:space:]]*applicationVersion[[:space:]]*=[[:space:]]*"([^"]+)".*/\1/p' main.go | head -n1)"
|
||||
test -n "$expected_version"
|
||||
docker run --rm --entrypoint /usr/local/bin/landwelle-portal landwelle-portal:x64-ci --version | grep -Fx "Landwelle v$expected_version"
|
||||
frontend-static:
|
||||
name: JavaScript and deployment-script checks
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
- Veraltete GitHub-Doppelstruktur, App-/Firebase-Clientdateien, App-spezifische Betriebsanleitungen und alte Installationszettel aus dem aktuellen Repository entfernt.
|
||||
- Die bestehenden, bereits produktiv verwendeten SQL-Migrationen und aktiven Radio-, Web- und Adminfunktionen bleiben unverändert.
|
||||
- Aktuelle Betriebs-, Release- und Entwicklungsdokumentation auf Gitea und Linux x64 ausgerichtet.
|
||||
- CI auf die produktiv genutzten Linux-x64-/systemd-Builds konzentriert; der optionale Docker-Container-Test entfällt auf Runnern ohne Docker.
|
||||
- Keine Änderung am Portal-Laufzeitverhalten, keine neue Datenbankmigration und kein automatisches Produktivdeployment.
|
||||
|
||||
## v1.5.82 – Mediengalerie: Favoriten bei Galerie und Bildauswahl
|
||||
|
||||
@@ -21,7 +21,7 @@ Die zentrale Quelle für Landwelle ist das Gitea-Repository `nexverse/landwelle`
|
||||
|
||||
### Gitea Actions
|
||||
|
||||
Die Dateien unter `.gitea/workflows/` prüfen den Go-Code, Linux-x64-Build, JavaScript und Shellskripte. Ein zweiter Workflow kann Quellarchive erzeugen. Das Verzeichnis `.github/workflows/` ist nicht mehr vorgesehen.
|
||||
Die Dateien unter `.gitea/workflows/` prüfen den Go-Code, Linux-x64-Build, JavaScript und Shellskripte. Ein Docker-Container-Test gehört nicht zu dieser Standard-CI, da das Portal produktiv über systemd betrieben wird und nicht jeder Gitea-Runner Docker bereitstellt. Ein zweiter Workflow kann Quellarchive erzeugen. Das Verzeichnis `.github/workflows/` ist nicht mehr vorgesehen.
|
||||
|
||||
Der Workflow braucht einen **Gitea Actions Runner** mit dem Label `ubuntu-latest` (oder eine passend konfigurierte Zuordnung). Ohne Runner bleiben Jobs in der Warteschlange. Verfügbarkeit und tatsächliche Ausführung sind in der Gitea-Oberfläche unter „Actions“ zu prüfen. Die Workflows installieren **nichts automatisch** in KeyHelp oder im laufenden Radio.
|
||||
|
||||
|
||||
Reference in new issue
Block a user