Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions .buildkite/scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -590,10 +590,10 @@ is_pr_affected() {
}

is_pr() {
if [[ "${BUILDKITE_PULL_REQUEST}" == "false" || "${BUILDKITE_TAG}" == "" ]]; then
return 0
if [[ "${BUILDKITE_PULL_REQUEST}" == "false" && "${BUILDKITE_TAG}" == "" ]]; then
return 1
fi
return 1
return 0
}

kubernetes_service_deployer_used() {
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scripts/process_benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -euo pipefail
BENCHMARK_THRESHOLD=${BENCHMARK_THRESHOLD:-'15'}

if ! is_pr ; then
echo "[benchmarks] Pull request build. Skip procesing benchmarks."
echo "[benchmarks] Not pull request build. Skip procesing benchmarks."
Comment thread
mrodm marked this conversation as resolved.
Outdated
exit 0
fi

Expand Down