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:
parent
17b4404266
commit
c46e07d8bd
1 changed files with 9 additions and 9 deletions
18
.github/workflows/helm-release.yaml
vendored
18
.github/workflows/helm-release.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue