From ccfebd1a700583e73581511aa60b9550fc400fa7 Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Thu, 25 Apr 2024 00:18:57 +0200 Subject: [PATCH] We need helm linting at this time Because the linting makes the dependency update. We will need to split linting and dep update later. --- generator/tools_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/tools_test.go b/generator/tools_test.go index b0fd7fa..6fbdd6b 100644 --- a/generator/tools_test.go +++ b/generator/tools_test.go @@ -38,7 +38,7 @@ func _compile_test(t *testing.T, options ...string) string { force := false outputDir := "./chart" profiles := make([]string, 0) - helmdepUpdate := false + helmdepUpdate := true var appVersion *string chartVersion := "0.1.0" convertOptions := ConvertOptions{ @@ -50,6 +50,7 @@ func _compile_test(t *testing.T, options ...string) string { ChartVersion: chartVersion, } Convert(convertOptions, "compose.yml") + // launch helm lint to check the generated chart if helmLint(convertOptions) != nil { t.Errorf("Failed to lint the generated chart")