From 7e7cab924edb979f60d5ec3b7c19944999511216 Mon Sep 17 00:00:00 2001 From: Seth For Privacy <40500387+sethforprivacy@users.noreply.github.com> Date: Mon, 22 Jun 2026 20:58:22 -0400 Subject: [PATCH] Add Renovate config for automated p2pool version bumps 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=` 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 --- .github/renovate.json | 24 ++++++++++++++++++++++++ Dockerfile | 1 + 2 files changed, 25 insertions(+) create mode 100644 .github/renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..f54a84f --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,24 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + "docker:enableMajor", + "mergeConfidence:all-badges", + ":disableRateLimiting", + ":semanticCommits" + ], + "rebaseWhen": "conflicted", + "customManagers": [ + { + "customType": "regex", + "managerFilePatterns": [ + "/(^|/)Dockerfile$/" + ], + "matchStrings": [ + "# renovate: datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?\\sARG .*?_VERSION=(?.*)(\\sARG .*?_CHECKSUM=(?.*))?\\s", + "# renovate: datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?\\sARG .*?_BRANCH=(?.*)(\\sARG .*?_COMMIT_HASH=(?.*))?\\s" + ], + "versioningTemplate": "{{#if versioning}}{{versioning}}{{/if}}" + } + ] +} diff --git a/Dockerfile b/Dockerfile index 886c38c..97ea585 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +# renovate: datasource=github-releases depName=SChernykh/p2pool ARG P2POOL_BRANCH=v4.17 # Select latest Ubuntu LTS for the build image base