|
|
|
@ -47,8 +47,7 @@ func TestDependencyUpdateCmd(t *testing.T) {
|
|
|
|
|
|
|
|
|
|
ociChartName := "oci-depending-chart"
|
|
|
|
|
c := createTestingMetadataForOCI(ociChartName, ociSrv.RegistryURL)
|
|
|
|
|
_, err = chartutil.Save(c, ociSrv.Dir)
|
|
|
|
|
if err != nil {
|
|
|
|
|
if _, err := chartutil.Save(c, ociSrv.Dir); err != nil {
|
|
|
|
|
t.Fatal(err)
|
|
|
|
|
}
|
|
|
|
|
ociSrv.Run(t, repotest.WithDependingChart(c))
|
|
|
|
@ -135,8 +134,7 @@ func TestDependencyUpdateCmd(t *testing.T) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// test for OCI charts
|
|
|
|
|
err = chartutil.SaveDir(c, dir())
|
|
|
|
|
if err != nil {
|
|
|
|
|
if err := chartutil.SaveDir(c, dir()); err != nil {
|
|
|
|
|
t.Fatal(err)
|
|
|
|
|
}
|
|
|
|
|
cmd := fmt.Sprintf("dependency update '%s' --repository-config %s --repository-cache %s --registry-config %s/config.json",
|
|
|
|
|