From fd8c2b5d04310931737ae07649e79b9a02a129d3 Mon Sep 17 00:00:00 2001 From: Anthony Date: Thu, 7 Sep 2023 18:29:13 -0600 Subject: [PATCH] tmp fix check --- src/test/e2e/bundle_test.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/test/e2e/bundle_test.go b/src/test/e2e/bundle_test.go index f89314fe..85316874 100644 --- a/src/test/e2e/bundle_test.go +++ b/src/test/e2e/bundle_test.go @@ -107,7 +107,7 @@ func TestBundleWithRemoteInitGhcrPkg(t *testing.T) { bundlePath := filepath.Join(bundleDir, fmt.Sprintf("uds-bundle-remote-init-ghcr-%s-0.0.1.tar.zst", e2e.Arch)) ghcrLogin(t) - create(t, bundleDir) + createSecure(t, bundleDir) inspect(t, bundlePath) deploy(t, bundlePath) remove(t, bundlePath) @@ -205,6 +205,12 @@ func create(t *testing.T, bundlePath string) { require.NoError(t, err) } +func createSecure(t *testing.T, bundlePath string) { + cmd := strings.Split(fmt.Sprintf("bundle create %s --set INIT_VERSION=%s --confirm", bundlePath, zarfVersion), " ") + _, _, err := e2e.UDS(cmd...) + require.NoError(t, err) +} + func createRemote(t *testing.T, bundlePath string, registry string) { cmd := strings.Split(fmt.Sprintf("bundle create %s -o oci://%s --set INIT_VERSION=%s --confirm --insecure", bundlePath, registry, zarfVersion), " ") _, _, err := e2e.UDS(cmd...)