Skip to content
Snippets Groups Projects
Commit f650dacb authored by BENJAMIN ERIC HOMAN's avatar BENJAMIN ERIC HOMAN Committed by Andy Cobaugh
Browse files

add line to update current helm app

parent 469359a7
No related branches found
No related tags found
1 merge request!11Feature/check chart version
......@@ -340,6 +340,11 @@ func checkLocalChartVersion(deployable config.Deployable) {
// get helm chart version to compare to version requested in '.devtool.config'
color.New(color.FgGreen).Printf("chart name: '%s'\n", deployable.Chart)
update, err := environment.RunAndGetOutput("helm", "repo", "update")
if err != nil {
color.New(color.FgRed).Printf("Error in RunAndGetOutput: %s\n", err)
}
color.New(color.FgCyan).Printf("RunAndGetOutput (helm, update, repo): %s\n", update)
chart, err := environment.RunAndGetOutput("helm", "show", "chart", deployable.Chart)
if err != nil {
color.New(color.FgRed).Printf("Error in RunAndGetOutput: %s\n", err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment