Merge pull request #163 from andyzhangx/helm-index-verify
test: add helm chart index verification
This commit is contained in:
commit
b7ef7d00b0
Binary file not shown.
@ -44,7 +44,7 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 200Mi
|
memory: 100Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 20Mi
|
memory: 20Mi
|
||||||
|
|||||||
@ -39,7 +39,7 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 200Mi
|
memory: 100Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 20Mi
|
memory: 20Mi
|
||||||
|
|||||||
@ -17,6 +17,7 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
echo "begin to verify chart tgz files ..."
|
echo "begin to verify chart tgz files ..."
|
||||||
|
git config core.filemode false
|
||||||
|
|
||||||
# verify whether chart config has changed
|
# verify whether chart config has changed
|
||||||
diff=`git diff`
|
diff=`git diff`
|
||||||
@ -46,3 +47,9 @@ if [[ -n "${diff}" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "chart tgz files verified."
|
echo "chart tgz files verified."
|
||||||
|
|
||||||
|
echo "verify helm chart index ..."
|
||||||
|
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
|
||||||
|
helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
|
||||||
|
helm search repo -l csi-driver-nfs
|
||||||
|
echo "helm chart index verified."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user