Skip to content

Add Renovate config for automated p2pool version bumps - #158

Merged
sethforprivacy merged 1 commit into
mainfrom
add-renovate-config
Jun 23, 2026
Merged

Add Renovate config for automated p2pool version bumps#158
sethforprivacy merged 1 commit into
mainfrom
add-renovate-config

Conversation

@sethforprivacy

Copy link
Copy Markdown
Owner

Summary

Sets up automated dependency updates via Renovate, modeled on the gold-standard config in sethforprivacy/simple-monerod-docker.

Changes

  1. .github/renovate.json — same extends preset and customManager regex as the monerod repo. The custom manager already matches ARG ..._BRANCH=<value> lines, so it tracks P2POOL_BRANCH directly. With docker:enableMajor, the built-in docker manager will also keep the pinned ubuntu base image current.

  2. Dockerfile annotation — adds

    # renovate: datasource=github-releases depName=SChernykh/p2pool
    

    immediately above ARG P2POOL_BRANCH=v4.17. This tells the custom manager to look up new p2pool releases from GitHub.

Validation

Validated with renovate-config-validator (renovate@latest):

INFO: Config validated successfully against 1 file(s)

Note: managerFilePatterns is the current field name (renamed from fileMatch) and requires Renovate ≥ 39. An older cached renovate@37 validator rejects it, but the hosted Mend Renovate app on this owner runs a current version — this is identical to the field used in the live monerod config.

Rollout

The hosted Mend Renovate app is already active on this owner's repos and will pick this config up automatically once merged. No CI build is triggered by this PR's renovate.json (the test-build workflow filters on Dockerfile); the 1-line annotation does touch the Dockerfile and will trigger a no-op-equivalent test build.

Adds .github/renovate.json based on the gold-standard config in
sethforprivacy/simple-monerod-docker, plus a `# renovate:` annotation
above ARG P2POOL_BRANCH so Renovate tracks the upstream p2pool release.

- renovate.json: same extends + customManager regex as monerod. The
  customManager already matches `ARG ..._BRANCH=<value>` patterns, so it
  picks up P2POOL_BRANCH directly. The docker manager (via
  docker:enableMajor) will also keep the pinned ubuntu base image current.
- Dockerfile: add
  `# renovate: datasource=github-releases depName=SChernykh/p2pool`
  immediately above `ARG P2POOL_BRANCH=v4.17`.

Validated with `renovate-config-validator` (renovate@latest):
"Config validated successfully". (Note: the field `managerFilePatterns`
requires Renovate >= 39; the hosted Mend app on this owner runs current
Renovate, matching the live monerod config.)

The hosted Mend Renovate app is already active on this owner's repos and
will pick this up automatically once merged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sethforprivacy
sethforprivacy marked this pull request as ready for review June 23, 2026 11:10
@sethforprivacy
sethforprivacy merged commit 5b7ab87 into main Jun 23, 2026
4 checks passed
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