mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 09:45:14 +01:00
List changed fixes (#190)
Signed-off-by: Jeff Knurek <j.knurek@travelaudience.com>
This commit is contained in:
committed by
Reinhard Nägele
parent
b8572749f0
commit
b9d4ad0a41
@@ -705,7 +705,7 @@ func (t *Testing) ComputeChangedChartDirectories() ([]string, error) {
|
||||
changedChartDirs = append(changedChartDirs, chartDir)
|
||||
}
|
||||
} else {
|
||||
fmt.Printf("Directory '%s' is no chart directory. Skipping...", chartDir)
|
||||
fmt.Printf("Directory '%s' is not a valid chart directory. Skipping...\n", dir)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -131,6 +131,7 @@ func (u ChartUtils) LookupChartDir(chartDirs []string, dir string) (string, erro
|
||||
for {
|
||||
chartYaml := path.Join(currentDir, "Chart.yaml")
|
||||
parent := path.Dir(path.Dir(chartYaml))
|
||||
chartDir = strings.TrimRight(chartDir, "/") // remove any trailing slash from the dir
|
||||
|
||||
// check directory has a Chart.yaml and that it is in a
|
||||
// direct subdirectory of a configured charts directory
|
||||
|
||||
Reference in New Issue
Block a user