jf helm package
1 parent 76f529d commit 4a1c1bcCopy full SHA for 4a1c1bc
1 file changed
helm_test.go
@@ -218,9 +218,14 @@ func TestHelmPackageWithBuildInfo(t *testing.T) {
218
err = helmCmd.Run()
219
require.NoError(t, err, "helm dependency update should succeed")
220
221
+ chartArchiveDestinationDir := filepath.Join(chartDir, "target")
222
+ err = os.MkdirAll(chartArchiveDestinationDir, 0o755)
223
+ require.NoError(t, err, "Unable to create target directory for chart archive")
224
+
225
jfrogCli := coreTests.NewJfrogCli(execMain, "jfrog", "")
226
args := []string{
227
"helm", "package", ".",
228
+ "--destination", chartArchiveDestinationDir,
229
"--build-name=" + buildName,
230
"--build-number=" + buildNumber,
231
}
0 commit comments