Skip to content

feat(renovate): track Node pins in Dockerfiles and NODE_VERSION - #30

Merged
juliusknorr merged 1 commit into
mainfrom
feat/renovate-node-pins
Dec 3, 2026
Merged

juliusknorr merged 1 commit into
mainfrom
feat/renovate-node-pins

Conversation

@juliusknorr

@juliusknorr juliusknorr commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Renovate only updated Node in actions/setup-node inputs. It didn't see NodeSource setup_XX.x lines in Dockerfiles or NODE_VERSION env in workflows, so builds kept running on Node 20 after it went EOL (Euro-Office/web-apps#309).

This adds two regex managers with the node-version datasource. Their depName is node, the same as the setup-node updates, so all Node updates for a major should land in one PR (renovate/node-XX.x).

  • Checked with renovate-config-validator 44.188.2.
  • A local dry run picks up 20 → 26 (major) in web-apps (web-apps.bake.Dockerfile, build.yml) and DocumentServer (develop.bake.Dockerfile, packages.bake.Dockerfile).
  • It covers the repos that extend this preset (web-apps, sdkjs, DocumentServer, eurooffice-nextcloud). eurooffice-nextcloud will get a 24 → 26 PR for NODE_VERSION in lint-eslint.yml. server, docker-ci and document-server-integration don't extend it yet.

AI-assisted: prepared with an AI coding agent and reviewed by the author.

NodeSource setup_XX.x lines and NODE_VERSION workflow env were invisible to
Renovate, so Node majors only moved in actions/setup-node inputs and builds
kept running on an EOL Node (Euro-Office/web-apps#309). Checked with
renovate-config-validator and a local dry run against web-apps and
DocumentServer.

No-test: Renovate config
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net>

@moodyjmz moodyjmz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve. Both patterns match every NodeSource and NODE_VERSION pin in the repos that extend this preset, and the branch still merges cleanly with main. One correction to the description: eurooffice-nextcloud now extends the preset too, so its lint-eslint.yml (NODE_VERSION: 24) will get a 24 → 26 PR. Optional: the NODE_VERSION pattern has no left boundary and no end anchor, so MIN_NODE_VERSION: 18 would match, and '20.11.1' would be rewritten to '26.11.1'. Nothing in the org uses either form today.

@juliusknorr
juliusknorr merged commit 89d379a into main Dec 3, 2026
2 checks passed
@juliusknorr
juliusknorr deleted the feat/renovate-node-pins branch December 3, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants