From 2c38662233c87c149c5782ca6c57517911eb409f Mon Sep 17 00:00:00 2001 From: upbound-bot Date: Tue, 24 Nov 2026 19:45:26 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/workfl?= =?UTF-8?q?ows'=20with=20remote=20'gitops/shared-files/functions/workflows?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/e2e.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index f563173..7bf6ee6 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -214,13 +214,20 @@ jobs: # source in Crossplane's package lock, which collides ("node already # exists"). The -e2e-wrapper repo is granted to the e2e robot in # solutions-gitops-prod. + # + # TMPDIR=e2e/.tmp: up test copies each test manifest into a new directory + # directly under $TMPDIR, and uptest resolves hook annotations + # (uptest.upbound.io/pre-assert-hook etc.) relative to that copy. With + # TMPDIR here, a hook path like ../../tests//hook.sh points at the + # script in the repo. - name: Run e2e tests if: steps.harness.outputs.present == 'true' working-directory: e2e run: | REPO="${GITHUB_REPOSITORY##*/}" REPO="${REPO,,}" - up test run tests/* --e2e --public \ + mkdir -p .tmp + TMPDIR="$PWD/.tmp" up test run tests/* --e2e --public \ --repository "${XPKG_REGISTRY}/${UP_ORG}/${REPO}-e2e-wrapper" # Also after a failed or cancelled run, so nothing is left behind. Best