Update fetch_helm_deps.sh
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
@@ -112,10 +112,12 @@ 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..."
|
|
||||||
if [[ $train_chart != "incubator" ]]; then
|
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 || \
|
||||||
helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/pubring.gpg || exit 1
|
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
|
fi
|
||||||
else
|
else
|
||||||
echo "❌ Failed to download dependency"
|
echo "❌ Failed to download dependency"
|
||||||
|
|||||||
Reference in New Issue
Block a user