fix: configure renovate for ig-gadgets#8784
Open
chmill-zz wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aligns Renovate automation for Inspektor Gadget (“ig”) and ig-gadgets so automated update PRs follow the same constraints, by teaching Renovate how to update the pinned ig-gadgets package versions in install-ig.sh and grouping ig + ig-gadgets updates together.
Changes:
- Add Renovate annotations to
vhdbuilder/packer/install-ig.shso ig-gadgets DEB/RPM pinned versions can be updated automatically. - Extend Renovate package rules to include
ig-gadgetsalongsideigfor patch/minor updates, and add a regex custom manager forinstall-ig.sh. - Add a ShellSpec test asserting ig-gadgets upstream version matches the upstream version(s) of ig tracked in
parts/common/components.json.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| vhdbuilder/packer/install-ig.sh | Adds Renovate hints for updating pinned ig-gadgets DEB/RPM versions. |
| spec/vhdbuilder/packer/install_ig_spec.sh | Adds a test ensuring ig-gadgets upstream version matches ig’s upstream version(s) in components.json. |
| .github/renovate.json | Groups ig + ig-gadgets updates and adds a custom regex manager to update ig-gadgets pins in install-ig.sh. |
75e9587 to
1455688
Compare
djsly
approved these changes
Jun 27, 2026
| # release. testInspektorGadgetAssets should catch any mismatch. | ||
| # Since ig-gadgets has a different publishing pattern, keep it out of | ||
| # components.json and let Renovate manage the pinned package versions here. | ||
| # renovate: datasource=custom.deb2004 depName=ig-gadgets versioning=deb |
Collaborator
There was a problem hiding this comment.
Can we move away from 2004 … :)
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.
What this PR does / why we need it:
ig and gadgets are two different things in pmc. originally we just had manual update for gadgets and renovate for ig. but the automated prs weren't following the ig / gadgets constraints. so we met sadness.
this attempts to align ig and gadgets in the automated prs
Which issue(s) this PR fixes:
Fixes #