Skip to content

Commit

Permalink
fixup! add pre-exit buildkite hook for integration test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pchila committed Sep 22, 2023
1 parent d1b5049 commit 0120064
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .buildkite/hooks/pre-exit
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ if [[ "$BUILDKITE_PIPELINE_SLUG" == "elastic-agent" && "$BUILDKITE_STEP_KEY" ==
if [[ -z "${WORKSPACE-""}" ]]; then
WORKSPACE=$(git rev-parse --show-toplevel)
fi

source "${WORKSPACE}/.buildkite/scripts/common.sh"

# Perform cleanup of integration tests resources
TEST_INTEG_AUTH_ESS_REGION=azure-eastus2 SNAPSHOT=true mage integration:clean
# Perform cleanup of integration tests resources
TEST_INTEG_AUTH_ESS_REGION=azure-eastus2 SNAPSHOT=true mage integration:clean
fi

0 comments on commit 0120064

Please sign in to comment.