Skip to content

Commit

Permalink
Log values files used (#96)
Browse files Browse the repository at this point in the history
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
  • Loading branch information
unguiculus authored and mattfarina committed Jan 24, 2019
1 parent 9de228d commit 3e4f4f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/chart/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ func (t *Testing) LintChart(chart string, valuesFiles []string) TestResult {
}

for _, valuesFile := range valuesFiles {
if valuesFile != "" {
fmt.Printf("\nLinting chart with values file '%s'...\n\n", valuesFile)
}
if err := t.helm.LintWithValues(chart, valuesFile); err != nil {
result.Error = err
break
Expand All @@ -343,6 +346,9 @@ func (t *Testing) InstallChart(chart string, valuesFiles []string) TestResult {
}

for _, valuesFile := range valuesFiles {
if valuesFile != "" {
fmt.Printf("\nInstalling chart with values file '%s'...\n\n", valuesFile)
}
var namespace, release, releaseSelector string

// Use anonymous function. Otherwise deferred calls would pile up
Expand Down

0 comments on commit 3e4f4f8

Please sign in to comment.