Files
stprunner/renovate.json5
T
adamfandClaude Opus 5.5 ee25ab4abb Install gitea-runner on a VM as a systemd service
One hosts/<host>.env per runner (name, user, labels, capacity) and an
idempotent install.sh: pinned VERSION with sha256 check, minimal
config.yaml and .runner in /var/lib/gitea-runner, upstream's systemd
unit. Replaces stpweb's gitea-runner/ and stpbuild's untracked copy,
both started by @reboot cron.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 13:43:11 +00:00

34 lines
1.1 KiB
JSON

// What Renovate updates here; it runs from stpweb's .gitea/workflows/renovate.yaml
// (this repo is in its RENOVATE_REPOSITORIES). Merging a bump changes nothing
// until `sudo ./install.sh <host>` is re-run on each runner VM.
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:recommended"],
timezone: "Europe/London",
minimumReleaseAge: "3 days",
customManagers: [
{
// The pinned gitea-runner release in install.sh.
customType: "regex",
managerFilePatterns: ["/^install\\.sh$/"],
matchStrings: ['VERSION="(?<currentValue>[0-9][\\w.-]*)"'],
depNameTemplate: "gitea/runner",
datasourceTemplate: "gitea-releases",
registryUrlTemplate: "https://gitea.com",
extractVersionTemplate: "^v(?<version>.+)$",
},
],
packageRules: [
// A major can raise the minimum Gitea version (v6 needed 1.26.2), so
// check its notes against stpgit before merging.
{
matchPackageNames: ["gitea/runner"],
matchUpdateTypes: ["major"],
prBodyNotes: ["Major release: check the minimum Gitea version in the release notes against stpgit before merging."],
},
],
}