Skip to content

chore(renovate): add customManager for chunkah container image#322

Merged
castrojo merged 1 commit intoprojectbluefin:mainfrom
castrojo:feature/fix-phantom-version-prs
Apr 23, 2026
Merged

chore(renovate): add customManager for chunkah container image#322
castrojo merged 1 commit intoprojectbluefin:mainfrom
castrojo:feature/fix-phantom-version-prs

Conversation

@castrojo
Copy link
Copy Markdown
Contributor

Problem

CHUNKAH_REF in the Justfile was pinned by digest (quay.io/coreos/chunkah@sha256:...) but had no Renovate coverage — new chunkah versions were silently missed.

Fix

Add a customManagers regex entry that matches the CHUNKAH_REF="quay.io/coreos/chunkah@sha256:<digest>" pattern in the Justfile. Renovate will now bump the digest automatically when a new latest is published, with the same auto-merge behavior as other custom.regex entries.

CHUNKAH_REF in Justfile was pinned by digest but had no Renovate
coverage — new versions were silently missed. Add a regex manager
that matches the CHUNKAH_REF="quay.io/coreos/chunkah@sha256:<digest>"
pattern so Renovate will bump the digest automatically.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@castrojo castrojo merged commit c867092 into projectbluefin:main Apr 23, 2026
2 of 3 checks passed
@castrojo castrojo deleted the feature/fix-phantom-version-prs branch April 23, 2026 20:23
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a Renovate regex manager to track the 'chunkah' container image digest in the Justfile. The review feedback suggests making the regex more robust to handle various shell assignment formats and adding a package rule to group updates for consistency and reduced PR noise.

Comment thread .github/renovate.json5
"/^Justfile$/"
],
"matchStrings": [
"CHUNKAH_REF=\"(?<depName>quay\\.io/coreos/chunkah)@sha256:(?<currentDigest>[a-f0-9]{64})\""
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The regex for matchStrings is quite rigid and might fail if there are minor formatting changes in the Justfile, such as adding a space after the equals sign or using single quotes. While it matches the current implementation, consider making it more robust to handle common shell assignment variations.

        "CHUNKAH_REF=\\s*[\\\"'](?<depName>quay\\.io/coreos/chunkah)@sha256:(?<currentDigest>[a-f0-9]{64})[\\\"']"

Comment thread .github/renovate.json5
Comment on lines +51 to +61
{
"customType": "regex",
"managerFilePatterns": [
"/^Justfile$/"
],
"matchStrings": [
"CHUNKAH_REF=\"(?<depName>quay\\.io/coreos/chunkah)@sha256:(?<currentDigest>[a-f0-9]{64})\""
],
"datasourceTemplate": "docker",
"currentValueTemplate": "latest"
},
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To ensure consistency with other container image updates in this repository (like bst2), consider adding a packageRule to group these updates. This helps in managing PR noise if multiple dependencies are updated simultaneously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant