Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ export CREATED_DATE
# Secrets must be redacted
# https://buildkite.com/docs/pipelines/managing-log-output#redacted-environment-variables

export TMP_FOLDER_TEMPLATE_BASE="tmp.${REPO}"
export TMP_FOLDER_TEMPLATE="${TMP_FOLDER_TEMPLATE_BASE}.XXXXXXXXX"
export JOB_GCS_BUCKET_INTERNAL="ecosystem-ci-internal"

if [[ "${BUILDKITE_PIPELINE_SLUG}" == "elastic-package-test-serverless" ]]; then
Expand Down
1 change: 0 additions & 1 deletion .buildkite/hooks/pre-exit
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ if [[ "${BUILDKITE_PIPELINE_SLUG}" == "elastic-package-test-serverless" && "${BU
fi

echo "--- Cleanup"
cleanup
unset_secrets

exit "$exit_code"
12 changes: 12 additions & 0 deletions .buildkite/scripts/test-with-integrations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ source .buildkite/scripts/install_deps.sh

set -euo pipefail

TMP_FOLDER_TEMPLATE_BASE="tmp.${GITHUB_PR_BASE_REPO}"
TMP_FOLDER_TEMPLATE="${TMP_FOLDER_TEMPLATE_BASE}.XXXXXXXXX"

cleanup() {
echo "Deleting temporal files..."
cd "${WORKSPACE}"
rm -rf ${TMP_FOLDER_TEMPLATE_BASE}.*
echo "Done."
}

trap cleanup EXIT

add_bin_path

echo "--- Install gh cli"
Expand Down
6 changes: 0 additions & 6 deletions .buildkite/scripts/tooling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,6 @@ clean_safe_logs() {
rm -rf "${WORKSPACE}/build/container-logs"
}

cleanup() {
echo "Deleting temporary files..."
rm -rf ${WORKSPACE}/${TMP_FOLDER_TEMPLATE_BASE}.*
echo "Done."
}

create_collapsed_annotation() {
local title="$1"
local file="$2"
Expand Down