File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
set -eu
4
4
5
5
CHART_DIR=" charts/cert-manager-webhook-ovh"
6
- SCHEMA_VERSION =" 0.0.1"
6
+ CONFIG_VERSION =" 0.0.1"
7
7
8
8
COMMITS_TO_PUSH=" $( git log --oneline -- " origin..HEAD" | awk ' END { print NR }' ) "
9
9
26
26
if [ -d " $CHART_DIR " ]; then
27
27
echo -n " Linting Chart $CHART_DIR : "
28
28
# check for helm syntax problems
29
- helm lint " $CHART_DIR " --set " schemaVersion =${SCHEMA_VERSION } " > /dev/null 2>&1 || exit 1
29
+ helm lint " $CHART_DIR " --set " configVersion =${CONFIG_VERSION } " > /dev/null 2>&1 || exit 1
30
30
# check for any error returned by the chart itself
31
- helm lint " $CHART_DIR " --set " schemaVersion =${SCHEMA_VERSION } " 2>&1 > /dev/null | grep -i ' error' > /dev/null && exit 1
31
+ helm lint " $CHART_DIR " --set " configVersion =${CONFIG_VERSION } " 2>&1 > /dev/null | grep -i ' error' > /dev/null && exit 1
32
32
echo " passed."
33
33
else
34
34
echo " Missing '$CHART_DIR '"
You can’t perform that action at this time.
0 commit comments