From 41162886ee76a8935d92aad45104c7ac2095ef26 Mon Sep 17 00:00:00 2001 From: Austin Abro Date: Thu, 19 Dec 2024 15:43:03 +0000 Subject: [PATCH] path to inspect Signed-off-by: Austin Abro --- .github/workflows/nightly-ecr.yml | 10 +++++----- src/test/nightly/ecr_publish_test.go | 6 ++++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/nightly-ecr.yml b/.github/workflows/nightly-ecr.yml index aafbda5b7d..0575413117 100644 --- a/.github/workflows/nightly-ecr.yml +++ b/.github/workflows/nightly-ecr.yml @@ -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 }} diff --git a/src/test/nightly/ecr_publish_test.go b/src/test/nightly/ecr_publish_test.go index d32295f700..3350c5d9c5 100644 --- a/src/test/nightly/ecr_publish_test.go +++ b/src/test/nightly/ecr_publish_test.go @@ -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) }