ci: self-hosted Renovate (NuGet CPM + Gitea Actions) #18

Merged
timothy merged 1 commits from chore/renovate-setup into main 2026-06-27 01:38:59 +02:00
Owner

Stands up self-hosted Renovate for this repo via a scheduled Gitea Actions workflow on the shared act_runner. First cut of timothy/server-management#484 (scope intentionally limited to ersatztv; that issue stays open for the other repos).

What

  • renovate.json (repo root, self-contained)
    • config:recommended + dependency dashboard + OSV vulnerability alerts
    • Managers: nuget (Central Package Management) + github-actions. Dockerfile/docker-compose managers deferred until the HTTP Gitea-registry handling (hostRules.insecureRegistry) is verified.
    • Family grouping: Microsoft.Extensions.*, Microsoft.AspNetCore.*, EF Core (+providers), Serilog, Refit, Lucene.Net
    • Auto-merge scoped to patch bumps of test/dev-only packages (NUnit*, NSubstitute, Shouldly, coverlet, Microsoft.NET.Test.Sdk, Testably.Abstractions*, threading analyzer) — everything else stays manual (ersatztv is prod-bearing)
  • .gitea/workflows/renovate.yml — weekly cron + workflow_dispatch (defaults to a safe dry run); bot identity + tokens from repo Actions secrets (RENOVATE_TOKEN, GITHUB_COM_TOKEN)

Relationship to existing work

Supersedes the proposing half that dependency-scan.yml (ersatztv#14) deliberately left out — that scan stays as a cheap in-repo detector for now. Auto-merge relies on the existing Build & test (.NET) job in docker-build.yml as its required check (branch protection configured separately).

Rollout (post-merge)

  1. Create renovate Gitea bot account + scoped PAT; add as Write collaborator; store RENOVATE_TOKEN / GITHUB_COM_TOKEN secrets.
  2. workflow_dispatch dry run to validate detection.
  3. Branch protection on main requiring the build+test check + allow auto-merge.
  4. Live run → dependency dashboard + first PRs.

refs server-management#484

Stands up self-hosted **Renovate** for this repo via a scheduled Gitea Actions workflow on the shared `act_runner`. First cut of `timothy/server-management#484` (scope intentionally limited to ersatztv; that issue stays open for the other repos). ## What - **`renovate.json`** (repo root, self-contained) - `config:recommended` + dependency dashboard + OSV vulnerability alerts - Managers: **`nuget`** (Central Package Management) + **`github-actions`**. Dockerfile/docker-compose managers **deferred** until the HTTP Gitea-registry handling (`hostRules.insecureRegistry`) is verified. - Family grouping: `Microsoft.Extensions.*`, `Microsoft.AspNetCore.*`, EF Core (+providers), Serilog, Refit, Lucene.Net - **Auto-merge** scoped to **patch** bumps of **test/dev-only** packages (NUnit*, NSubstitute, Shouldly, coverlet, `Microsoft.NET.Test.Sdk`, Testably.Abstractions*, threading analyzer) — everything else stays manual (ersatztv is prod-bearing) - **`.gitea/workflows/renovate.yml`** — weekly cron + `workflow_dispatch` (defaults to a **safe dry run**); bot identity + tokens from repo Actions secrets (`RENOVATE_TOKEN`, `GITHUB_COM_TOKEN`) ## Relationship to existing work Supersedes the *proposing* half that `dependency-scan.yml` (ersatztv#14) deliberately left out — that scan stays as a cheap in-repo detector for now. Auto-merge relies on the existing `Build & test (.NET)` job in `docker-build.yml` as its required check (branch protection configured separately). ## Rollout (post-merge) 1. Create `renovate` Gitea bot account + scoped PAT; add as Write collaborator; store `RENOVATE_TOKEN` / `GITHUB_COM_TOKEN` secrets. 2. `workflow_dispatch` **dry run** to validate detection. 3. Branch protection on `main` requiring the build+test check + allow auto-merge. 4. Live run → dependency dashboard + first PRs. refs server-management#484
timothy added 1 commit 2026-06-27 01:28:52 +02:00
ci: add self-hosted Renovate (NuGet CPM + Gitea Actions)
Build ErsatzTV Image / Build & push image (amd64) (pull_request) Has been skipped
Build ErsatzTV Image / Build & test (.NET) (pull_request) Successful in 1m58s
1a877dcd52
Stand up Renovate for this repo via a scheduled Gitea Actions workflow on the
shared act_runner. Managers: nuget (Central Package Management) + github-actions.
Dockerfile/docker-compose managers deferred until the HTTP Gitea-registry
handling is verified.

- renovate.json: config:recommended, dependency dashboard, OSV vulnerability
  alerts, family grouping (Microsoft.Extensions/AspNetCore/EF Core/Serilog/
  Refit/Lucene.Net), and patch-level auto-merge scoped to test/dev-only packages
  (NUnit/NSubstitute/Shouldly/coverlet/Test.Sdk/Testably/threading analyzer).
- .gitea/workflows/renovate.yml: weekly cron + workflow_dispatch (defaults to a
  safe dry run); bot identity + tokens from repo Actions secrets.

Supersedes the *proposing* half that dependency-scan.yml (ersatztv#14) left out;
the scan stays as a cheap in-repo detector for now.

refs server-management#484

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
timothy merged commit a5cbf0fbf7 into main 2026-06-27 01:38:59 +02:00
timothy deleted branch chore/renovate-setup 2026-06-27 01:38:59 +02:00
Sign in to join this conversation.