From 4146798b8f17db9f0a94b6b3c8c6d0fae1c1120d Mon Sep 17 00:00:00 2001 From: peppi-lotta Date: Thu, 27 Feb 2025 09:37:53 +0200 Subject: [PATCH] Remove IPAM manifests related links and check Signed-off-by: peppi-lotta --- docs/releasing.md | 5 +---- hack/verify-release.sh | 26 -------------------------- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/docs/releasing.md b/docs/releasing.md index 8e26b4add2..a8d0d1eb64 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -25,10 +25,7 @@ Things you should check before making a release: - Verify BMO's `apis` and `pkg/hardwareutils` dependencies are the latest. Prior art: [#1163](https://github.com/metal3-io/cluster-api-provider-metal3/pull/1163) - - Uplift IPAM `api` dependency, - [container image version](https://github.com/metal3-io/cluster-api-provider-metal3/blob/main/config/ipam/image_patch.yaml) - , and - [manifest resource](https://github.com/metal3-io/cluster-api-provider-metal3/blob/main/config/ipam/kustomization.yaml) + - Uplift IPAM `api` dependency . Prior art: [#999](https://github.com/metal3-io/cluster-api-provider-metal3/pull/999) - Verify any other direct or indirect dependency is uplifted to close any diff --git a/hack/verify-release.sh b/hack/verify-release.sh index e7f636f0ea..80c7517f99 100755 --- a/hack/verify-release.sh +++ b/hack/verify-release.sh @@ -620,32 +620,6 @@ verify_module_releases() echo -e "Done\n" } -verify_ipam_manifests() -{ - # verify version in ipam manifests match the ipam module version - # NOTE: this is CAPM3 specific check - local ipam_version - - echo "Verifying IPAM manifests match go.mod ..." - - # shellcheck disable=SC2311 - ipam_version="$(_module_get_version "ip-address-manager/api")" - - declare -A ipam_manifests=( - [config/ipam/image_patch.yaml]="quay.io/metal3-io/ip-address-manager:${ipam_version}" - [config/ipam/kustomization.yaml]="https://github.com/metal3-io/ip-address-manager/releases/download/${ipam_version}/ipam-components.yaml" - ) - - for file in "${!ipam_manifests[@]}"; do - str="${ipam_manifests[${file}]}" - if ! grep -q -- "${str}" "${file}"; then - echo "ERROR: IPAM version in go.mod and manifests mismatch!" - fi - done - - echo -e "Done\n" -} - verify_vulnerabilities() { # run osv-scanner to verify if we have open vulnerabilities in deps