File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3434 echo " checking yamllint under path: $path ..."
3535 yamllint -f parsable $path | grep -v " line too long" > $LOG
3636 cat $LOG
37- linecount=` cat $LOG | grep -v " line too long " | wc -l`
37+ linecount=` cat $LOG | grep -v crd-csi-snapshot | wc -l`
3838 if [ $linecount -gt 0 ]; then
3939 echo " yaml files under $path are not linted, failed with: "
4040 cat $LOG
4444
4545echo " checking yamllint under path: $helmPath ..."
4646yamllint -f parsable $helmPath /* .yaml | grep -v " line too long" | grep -v " too many spaces inside braces" | grep -v " missing document start" | grep -v " syntax error" > $LOG
47- linecount=` cat $LOG | wc -l`
47+ linecount=` cat $LOG | grep -v crd-csi-snapshot | wc -l`
4848if [ $linecount -gt 0 ]; then
4949 echo " yaml files under $helmPath / are not linted, failed with: "
5050 cat $LOG
You can’t perform that action at this time.
0 commit comments