fix: update tgz chart file
This commit is contained in:
parent
52430fa247
commit
31d86050c1
Binary file not shown.
@ -79,8 +79,22 @@ validate_image "${expected_nfs_image}" "${nfs_image}"
|
|||||||
|
|
||||||
echo "Images in deploy/ matches those in the latest helm chart."
|
echo "Images in deploy/ matches those in the latest helm chart."
|
||||||
|
|
||||||
# verify whether latest chart config has changed
|
# verify whether chart config has changed
|
||||||
tar -xvf charts/latest/*.tgz -C charts/latest/
|
diff=`git diff`
|
||||||
|
if [[ -n "${diff}" ]]; then
|
||||||
|
echo "${diff}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
for dir in charts/*
|
||||||
|
do
|
||||||
|
if [ -d $dir ]; then
|
||||||
|
if [ -f $dir/*.tgz ]; then
|
||||||
|
echo "verify $dir ..."
|
||||||
|
tar -xvf $dir/*.tgz -C $dir/
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
diff=`git diff`
|
diff=`git diff`
|
||||||
if [[ -n "${diff}" ]]; then
|
if [[ -n "${diff}" ]]; then
|
||||||
@ -90,4 +104,4 @@ if [[ -n "${diff}" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "latest chart tgz file verified."
|
echo "chart tgz files verified."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user