1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 02:45:06 +00:00

commented out helm version check for first time

This commit is contained in:
Yuvraj 2020-05-28 13:02:48 -07:00 committed by GitHub
parent 17b4404266
commit c46e07d8bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,15 +23,15 @@ jobs:
chmod 700 get_helm.sh
./get_helm.sh
helm init --client-only
- name: Check Chart Version
run: |
helm repo add evalsocket ${{ env.HELM_CHART_URL }}
helm search nirmata/kyverno --version `cat charts/kyverno/Chart.yaml | grep '^version: [[:alnum:]]' | awk '{print $2}'` > HELM_CHART_STATUS.txt
HELM_CHART_STATUS=`cat HELM_CHART_STATUS.txt`
if [ "${HELM_CHART_STATUS}" != 'No results found' ]; then
echo 'Version already exist, impossible to continue...'
exit 1
fi
# - name: Check Chart Version
# run: |
# helm repo add evalsocket ${{ env.HELM_CHART_URL }}
# helm search nirmata/kyverno --version `cat charts/kyverno/Chart.yaml | grep '^version: [[:alnum:]]' | awk '{print $2}'` > HELM_CHART_STATUS.txt
# HELM_CHART_STATUS=`cat HELM_CHART_STATUS.txt`
# if [ "${HELM_CHART_STATUS}" != 'No results found' ]; then
# echo 'Version already exist, impossible to continue...'
# exit 1
# fi
- name: Check sintax
run: helm lint charts/oldmonk/
- name: Create package