Skip to content

ci(deploy): auto-deploy the GUI via the self-hosted runner#54

Merged
obcode merged 1 commit into
mainfrom
ci/auto-deploy-gui
Jul 20, 2026
Merged

ci(deploy): auto-deploy the GUI via the self-hosted runner#54
obcode merged 1 commit into
mainfrom
ci/auto-deploy-gui

Conversation

@obcode

@obcode obcode commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Der glabs.gui-Teil des Auto-Deploys (Backend-Teil: obcode/glabs #130). Spiegelbildlich zum Backend-Deploy-Job.

Inhalt

  • docker.yml — neuer, gated deploy-Job (needs: build-and-push-image, if: vars.AUTO_DEPLOY == 'true', runs-on: [self-hosted, glabs-deploy]gleiches Label/Runner wie Backend): pinnt GUI_TAG in der on-host .env und rollt nur den gui-Service (docker compose pull gui + up -d gui + prune). Die docker-compose.yml selbst liegt im glabs-Repo und wird von dessen Deploy-Job gesynct.

VERSION aus github.event.release.tag_name || inputs.tag (beide Trigger, mit v-Präfix wie die Registry-Historie).

Verifikation

  • actionlint: nur die erwartete Info „unbekanntes self-hosted-Label glabs-deploy" (Custom-Label) — kein Fehler.
  • inputs.tag existiert im workflow_dispatch oben → im Deploy-Job gültig.
  • Fahrbar erst am Zielhost mit registriertem GUI-Runner + AUTO_DEPLOY=true (per Design).

ci:-Titel → kein Release-Bump.

🤖 Generated with Claude Code

Mirror image of the backend (obcode/glabs) deploy job: a gated `deploy`
job on the shared self-hosted runner (label glabs-deploy) that, on a
release, pins GUI_TAG in the on-host .env and rolls only the `gui`
service. The docker-compose.yml lives in and is synced by the glabs repo;
here we only pull + up -d gui.

Gated by `if: vars.AUTO_DEPLOY == 'true'` — until the GUI runner exists
and the variable is set, the image is still built & pushed and this job is
skipped. See obcode/glabs deploy/README.md "Automatischer Deploy".

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@obcode
obcode merged commit 65bb04a into main Jul 20, 2026
3 checks passed
@obcode
obcode deleted the ci/auto-deploy-gui branch July 20, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant