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 69ed860 commit 4116288
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/nightly-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
if: always()
uses: ./.github/actions/save-logs

- name: Send trigger to Slack on workflow failure
if: failure()
uses: ./.github/actions/slack
with:
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
# - name: Send trigger to Slack on workflow failure
# if: failure()
# uses: ./.github/actions/slack
# with:
# slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
6 changes: 4 additions & 2 deletions src/test/nightly/ecr_publish_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ func TestECRPublishing(t *testing.T) {
stdOut, stdErr, err = e2e.Zarf(t, "package", "pull", upstreamPackageURL, keyFlag, fmt.Sprintf("-o=%s", tmpDir))
require.NoError(t, err, stdOut, stdErr)

stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", testPackageFileName, "--skip-signature-validation")
pulledPath := filepath.Join(tmpDir, testPackageFileName)

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

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

0 comments on commit 4116288

Please sign in to comment.