Skip to content

Commit

Permalink
fix: nightly ecr test (#3041)
Browse files Browse the repository at this point in the history
Signed-off-by: schristoff <28318173+schristoff@users.noreply.github.com>
  • Loading branch information
schristoff authored Sep 28, 2024
1 parent 508a1c8 commit b8d7812
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/test/nightly/ecr_publish_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ func TestECRPublishing(t *testing.T) {
// Ensure we get a warning when trying to inspect the online published package
stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", upstreamPackageURL, keyFlag, "--sbom-out", tmpDir, "--skip-signature-validation")
require.NoError(t, err, stdOut, stdErr)
require.Contains(t, stdErr, "Validating SBOM checksums")

// Validate that we can pull the package down from ECR
stdOut, stdErr, err = e2e.Zarf(t, "package", "pull", upstreamPackageURL)
Expand All @@ -72,11 +71,8 @@ func TestECRPublishing(t *testing.T) {
// and the insecure flag
stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", testPackageFileName, "--skip-signature-validation")
require.NoError(t, err, stdOut, stdErr)
require.NotContains(t, stdErr, "Validating SBOM checksums")

// Validate that we get no warnings when inspecting the package while providing the public key
stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", testPackageFileName, keyFlag)
require.NoError(t, err, stdOut, stdErr)
require.NotContains(t, stdErr, "Validating SBOM checksums")
require.Contains(t, stdErr, "Package signature validated!")
}

0 comments on commit b8d7812

Please sign in to comment.