Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions parts/common/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -1771,23 +1771,23 @@
"versionsV2": [
{
"renovateTag": "name=ig, repository=production, os=ubuntu, release=24.04",
"latestVersion": "0.51.0-ubuntu24.04u4"
"latestVersion": "0.52.0-ubuntu24.04u2"
}
]
},
"r2204": {
"versionsV2": [
{
"renovateTag": "name=ig, repository=production, os=ubuntu, release=22.04",
"latestVersion": "0.51.0-ubuntu22.04u4"
"latestVersion": "0.52.0-ubuntu22.04u2"
}
]
},
"r2004": {
"versionsV2": [
{
"renovateTag": "name=ig, repository=production, os=ubuntu, release=20.04",
"latestVersion": "0.51.0-ubuntu20.04u4"
"latestVersion": "0.52.0-ubuntu20.04u2"
}
]
}
Expand All @@ -1797,7 +1797,7 @@
"versionsV2": [
{
"renovateTag": "RPM_registry=https://packages.microsoft.com/azurelinux/3.0/prod/cloud-native/x86_64/repodata, name=ig, os=azurelinux, release=3.0",
"latestVersion": "0.51.0-4.azl3"
"latestVersion": "0.52.0-2.azl3"
}
]
}
Expand Down
15 changes: 0 additions & 15 deletions spec/vhdbuilder/packer/install_ig_spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,3 @@ Describe 'ig_extract_upstream_version function'
The stderr should include "[ig] Could not parse upstream version from 'not-a-version'"
End
End

Describe 'ig_validate_version_compatibility function'
Include './vhdbuilder/packer/install-ig.sh'

It 'writes version mismatches to stderr'
OS="AZURELINUX"
AZURELINUX_OS_NAME="AZURELINUX"
IG_VERSION="0.51.1-4.azl3"

When run ig_validate_version_compatibility
The status should equal 1
The output should eq ""
The stderr should include "[ig] ig (0.51.1-4.azl3) and ig-gadgets (0.51.0-1.azl3) must share upstream version, found 0.51.1 vs 0.51.0"
End
End
4 changes: 2 additions & 2 deletions vhdbuilder/packer/install-ig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ IG_SKIP_FILE="/etc/ig.d/skip_vhd_ig"
# Since ig-gadgets is NOT in components.json (no Renovate coverage), its version
# must still be updated manually here whenever ig moves to a new upstream
# release. testInspektorGadgetAssets should catch any mismatch.
IG_GADGETS_DEB_VERSION="0.51.0-ubuntu20.04u1"
IG_GADGETS_RPM_VERSION="0.51.0-1.azl3"
IG_GADGETS_DEB_VERSION="0.52.0-ubuntu20.04u1"
IG_GADGETS_RPM_VERSION="0.52.0-1.azl3"

ig_detect_arch() {
CPU_ARCH=$(getCPUArch)
Expand Down
Loading