mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 21:30:35 +00:00
Check also optional parts of charts
The CI job currently only checks the bare chart, with optional flags set to defaults which cause it to miss those parts. Set the flags so that the job also checks those parts.
This commit is contained in:
committed by
Miguel Angel Ajo Pelayo
parent
97e83e4fc8
commit
1d2af4468b
+2
-1
@@ -8,6 +8,7 @@ env:
|
|||||||
- GH_URL=https://submariner-io.github.io/submariner-charts/charts
|
- GH_URL=https://submariner-io.github.io/submariner-charts/charts
|
||||||
- CHARTS_DIR=charts
|
- CHARTS_DIR=charts
|
||||||
- YAMLLINT_VERSION=1.17.0
|
- YAMLLINT_VERSION=1.17.0
|
||||||
|
- HELM_FLAGS='--set submariner.serviceDiscovery=true,serviceAccounts.globalnet.create=true,globalCidr="169.254.0.0/16"'
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- wget -q ${HELM_URL}/${HELM_TGZ}
|
- wget -q ${HELM_URL}/${HELM_TGZ}
|
||||||
@@ -17,7 +18,7 @@ install:
|
|||||||
- sudo pip install yamllint=="${YAMLLINT_VERSION}"
|
- sudo pip install yamllint=="${YAMLLINT_VERSION}"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- for dir in submariner submariner-k8s-broker; do helm lint $dir; done
|
- for dir in submariner submariner-k8s-broker; do helm lint $dir $HELM_FLAGS; done
|
||||||
- yamllint -c .yamllint.yml -s $(find . -type f -name "Chart.yaml")
|
- yamllint -c .yamllint.yml -s $(find . -type f -name "Chart.yaml")
|
||||||
- yamllint -c .yamllint.yml -s $(find . -type f -name "values.yaml")
|
- yamllint -c .yamllint.yml -s $(find . -type f -name "values.yaml")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user