Skip to content

Commit

Permalink
We need helm linting at this time
Browse files Browse the repository at this point in the history
Because the linting makes the dependency update. We will need to split
linting and dep update later.
  • Loading branch information
metal3d committed Apr 24, 2024
1 parent e4f67db commit ccfebd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generator/tools_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand All @@ -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")
Expand Down

0 comments on commit ccfebd1

Please sign in to comment.