From 1d2af4468b2e2a2c0d86db8c1b0dcb3272a6da64 Mon Sep 17 00:00:00 2001 From: Mike Kolesnik Date: Sun, 26 Apr 2020 09:57:38 +0300 Subject: [PATCH] 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. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8ab517f..6abeec0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ env: - GH_URL=https://submariner-io.github.io/submariner-charts/charts - CHARTS_DIR=charts - YAMLLINT_VERSION=1.17.0 + - HELM_FLAGS='--set submariner.serviceDiscovery=true,serviceAccounts.globalnet.create=true,globalCidr="169.254.0.0/16"' install: - wget -q ${HELM_URL}/${HELM_TGZ} @@ -17,7 +18,7 @@ install: - sudo pip install yamllint=="${YAMLLINT_VERSION}" 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 "values.yaml")