Skip to content

fix: configure renovate for ig-gadgets#8784

Open
chmill-zz wants to merge 1 commit into
mainfrom
renovategadgets
Open

fix: configure renovate for ig-gadgets#8784
chmill-zz wants to merge 1 commit into
mainfrom
renovategadgets

Conversation

@chmill-zz

Copy link
Copy Markdown
Contributor

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 #

Copilot AI review requested due to automatic review settings June 27, 2026 04:17
@chmill-zz chmill-zz changed the title Configure Renovate for ig-gadgets fix:Configure Renovate for ig-gadgets Jun 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.sh so ig-gadgets DEB/RPM pinned versions can be updated automatically.
  • Extend Renovate package rules to include ig-gadgets alongside ig for patch/minor updates, and add a regex custom manager for install-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.

Comment thread spec/vhdbuilder/packer/install_ig_spec.sh
Comment thread spec/vhdbuilder/packer/install_ig_spec.sh Outdated
@chmill-zz chmill-zz changed the title fix:Configure Renovate for ig-gadgets fix: configure renovate for ig-gadgets 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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can we move away from 2004 … :)

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.

3 participants