ci(renovate): validate the config in Lint, bump Renovate's own image weekly, run on push to main #525

Merged
Defame1297 merged 6 commits from ci/188-172-renovate-self-bump into main 2026-12-06 17:56:38 +00:00
6 Commits
Author SHA1 Message Date
Defame1297 2c9221ef45 ci(lint): give renovate-config room for a cold image pull
Build / build (pull_request) Successful in 36s
Lint / lint (pull_request) Successful in 3m7s
Molecule / select (pull_request) Successful in 6s
Molecule / scenarios (pull_request) Skipped
Lint / renovate-config (pull_request) Successful in 2m42s
Molecule / Result (pull_request) Successful in 1s
Raise the renovate-config timeout to 15 minutes: after a self-bump the
runner pulls the large -full image first. The comment on the validator
step now says the clone credential is kept out of it, not the job token,
which the runner may still pass to every step. The workflow rules note
that renovate-config is the Lint job outside the ci image.

Refs: #188
Assisted-by: Claude Code
2026-12-06 17:35:28 +00:00
Defame1297 fc62e2e110 docs(renovate): state what holds Dockerfile automerge and the validator check
The dockerfile rule no longer claims the bump's own CI builds the new
image: Images builds it only after the merge, and the pin-follow pull
request's CI runs on it. The top-level description says code-owned files
automerge only once a code owner approves.

making-a-change.md quotes the full validator command and marks it a
control only once Lint / renovate-config is a required check. The
renovate.yml concurrency comment drops an unverified queueing claim.

Refs: #172
Refs: #188
Assisted-by: Claude Code
2026-12-06 17:26:03 +00:00
Defame1297 9fb3cbd4fd ci(lint): keep the job token away from renovate.json and pin image lines in place
The renovate-config job clones in its own step and validates in a second
step, so the job token is not in the environment that reads the pull
request's renovate.json.

check_bot_pr_diff.py now refuses a moved image line in every workflow
whose pins a bot may move, lint.yml included, not only in image.yml and
renovate.yml. Tests cover a moved lint.yml line, an added second
Renovate line and a changed indentation.

Refs: #188
Assisted-by: Claude Code
2026-12-06 17:25:56 +00:00
Defame1297 076546f91b docs(contributing): point renovate.json syntax at Lint's validator job
Syntax is now checked by Lint's renovate-config job; a local
renovate --platform=local run stays for behaviour changes.
making-a-change.md also gains the two review-held rules for
renovate.json: descriptions of at most two short sentences, and a test or
check before an automerge exception.

Refs: #172
Refs: #188
Assisted-by: Claude Code
2026-12-06 17:02:21 +00:00
Defame1297 936e253af0 ci(renovate): run on push to main and let Renovate bump its own image
Renovate runs on every push to main, so after each merge the next bot
pull request is rebased without waiting for the daily schedule; the
renovate concurrency group still queues at most one run. The job timeout
drops from 30 to 10 minutes.

The rule that disabled updates to renovate.yml is replaced by a weekly
rule for renovate/renovate: a 3-day release age, never automerged, since
the job runs with the write-capable bot token. One pull request moves
the pin in renovate.yml and its copy in lint.yml. RENOVATE_DOCKER_MAX_PAGES
stays within Docker Hub's anonymous paging limit, so the image's release
timestamps are found and the wait applies.

Our own Docker images get an explicit zero release age. Every rule
description is cut to at most two sentences, and the top-level one now
says that an update with no release timestamp gets no wait.

Closes: #172
Closes: #188
Assisted-by: Claude Code
2026-12-06 17:02:10 +00:00
Defame1297 763ec5dfd3 ci(lint): validate renovate.json in the pinned Renovate image
Add a renovate-config job to Lint that runs renovate-config-validator
--strict --no-global in a copy of renovate.yml's Renovate image, so the
config is checked by the Renovate that runs it and the check can be
required. The ci image stays without Node.

check_bot_pr_diff.py now lets a bot pull request move the tag and digest
of the renovate/renovate image line in renovate.yml and lint.yml, in
place, keeping the name and the -full flavour. A test holds the two pins
equal.

Refs: #188
Assisted-by: Claude Code
2026-12-06 17:01:55 +00:00