Skip to content

Commit 86cd280

Browse files
Unconditionally cleanup severless projects. (#4590) (#4591)
(cherry picked from commit 516e41c) Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
1 parent 7ac63cf commit 86cd280

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.buildkite/hooks/pre-exit

+2-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@ if [[ "$BUILDKITE_PIPELINE_SLUG" == "elastic-agent" && "$BUILDKITE_STEP_KEY" ==
1010

1111
# Perform cleanup of integration tests resources
1212
echo "--- Cleaning up integration test resources"
13-
if [[ "$BUILDKITE_STEP_KEY" == "serverless-integration-tests" ]]; then
14-
STACK_PROVISIONER=serverless SNAPSHOT=true mage integration:clean
15-
else
16-
SNAPSHOT=true mage integration:clean
17-
fi
13+
STACK_PROVISIONER=serverless SNAPSHOT=true mage integration:clean
14+
SNAPSHOT=true mage integration:clean
1815
fi
1916

2017
if [ -n "$GOOGLE_APPLICATION_CREDENTIALS" ]; then

0 commit comments

Comments
 (0)