diff --git a/test/integration/test-cases/chart-needs.sh b/test/integration/test-cases/chart-needs.sh index bbf91605..c02228ef 100644 --- a/test/integration/test-cases/chart-needs.sh +++ b/test/integration/test-cases/chart-needs.sh @@ -35,7 +35,7 @@ for i in $(seq 10); do info "Comparing lint/chart-needs #$i" # Remove azuredisk-csi-driver repo to ensure consistent output (repo addition message) ${helm} repo remove azuredisk-csi-driver &>/dev/null || true - ${helmfile} -f ${chart_need_case_input_dir}/${config_file} lint --include-needs | grep -v Linting | grep -v "has been removed" | grep -Ev "(Warning:.*is not a valid SemVerV2|\[WARNING\].*is not a valid SemVerV2|failed to load plugins)" > ${chart_needs_lint_reverse} || fail "\"helmfile lint\" shouldn't fail" + ${helmfile} -f ${chart_need_case_input_dir}/${config_file} lint --include-needs | grep -v Linting | grep -v "has been removed" | grep -Ev "(Updating repo|Hang tight while we grab|Update Complete|Successfully got an update from|Warning:.*is not a valid SemVerV2|\[WARNING\].*is not a valid SemVerV2|failed to load plugins)" > ${chart_needs_lint_reverse} || fail "\"helmfile lint\" shouldn't fail" diff -u ${lint_out_file} ${chart_needs_lint_reverse} || fail "\"helmfile lint\" should be consistent" done diff --git a/test/integration/test-cases/chart-needs/output/lint-live b/test/integration/test-cases/chart-needs/output/lint-live index f60513c7..e0fa652c 100644 --- a/test/integration/test-cases/chart-needs/output/lint-live +++ b/test/integration/test-cases/chart-needs/output/lint-live @@ -1,15 +1,8 @@ "azuredisk-csi-driver" has been added to your repositories -Hang tight while we grab the latest from your chart repositories... -...Successfully got an update from "azuredisk-csi-driver" chart repository -...Successfully got an update from "ingress-nginx" chart repository -...Successfully got an update from "elastic" chart repository -...Successfully got an update from "incubator" chart repository -...Successfully got an update from "prometheus-community" chart repository -...Successfully got an update from "bitnami" chart repository -Update Complete. ⎈Happy Helming!⎈ - [INFO] Chart.yaml: icon is recommended [INFO] values.yaml: file does not exist 1 chart(s) linted, 0 chart(s) failed +[INFO] Chart.yaml: icon is recommended +1 chart(s) linted, 0 chart(s) failed diff --git a/test/integration/test-cases/chart-needs/output/lint-live-helm4 b/test/integration/test-cases/chart-needs/output/lint-live-helm4 index f60513c7..e0fa652c 100644 --- a/test/integration/test-cases/chart-needs/output/lint-live-helm4 +++ b/test/integration/test-cases/chart-needs/output/lint-live-helm4 @@ -1,15 +1,8 @@ "azuredisk-csi-driver" has been added to your repositories -Hang tight while we grab the latest from your chart repositories... -...Successfully got an update from "azuredisk-csi-driver" chart repository -...Successfully got an update from "ingress-nginx" chart repository -...Successfully got an update from "elastic" chart repository -...Successfully got an update from "incubator" chart repository -...Successfully got an update from "prometheus-community" chart repository -...Successfully got an update from "bitnami" chart repository -Update Complete. ⎈Happy Helming!⎈ - [INFO] Chart.yaml: icon is recommended [INFO] values.yaml: file does not exist 1 chart(s) linted, 0 chart(s) failed +[INFO] Chart.yaml: icon is recommended +1 chart(s) linted, 0 chart(s) failed