From d65db11922facc12ecff563b5bb9041442c4eb8a Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Thu, 25 May 2023 12:07:45 +0200 Subject: [PATCH] Update fetch_helm_deps.sh Signed-off-by: Kjeld Schouten --- .github/scripts/fetch_helm_deps.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/scripts/fetch_helm_deps.sh b/.github/scripts/fetch_helm_deps.sh index fb62434a9d4..c7dc1536b00 100755 --- a/.github/scripts/fetch_helm_deps.sh +++ b/.github/scripts/fetch_helm_deps.sh @@ -113,8 +113,10 @@ for idx in $(eval echo "{0..$length}"); do if [ -f "$cache_path/$repo_dir/$name-$version.tgz" ]; then echo "✅ Dependency Downloaded!" echo "Validating dependency signature..." - helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/pubring.gpg || \ - helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/pubring.gpg || exit 1 + if [[ $train_chart != "incubator" ]]; then + helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/pubring.gpg || \ + helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/pubring.gpg || exit 1 + fi else echo "❌ Failed to download dependency" # Try helm dependency build/update or otherwise fail fast if a dep fails to download...