From 8f82c4c74869117b73570794a6afd136d5ab49d1 Mon Sep 17 00:00:00 2001 From: monopole Date: Mon, 7 Jun 2021 12:25:57 -0700 Subject: [PATCH] Don't run helm inflator test against released version. --- hack/testExamplesAgainstKustomize.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hack/testExamplesAgainstKustomize.sh b/hack/testExamplesAgainstKustomize.sh index e8db00a67..8ef8401ae 100755 --- a/hack/testExamplesAgainstKustomize.sh +++ b/hack/testExamplesAgainstKustomize.sh @@ -34,9 +34,14 @@ mdrip --mode test --blockTimeOut 15m \ # TODO: make work for non-linux if onLinuxAndNotOnRemoteCI; then - echo "On linux, and not on remote CI. Running expensive tests." - make $MYGOBIN/helmV3 - mdrip --mode test --label testHelm examples/chart.md + if [ "$version" == "HEAD" ]; then + echo "On linux, and not on remote CI. Running helm tests." + make $MYGOBIN/helmV3 + mdrip --mode test --label testHelm examples/chart.md + else + echo "Skipping helm tests against $version." + echo "Helm chart inflator has new features (includeCRD) only in HEAD." + fi fi # Force outside logic to rebuild kustomize rather than