Heimdall Gitea / Detect CI scope (push) Successful in 5s
Heimdall Gitea / Build and tests (push) Successful in 17m45s
Heimdall Gitea / Build and scan server image (push) Skipped
Heimdall Gitea / Build and scan agent image (push) Skipped
Heimdall Gitea / CI policy (push) Successful in 3s
Heimdall Gitea / Build and scan NVIDIA Agent image (push) Skipped
Heimdall Gitea / Publish versioned installer release (push) Skipped
Co-authored-by: Arnaud Dartois <admin@tordais.cc>
2.7 KiB
2.7 KiB
name, description
| name | description |
|---|---|
| renovate-automation | Diagnose and maintain Renovate dependency updates through Gitea Actions without exposing bot credentials. |
Heimdall Renovate workflow
Use this skill for .gitea/workflows/renovate.yml, renovate.json, or dependency-update failures.
- Renovate runs only on its weekly schedule or manual dispatch, on
[ubuntu-latest, build-agent], in the pinned Renovate container. KeepRENOVATE_TOKENin Actions secrets andFORGEJO_API_ENDPOINTin Actions variables; do not add either credential or forge hostname to repository files. Forgejo reserves variable names beginning withGITEA_and rejects them. - The endpoint must be the HTTPS Forgejo API root ending in
/api/v1. The workflow checks that the token can call/userand readarnaud.dartois/Heimdallbefore Renovate starts. Preflight logs only response status and a safe diagnosis; never print request headers, response bodies, or token values. - HTTP 401/403 means the secret is missing, expired, revoked, or lacks repository access. Configure a bot token with repository read and write access so Renovate can open pull requests. Read preflight success does not prove write access; confirm a successful run that opens or updates a PR.
- Use
node --test scripts/ci/renovate-preflight.test.mjsto test endpoint validation and sanitized auth failures locally. Do not run Renovate locally with production credentials. - Run
bash skills/renovate-automation/acceptance.shafter changing the preflight or its endpoint wiring. It exercises valid and rejected synthetic credentials over an isolated HTTPS mock in Compose; the test container trusts only the generated self-signed certificate for its local fixture. - For a changed preflight/deployment path, validate a disposable Compose project with a mock HTTPS API, a synthetic token, no host-published ports or persistent data, and both accepted and rejected credentials. Install an EXIT cleanup trap before startup, preserve the test exit status, remove that exact project, and confirm it leaves no containers, volumes, or networks; if pulling the Node base image is unavailable, record the blocker and rerun the recipe when registry access is restored.
- The mock-preflight recipe uses a shared upstream Node image and creates no local images. Retain that base image. If the recipe adds a locally built mock/helper/application image, record its unique tag and remove/verify only that exact tag in the same cleanup trap, including on failure. Do not use
--rmi allor broad prune commands. - For operational changes, update the Renovate Gitea issue with the workflow run and the remaining remote-secret validation. Never claim the bot works based only on configuration presence.