Update fetch_helm_deps.sh

Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten 2023-05-07 12:48:52 +02:00 committed by GitHub
parent 968cdebb4c
commit 29a8c18c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -94,8 +94,7 @@ for idx in $(eval echo "{0..$length}"); do
if [ -f "$cache_path/$repo_dir/$name-$version.tgz" ]; then if [ -f "$cache_path/$repo_dir/$name-$version.tgz" ]; then
echo "✅ Dependency Downloaded!" echo "✅ Dependency Downloaded!"
echo "Validating dependency signature..." echo "Validating dependency signature..."
# TODO: enable after first builds are passing helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/secring.gpg || helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/secring.gpg || echo "❌ Failed to verify dependency chart signature" && exit 1
# helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/secring.gpg || helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/secring.gpg || echo "❌ Failed to verify dependency chart signature" && exit 1
else else
echo "❌ Failed to download dependency" echo "❌ Failed to download dependency"
# Try helm dependency build/update or otherwise fail fast if a dep fails to download... # Try helm dependency build/update or otherwise fail fast if a dep fails to download...