From b375d008a16d7a5ff8d43dc99819d85b60173b8f Mon Sep 17 00:00:00 2001 From: David Gamero Date: Tue, 22 Jul 2025 19:37:51 +0000 Subject: [PATCH 1/2] Update helm version retrieval to use JSON output for latest version --- .github/workflows/integration-tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 93926128..c4e32842 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -76,7 +76,8 @@ jobs: --repo helm/helm \ --exclude-drafts \ --exclude-pre-releases \ - --limit 1 | awk '{print $4}') + --json name,isLatest \ + --jq '.[] | select(.isLatest)|.name' | awk '{print $2}' if [[ $(helm version) != *$HELM_LATEST* ]]; then echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN $HELM_LATEST" From 8a3c06fb8bcf344010d0a09c1d7068746fd29b97 Mon Sep 17 00:00:00 2001 From: David Gamero Date: Tue, 22 Jul 2025 19:52:56 +0000 Subject: [PATCH 2/2] Fix helm latest version retrieval command syntax --- .github/workflows/integration-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index c4e32842..8b812db6 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -77,7 +77,7 @@ jobs: --exclude-drafts \ --exclude-pre-releases \ --json name,isLatest \ - --jq '.[] | select(.isLatest)|.name' | awk '{print $2}' + --jq '.[] | select(.isLatest)|.name' | awk '{print $2}') if [[ $(helm version) != *$HELM_LATEST* ]]; then echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN $HELM_LATEST"