Skip to content

Commit

Permalink
path to inspect
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Dec 19, 2024
1 parent 4116288 commit fbd0afd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/test/nightly/ecr_publish_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,15 @@ func TestECRPublishing(t *testing.T) {
require.NoError(t, err, stdOut, stdErr)

// Validate that we can pull the package down from ECR
stdOut, stdErr, err = e2e.Zarf(t, "package", "pull", upstreamPackageURL, keyFlag, fmt.Sprintf("-o=%s", tmpDir))
pullTempDir := t.TempDir()
stdOut, stdErr, err = e2e.Zarf(t, "package", "pull", upstreamPackageURL, keyFlag, fmt.Sprintf("-o=%s", pullTempDir))
require.NoError(t, err, stdOut, stdErr)

pulledPath := filepath.Join(tmpDir, testPackageFileName)
pulledPackagePath := filepath.Join(pullTempDir, testPackageFileName)

stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", pulledPath, "--skip-signature-validation")
stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", pulledPackagePath, "--skip-signature-validation")
require.NoError(t, err, stdOut, stdErr)

stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", pulledPath, keyFlag)
stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", pulledPackagePath, keyFlag)
require.NoError(t, err, stdOut, stdErr)
}

0 comments on commit fbd0afd

Please sign in to comment.