feat(renovate): follow our own image pins and automerge them
The mortis/* pin rule was disabled until Phase 4. Enabled with automerge: the pin pull request's own Lint and Build run in the new image before the merge, the bot-diff gate allows only the pin lines, and check_image_versions pins rejects a pin ahead of the matrix. Majors stay manual. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
6cf2080202
commit
4240b0c6b6
2 files changed
+9
-7
No files matched your search
+3
-3
@@ -57,7 +57,7 @@
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "The MOLECULE_IMAGE value of molecule.yml is a multi-line `>-` scalar, which the github-actions manager does not read; matched here by its exact shape. Only used by the pin-follow rule below, which is disabled until Phase 4.",
|
||||
"description": "The MOLECULE_IMAGE value of molecule.yml is a multi-line `>-` scalar, which the github-actions manager does not read; matched here by its exact shape. Used by the pin-follow rule below.",
|
||||
"managerFilePatterns": [
|
||||
"/^\\.gitea/workflows/molecule\\.yml$/"
|
||||
],
|
||||
@@ -149,11 +149,11 @@
|
||||
"automerge": false
|
||||
},
|
||||
{
|
||||
"description": "Pin follow-up for our own images (git.rkdr.net/mortis/*): DISABLED. Phase 4, after a dry run against the registry; until then moving a pin is a reviewed hand edit (scripts/check_image_versions.py pins).",
|
||||
"description": "Pin follow-up for our own images (git.rkdr.net/mortis/*): moves the image:<version>@sha256:<digest> pins of lint.yml, build.yml and molecule.yml to the newest published version and its digest, and automerges (PR 2 of the update loop). The pull request's own Lint and Build run in the new image before the merge, scripts/check_bot_pr_diff.py allows only these pin lines, and scripts/check_image_versions.py pins fails a pin that is newer than the matrix. The registry lists tags and digests anonymously, so no hostRules are needed. A major version stays manual (rule above).",
|
||||
"matchPackageNames": [
|
||||
"git.rkdr.net/mortis/**"
|
||||
],
|
||||
"enabled": false
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user