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
@@ -16,9 +16,11 @@ order; an entry that cannot be parsed unambiguously is an error); comments, quot
|
||||
the rest of the file are kept. Untracked files count as inputs unless git ignores them, so a cache
|
||||
under images/ must be in .gitignore.
|
||||
|
||||
It is meant to run later as a Renovate `postUpgradeTasks` command (Phase 2/3 of the
|
||||
Renovate plan; renovate.json does not enable it yet), so a dependency bump that changes an
|
||||
image input carries its version bump and passes the `bump` check without a human edit.
|
||||
It runs as a Renovate `postUpgradeTasks` command: renovate.json sets it on a catch-all
|
||||
packageRule (matches every package, executionMode branch, fileFilters limited to .gitea/workflows/image.yml),
|
||||
allowed by RENOVATE_ALLOWED_COMMANDS of .gitea/workflows/renovate.yml. It is a no-op when no image
|
||||
input changed, so a dependency bump that changes an image input carries its version bump and
|
||||
passes the `bump` check without a human edit.
|
||||
Moving the consumers' pins to the digest the build produces stays a separate, later pull
|
||||
request (build on main, then the pin follow-up).
|
||||
|
||||
|
||||
Reference in new issue
Block a user