fix(renovate): fail-safe dry run, catch-all post-upgrade rule, merge open items
- renovate.yml: a workflow_dispatch is a dry run unless the input is exactly "false" (an empty input no longer goes live); drop RENOVATE_BINARY_SOURCE install, the -full image ships its tools. - renovate.json: the postUpgradeTasks rule matches every package, because with executionMode branch only the first upgrade of a branch counts; the script is a no-op when no image input changed. - bump_image_versions.py: docstring describes the real wiring. - CLAUDE.md, CONTRIBUTING.md: one open item for the first live run, runner slot note. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
7730440759
commit
b92adb931c
5 files changed
+38
-28
No files matched your search
+3
-5
@@ -77,11 +77,9 @@
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"description": "Image inputs (the ci and molecule-ubuntu2404 images): the PR also carries the PATCH bump of the image version in image.yml, made by scripts/bump_image_versions.py against origin/main (the base ref and clone depth in Renovate's checkout are verified by the first dry run). The command must match RENOVATE_ALLOWED_COMMANDS in renovate.yml exactly.",
|
||||
"matchFileNames": [
|
||||
"requirements-dev.txt",
|
||||
".pre-commit-config.yaml",
|
||||
"images/**"
|
||||
"description": "Every update runs scripts/bump_image_versions.py against origin/main as a postUpgradeTasks command (the base ref and clone depth in Renovate's checkout are verified by the first dry run). The rule matches every package (matchPackageNames *, which strict validation requires as a selector) on purpose: with executionMode branch only the FIRST upgrade's postUpgradeTasks of a branch counts and a branch can carry several upgrades; the script is a no-op when no image input (requirements-dev.txt, .pre-commit-config.yaml, images/**) changed and otherwise makes the PATCH bump of the image version in image.yml. The command must match RENOVATE_ALLOWED_COMMANDS in renovate.yml exactly.",
|
||||
"matchPackageNames": [
|
||||
"*"
|
||||
],
|
||||
"postUpgradeTasks": {
|
||||
"commands": [
|
||||
|
||||
Reference in new issue
Block a user