S19: share workstation runner and move agent workflows to landscape

This commit is contained in:
2026-11-10 08:14:35 +01:00
parent c25ce11a1b
commit 46df72f008
40 changed files with 334 additions and 498 deletions

View File

@@ -1,8 +1,11 @@
# Project guidance
Read `generated/CODING_STANDARDS.md` before changing Java.
For reviews use `generated/skills/code-review/SKILL.md` with
`generated/docs/backend-review.md`.
Shared agent workflows live in landscape: @LANDSCAPE@/src/branch/main/skills/README.md.
Before a review, read landscape's skills/code-review/SKILL.md and
`generated/docs/backend-review.md`. Read any requested skill before using it.
Use grill-me only when explicitly requested, with its grilling dependency.
Keep upstream skills unchanged; change shared workflows in landscape.
Specifications and ADRs: @LANDSCAPE@.
Do not edit generated resources; use `mvn -N -Pregenerate-engineering validate`.
See README.md for setup and engineering upgrades. Skills are project-local.
See README.md for setup and engineering upgrades.

View File

@@ -9,7 +9,9 @@ Local builds use committed generated files. Run
Edit engineering.properties for module paths, images (derived from PROJECT_NAME),
deployment project, required secrets and dependencies. Edit deploy/health.sh for
application readiness. Configure the workflow runner label and Gitea variables
application readiness. New projects use the shared mini-pc runner at user scope; no per-project runner
registration is needed. Verify its availability with `java generated/ci/Ci.java check-runner`
before pushing. Configure Gitea variables
and secrets as described in the engineering README. Repository creation and
secret installation are manual setup steps; the generator creates local files.
@@ -18,3 +20,5 @@ Engineering usage and upgrades: @ENGINEERING@.
Update engineering.lock.json's tag and commit together, regenerate and review
the diff and that release's upgrade instructions. Project-owned files outside
generated/ are never overwritten by an upgrade.
Shared agent skills: @LANDSCAPE@/src/branch/main/skills/README.md.

View File

@@ -1,15 +1,15 @@
[Unit]
Description=@PROJECT@ Gitea Actions runner
Description=@RUNNER_NAME@ Gitea Actions runner
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=%h/.local/share/@PROJECT@-runner
EnvironmentFile=%h/.config/@PROJECT@-runner/environment
ExecStartPre=/usr/bin/env java %h/.local/share/@PROJECT@-runner/WaitForDocker.java 120
WorkingDirectory=%h/.local/share/@RUNNER_NAME@-runner
EnvironmentFile=%h/.config/@RUNNER_NAME@-runner/environment
ExecStartPre=/usr/bin/env java %h/.local/share/@RUNNER_NAME@-runner/WaitForDocker.java 120
TimeoutStartSec=150
ExecStart=%h/.local/bin/act_runner daemon --config %h/.local/share/@PROJECT@-runner/config.yaml
ExecStart=%h/.local/bin/act_runner daemon --config %h/.local/share/@RUNNER_NAME@-runner/config.yaml
Restart=on-failure
RestartSec=10
KillSignal=SIGTERM