Skip to content

Add self-hosted Renovate for automated image bump PRs#24

Open
emersonian wants to merge 1 commit into
mainfrom
add-renovate-bot
Open

Add self-hosted Renovate for automated image bump PRs#24
emersonian wants to merge 1 commit into
mainfrom
add-renovate-bot

Conversation

@emersonian

Copy link
Copy Markdown
Collaborator

What

Adds self-hosted Renovate so the repo automatically opens PRs when newer Docker tags are published for our images.

  • renovate.json — config (validated with Renovate's official renovate-config-validator).
  • .github/workflows/renovate.yml — runs Renovate on an hourly cron + manual workflow_dispatch.

What it tracks (via built-in managers, no fragile regex)

  • helm-values manager → charts/zcash-stack/values.yaml: zfnd/zebra, electriccoinco/zcashd, electriccoinco/lightwalletd, emersonian/zcash-explorer, emersonian/zcash-zaino, osminogin/tor-simple.
  • docker-compose manager → docker/compose.*.yaml image refs.

The three core node images (zebra / zcashd / lightwalletd) are grouped into one PR. Images pinned to :latest (busybox init containers, etc.) are intentionally left alone.

⚠️ Required before this works

  1. Create a PAT (classic: repo + workflow scopes — or fine-grained with Contents/Pull requests/Workflows: RW on this repo).
  2. Add it as repo secret RENOVATE_TOKEN (Settings → Secrets and variables → Actions).
  3. Merge, then run the Renovate workflow manually once (Actions tab → Renovate → Run workflow) to bootstrap the Dependency Dashboard issue.

Without the secret the workflow runs but can't open PRs.

🤖 Generated with Claude Code

Renovate scans the Helm chart values.yaml (helm-values manager) and
docker/compose.*.yaml (docker-compose manager) and opens PRs when newer
tags are published for zfnd/zebra, electriccoinco/zcashd,
electriccoinco/lightwalletd, and the other tracked images.

Runs self-hosted via .github/workflows/renovate.yml on an hourly cron,
using a RENOVATE_TOKEN repo secret (PAT with repo + workflow scopes).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant