Heimdall Gitea / Detect CI scope (push) Successful in 6s
Heimdall Gitea / Build and tests (push) Successful in 19m19s
Heimdall Gitea / Publish versioned release (push) Skipped
Heimdall Gitea / Build and scan server image (push) Successful in 6m13s
Heimdall Gitea / Build and scan agent image (push) Successful in 14m44s
Heimdall Gitea / Publish Docker Hub latest tags (push) Successful in 1m48s
Heimdall Gitea / Build and scan NVIDIA Agent image (push) Successful in 19m9s
Heimdall Gitea / CI policy (push) Successful in 10s
Merge pull request #138 Co-authored-by: Arnaud Dartois <admin@tordais.cc>
2.3 KiB
2.3 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 andGITEA_API_ENDPOINTin Actions variables; do not add either credential or forge hostname to repository files. - The endpoint must be the HTTPS Gitea 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. - 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 P0 Renovate status in
todo.mdwith the workflow run and the remaining remote-secret validation. Never claim the bot works based only on configuration presence.