Skip to content

Commit c57f73d

Browse files
committed
fail at the teardown step
1 parent c906af7 commit c57f73d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.buildkite/scripts/build_pr_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [ -z ${GITHUB_PR_OWNER+set} ] || [ -z ${GITHUB_PR_REPO+set} ] || [ -z ${GITHU
1414
fi
1515

1616
gitHubToken=$(vault read -field=value secret/ci/elastic-docs/docs_preview_cleaner)
17-
exit 1
17+
1818
githubPublishStatus="https://api.github.com/repos/${GITHUB_PR_OWNER}/${GITHUB_PR_REPO}/statuses/${GITHUB_PR_TRIGGERED_SHA}"
1919
data='{"state":"pending","target_url":"'$BUILDKITE_BUILD_URL'","description":"Build started.","context":"buildkite/'$BUILDKITE_PIPELINE_SLUG'"}'
2020
echo "Setting buildkite/docs commit status to pending"

.buildkite/scripts/build_pr_teardown.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -euo pipefail
66
if [ -z ${GITHUB_PR_OWNER+set} ] || [ -z ${GITHUB_PR_REPO+set} ] || [ -z ${GITHUB_PR_TRIGGERED_SHA+set} ];then
77
exit 0
88
fi
9-
9+
exit 1
1010
gitHubToken=$(vault read -field=value secret/ci/elastic-docs/docs_preview_cleaner)
1111

1212
if [ $(buildkite-agent step get "outcome" --step "build-pr") == "passed" ]; then

0 commit comments

Comments
 (0)