mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 09:45:14 +01:00
sync version comments, update actions and update cosign flag (#538)
* sync version comments, update actions and update cosign flag Signed-off-by: cpanato <ctadeu@gmail.com> * fix lints Signed-off-by: cpanato <ctadeu@gmail.com> --------- Signed-off-by: cpanato <ctadeu@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f12bab21ec
commit
7f3a83ddc5
@@ -650,10 +650,8 @@ func (t *Testing) testRelease(namespace, release, releaseSelector string) error
|
||||
if err := t.kubectl.WaitForDeployments(namespace, releaseSelector); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := t.helm.Test(namespace, release); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
|
||||
return t.helm.Test(namespace, release)
|
||||
}
|
||||
|
||||
func (t *Testing) generateInstallConfig(chart *Chart) (namespace, release, releaseSelector string, cleanup func()) {
|
||||
|
||||
@@ -61,21 +61,13 @@ func (h Helm) InstallWithValues(chart string, valuesFile string, namespace strin
|
||||
values = []string{"--values", valuesFile}
|
||||
}
|
||||
|
||||
if err := h.exec.RunProcess("helm", "install", release, chart, "--namespace", namespace,
|
||||
"--wait", values, h.extraArgs, h.extraSetArgs); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return h.exec.RunProcess("helm", "install", release, chart, "--namespace", namespace,
|
||||
"--wait", values, h.extraArgs, h.extraSetArgs)
|
||||
}
|
||||
|
||||
func (h Helm) Upgrade(chart string, namespace string, release string) error {
|
||||
if err := h.exec.RunProcess("helm", "upgrade", release, chart, "--namespace", namespace,
|
||||
"--reuse-values", "--wait", h.extraArgs, h.extraSetArgs); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return h.exec.RunProcess("helm", "upgrade", release, chart, "--namespace", namespace,
|
||||
"--reuse-values", "--wait", h.extraArgs, h.extraSetArgs)
|
||||
}
|
||||
|
||||
func (h Helm) Test(namespace string, release string) error {
|
||||
|
||||
Reference in New Issue
Block a user