ci(images): assign image versions in CI and open the pin PR right after a push
The image.yml matrix holds a hand-edited base (MAJOR.MINOR) per image instead of a version. On main, scripts/next_image_version.py compares a checksum of the image's inputs with the inputs-sha256 label of the newest published <base>.N and the job publishes <base>.N+1 when they differ, or builds nothing when they match. A published tag is still never moved. renovate.yml runs live on the successful completion of Images (workflow_run), so the pin pull request opens minutes after a push instead of on the schedule. Removed: bump_image_versions.py and its tests, check_image_versions.py bump, Lint's bump step, Renovate's postUpgradeTasks, and the bot-diff allowance for matrix version lines. Closes #165 Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
1 parent
8da65bd08e
commit
b12c990b6a
23 files changed
+484
-1064
No files matched your search
@@ -97,9 +97,9 @@ IGNORED = (
|
||||
".gitea/workflows/image.yml",
|
||||
".gitea/workflows/renovate.yml",
|
||||
".gitea/workflows/gitea-release-key.yml",
|
||||
"scripts/bump_image_versions.py",
|
||||
"scripts/check_bot_pr_diff.py",
|
||||
"scripts/check_image_versions.py",
|
||||
"scripts/next_image_version.py",
|
||||
"scripts/check_tarball.py",
|
||||
"scripts/check_gitea_release_key.py",
|
||||
"scripts/ansible-lint.sh",
|
||||
|
||||
Reference in new issue
Block a user