From e63210da021df34f97336cb2db933f798429cfdb Mon Sep 17 00:00:00 2001 From: David Canas Date: Thu, 19 Dec 2019 09:48:23 -0800 Subject: [PATCH] Adding blockstep by default --- .buildkite/build.sh | 2 +- .buildkite/pipeline.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.buildkite/build.sh b/.buildkite/build.sh index b4104be3..1dd95534 100755 --- a/.buildkite/build.sh +++ b/.buildkite/build.sh @@ -6,7 +6,7 @@ mkdir -p whl echo "--- Downloading whl file" # Allows for building directly from pipeline or trigger -if [[ $BUILDKITE_TRIGGERED_FROM_BUILD_ID ]] +if [[ $LE_TRIGGERED_FROM_BUILD_ID ]] then echo "Downloading from triggered build" buildkite-agent artifact download 'dist/*.whl' . --build ${BUILDKITE_TRIGGERED_FROM_BUILD_ID} diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 159a1506..7042d119 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -1,8 +1,9 @@ steps: - # - block: "Build :android:?" + - block: "Build :android:?" + - if: build.source == "trigger_job" + # TODO make this independantly triggerable # Only block when build is triggered by another build - # - if: build.source == "trigger_job" - label: "Dev Build APK" command: ".buildkite/build.sh"