We need helm linting at this time
Because the linting makes the dependency update. We will need to split linting and dep update later.
This commit is contained in:
@@ -38,7 +38,7 @@ func _compile_test(t *testing.T, options ...string) string {
|
|||||||
force := false
|
force := false
|
||||||
outputDir := "./chart"
|
outputDir := "./chart"
|
||||||
profiles := make([]string, 0)
|
profiles := make([]string, 0)
|
||||||
helmdepUpdate := false
|
helmdepUpdate := true
|
||||||
var appVersion *string
|
var appVersion *string
|
||||||
chartVersion := "0.1.0"
|
chartVersion := "0.1.0"
|
||||||
convertOptions := ConvertOptions{
|
convertOptions := ConvertOptions{
|
||||||
@@ -50,6 +50,7 @@ func _compile_test(t *testing.T, options ...string) string {
|
|||||||
ChartVersion: chartVersion,
|
ChartVersion: chartVersion,
|
||||||
}
|
}
|
||||||
Convert(convertOptions, "compose.yml")
|
Convert(convertOptions, "compose.yml")
|
||||||
|
|
||||||
// launch helm lint to check the generated chart
|
// launch helm lint to check the generated chart
|
||||||
if helmLint(convertOptions) != nil {
|
if helmLint(convertOptions) != nil {
|
||||||
t.Errorf("Failed to lint the generated chart")
|
t.Errorf("Failed to lint the generated chart")
|
||||||
|
Reference in New Issue
Block a user