renovate: Update image-tools images regex#43087
Merged
julianwiedmann merged 1 commit intomainfrom Dec 2, 2025
Merged
Conversation
This PR updates the custom versioning regex used for the images from the `image-tools` repository to reflect image versioning scheme changes from cilium/image-tools#413. The existing regex is kept for images that still follow the previous versioning scheme (`image-compilers`, `image-maker`, `startup-script` and `image-tester`). Other images now have a slighlty more elaborate regex to account for their "semantic + timestamp + commit sha" new versioning scheme. Reference: https://docs.renovatebot.com/modules/versioning/regex/ Note: we're using the `build` capture group for the timestamp element Note: Renovate requires that all previous capture groups match (even if with an empty value), this is why the `patch` capture group is configured to either match the patch version component or match to an empty value in case the version does not have a patch number (like for the `checkpatch` and `network-perf` images). Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
1 task
aanm
approved these changes
Dec 2, 2025
Member
Author
|
/test |
HadrienPatte
added a commit
that referenced
this pull request
Dec 2, 2025
Fixes #43091 Related PR #43087: > Note: Renovate requires that all previous capture groups match (even if with an empty value), this is why the patch capture group is configured to either match the patch version component or match to an empty value in case the version does not have a patch number (like for the checkpatch and network-perf images). I did test that initial PR on mend-hosted renovate, but it looks like cilium's self-hosted flavor does not like that config. To solve the issue here I split the images that have a patch component in their version from the ones that don't in two separate groups with their own regex. Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
HadrienPatte
added a commit
that referenced
this pull request
Dec 2, 2025
Fixes #43091 Related PR #43087: > Note: Renovate requires that all previous capture groups match (even if with an empty value), this is why the patch capture group is configured to either match the patch version component or match to an empty value in case the version does not have a patch number (like for the checkpatch and network-perf images). I did test that initial PR on mend-hosted renovate, but it looks like cilium's self-hosted flavor does not like that config. To solve the issue here I split the images that have a patch component in their version from the ones that don't in two separate groups with their own regex. Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Dec 2, 2025
Fixes #43091 Related PR #43087: > Note: Renovate requires that all previous capture groups match (even if with an empty value), this is why the patch capture group is configured to either match the patch version component or match to an empty value in case the version does not have a patch number (like for the checkpatch and network-perf images). I did test that initial PR on mend-hosted renovate, but it looks like cilium's self-hosted flavor does not like that config. To solve the issue here I split the images that have a patch component in their version from the ones that don't in two separate groups with their own regex. Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
HadrienPatte
added a commit
that referenced
this pull request
Dec 2, 2025
Update those images to their latest version following their new versioning scheme (see cilium/image-tools#413). Followup updates for those images will be handled by renovate (see #43087). Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
HadrienPatte
added a commit
that referenced
this pull request
Dec 10, 2025
Update those images to their latest version following their new versioning scheme (see cilium/image-tools#413). Followup updates for those images will be handled by renovate (see #43087). Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Dec 10, 2025
Update those images to their latest version following their new versioning scheme (see cilium/image-tools#413). Followup updates for those images will be handled by renovate (see #43087). Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the custom versioning regex used for the images from the
image-toolsrepository to reflect image versioning scheme changes from cilium/image-tools#413.The existing regex is kept for images that still follow the previous versioning scheme (
image-compilers,image-maker,startup-scriptandimage-tester). Other images now have a slighlty more elaborate regex to account for their "semantic + timestamp + commit sha" new versioning scheme.Reference: https://docs.renovatebot.com/modules/versioning/regex/
Note: we're using the
buildcapture group for the timestamp elementNote: Renovate requires that all previous capture groups match (even if with an empty value), this is why the
patchcapture group is configured to either match the patch version component or match to an empty value in case the version does not have a patch number (like for thecheckpatchandnetwork-perfimages).The new regex properly matches all the expected segments for the concerned images:

Using this renovate config on a test repository, renovate properly tracks the versioning of those images:

Note: in that example above, the
llvmimage has a tag from the old versioning scheme but that image now uses the new versioning scheme so renovate ignores it.