From 6edf7ab0ca6649e861d562aac62a29153458d97b Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Thu, 25 May 2023 13:39:13 +0200 Subject: [PATCH] Update fetch_helm_deps.sh Signed-off-by: Kjeld Schouten --- .github/scripts/fetch_helm_deps.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/fetch_helm_deps.sh b/.github/scripts/fetch_helm_deps.sh index c7dc1536b00..8f5fd139678 100755 --- a/.github/scripts/fetch_helm_deps.sh +++ b/.github/scripts/fetch_helm_deps.sh @@ -112,10 +112,12 @@ 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..." if [[ $train_chart != "incubator" ]]; then + 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 + else + echo "Train $train_chart is Incubator skipping dependency signature verification..." fi else echo "❌ Failed to download dependency"