From 99c2b77757968df04255f4fa4a34f203aa85e336 Mon Sep 17 00:00:00 2001 From: Florian Atteneder Date: Wed, 6 Nov 2024 14:36:35 +0100 Subject: [PATCH] rename trigger variable --- pipelines/main/launch_unsigned_jobs.yml | 12 ++++++------ pipelines/main/launch_upload_jobs.yml | 6 +++--- pipelines/scheduled/launch_unsigned_jobs.yml | 8 ++++---- pipelines/scheduled/launch_upload_jobs.yml | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/pipelines/main/launch_unsigned_jobs.yml b/pipelines/main/launch_unsigned_jobs.yml index edb549d4..ef85adbe 100644 --- a/pipelines/main/launch_unsigned_jobs.yml +++ b/pipelines/main/launch_unsigned_jobs.yml @@ -15,7 +15,7 @@ common: - diff-filter-build_plugin: &diff-filter-build https://github.com/fatteneder/diff-filter-buildkite-plugin#main: - name: "build" + name: "TRIGGER_BUILD" ignore: - "*.md" - "*.json" @@ -46,7 +46,7 @@ steps: - *pr-labels commands: | FORCE=$(test -n "$(echo $${PULL_REQUEST_LABELS} | grep "\\")" && echo 1 || echo 0) - BUILD=$(($${BUILDKITE_PLUGIN_DIFF_FILTER_TRIGGERED_BUILD} || $${FORCE})) + BUILD=$(($${TRIGGGER_BUILD} || $${FORCE})) # Launch Linux build jobs GROUP="Build" \ ALLOW_FAIL="false" \ @@ -92,7 +92,7 @@ steps: buildkite-agent pipeline upload .buildkite/pipelines/main/misc/doctest.yml buildkite-agent pipeline upload .buildkite/pipelines/main/misc/pdf_docs/build_pdf_docs.yml FORCE=$(test -n "$(echo $${PULL_REQUEST_LABELS} | grep "\\")" && echo 1 || echo 0) - BUILD=$(($${BUILDKITE_PLUGIN_DIFF_FILTER_TRIGGERED_BUILD} || $${FORCE})) + BUILD=$(($${TRIGGGER_BUILD} || $${FORCE})) if [[ $${BUILD} == 1 ]]; then buildkite-agent pipeline upload .buildkite/pipelines/main/misc/analyzegc.yml buildkite-agent pipeline upload .buildkite/pipelines/main/misc/embedding.yml @@ -120,7 +120,7 @@ steps: commands: | export ALLOW_FAIL="false" FORCE=$(test -n "$(echo $${PULL_REQUEST_LABELS} | grep "\\")" && echo 1 || echo 0) - BUILD=$(($${BUILDKITE_PLUGIN_DIFF_FILTER_TRIGGERED_BUILD} || $${FORCE})) + BUILD=$(($${TRIGGGER_BUILD} || $${FORCE})) if [[ $${BUILD} == 1 ]]; then buildkite-agent pipeline upload .buildkite/pipelines/main/misc/gcext.yml buildkite-agent pipeline upload .buildkite/pipelines/main/misc/test_revise.yml @@ -166,7 +166,7 @@ steps: commands: | export ALLOW_FAIL="true" FORCE=$(test -n "$(echo $${PULL_REQUEST_LABELS} | grep "\\")" && echo 1 || echo 0) - BUILD=$(($${BUILDKITE_PLUGIN_DIFF_FILTER_TRIGGERED_BUILD} || $${FORCE})) + BUILD=$(($${TRIGGGER_BUILD} || $${FORCE})) if [[ $${BUILD} == 1 ]]; then # Launch Linux allowed-to-fail build jobs GROUP="Allow Fail" \ @@ -192,7 +192,7 @@ steps: commands: | export ALLOW_FAIL="true" FORCE=$(test -n "$(echo $${PULL_REQUEST_LABELS} | grep "\\")" && echo 1 || echo 0) - BUILD=$(($${BUILDKITE_PLUGIN_DIFF_FILTER_TRIGGERED_BUILD} || $${FORCE})) + BUILD=$(($${TRIGGGER_BUILD} || $${FORCE})) if [[ $${BUILD} == 1 ]]; then # Launch Linux allowed-to-fail test jobs GROUP="Allow Fail" \ diff --git a/pipelines/main/launch_upload_jobs.yml b/pipelines/main/launch_upload_jobs.yml index 3e775930..bd715a16 100644 --- a/pipelines/main/launch_upload_jobs.yml +++ b/pipelines/main/launch_upload_jobs.yml @@ -3,7 +3,7 @@ common: - diff-filter-build_plugin: &diff-filter-build https://github.com/fatteneder/diff-filter-buildkite-plugin#main: - name: "build" + name: "TRIGGER_BUILD" ignore: - "*.md" - "*.json" @@ -34,7 +34,7 @@ steps: export BUILDKITE_PLUGIN_CRYPTIC_BASE64_SIGNED_JOB_ID_SECRET export ALLOW_FAIL="false" FORCE=$(test -n "$(echo $${PULL_REQUEST_LABELS} | grep "\\")" && echo 1 || echo 0) - BUILD=$(($${BUILDKITE_PLUGIN_DIFF_FILTER_TRIGGERED_BUILD} || $${FORCE})) + BUILD=$(($${TRIGGGER_BUILD} || $${FORCE})) if [[ $${BUILD} == 1 ]]; then # Launch `upload_*` jobs to store tarballs into S3 once tests are done GROUP="Upload" \ @@ -87,7 +87,7 @@ steps: # Explicitly pass along the cryptic token to child pipelines export BUILDKITE_PLUGIN_CRYPTIC_BASE64_SIGNED_JOB_ID_SECRET FORCE=$(test -n "$(echo $${PULL_REQUEST_LABELS} | grep "\\")" && echo 1 || echo 0) - BUILD=$(($${BUILDKITE_PLUGIN_DIFF_FILTER_TRIGGERED_BUILD} || $${FORCE})) + BUILD=$(($${TRIGGGER_BUILD} || $${FORCE})) export ALLOW_FAIL="true" diff --git a/pipelines/scheduled/launch_unsigned_jobs.yml b/pipelines/scheduled/launch_unsigned_jobs.yml index 0d199d16..c58905d2 100644 --- a/pipelines/scheduled/launch_unsigned_jobs.yml +++ b/pipelines/scheduled/launch_unsigned_jobs.yml @@ -15,7 +15,7 @@ common: - diff-filter-build_plugin: &diff-filter-build https://github.com/fatteneder/diff-filter-buildkite-plugin#main: - name: "build" + name: "TRIGGER_BUILD" ignore: - "*.md" - "*.json" @@ -43,7 +43,7 @@ steps: - *pr-labels commands: | FORCE=$(test -n "$(echo $${PULL_REQUEST_LABELS} | grep "\\")" && echo 1 || echo 0) - BUILD=$(($${BUILDKITE_PLUGIN_DIFF_FILTER_TRIGGERED_BUILD} || $${FORCE})) + BUILD=$(($${TRIGGGER_BUILD} || $${FORCE})) if [[ $${BUILD} == 1 ]]; then GROUP="Source Build" \ ALLOW_FAIL="false" \ @@ -63,7 +63,7 @@ steps: repo_url: "https://github.com/JuliaCI/julia-buildkite" commands: | FORCE=$(test -n "$(echo $${PULL_REQUEST_LABELS} | grep "\\")" && echo 1 || echo 0) - BUILD=$(($${BUILDKITE_PLUGIN_DIFF_FILTER_TRIGGERED_BUILD} || ${FORCE})) + BUILD=$(($${TRIGGGER_BUILD} || ${FORCE})) if [[ ${BUILD} == 1 ]]; then GROUP="Source Tests (Allow Fail)" \ ALLOW_FAIL="true" \ @@ -85,7 +85,7 @@ steps: - *pr-labels commands: | FORCE=$(test -n "$(echo $${PULL_REQUEST_LABELS} | grep "\\")" && echo 1 || echo 0) - BUILD=$(($${BUILDKITE_PLUGIN_DIFF_FILTER_TRIGGERED_BUILD} || $${FORCE})) + BUILD=$(($${TRIGGGER_BUILD} || $${FORCE})) if [[ $${BUILD} == 1 ]]; then GROUP="no_GPL" \ ALLOW_FAIL="false" \ diff --git a/pipelines/scheduled/launch_upload_jobs.yml b/pipelines/scheduled/launch_upload_jobs.yml index a578c530..10029840 100644 --- a/pipelines/scheduled/launch_upload_jobs.yml +++ b/pipelines/scheduled/launch_upload_jobs.yml @@ -3,7 +3,7 @@ common: - diff-filter-build_plugin: &diff-filter-build https://github.com/fatteneder/diff-filter-buildkite-plugin#main: - name: "build" + name: "TRIGGER_BUILD" ignore: - "*.md" - "*.json" @@ -33,7 +33,7 @@ steps: # Explicitly pass along the cryptic token to child pipelines export BUILDKITE_PLUGIN_CRYPTIC_BASE64_SIGNED_JOB_ID_SECRET FORCE=$(test -n "$(echo $${PULL_REQUEST_LABELS} | grep "\\")" && echo 1 || echo 0) - BUILD=$(($${BUILDKITE_PLUGIN_DIFF_FILTER_TRIGGERED_BUILD} || $${FORCE})) + BUILD=$(($${TRIGGGER_BUILD} || $${FORCE})) if [[ $${BUILD} == 1 ]]; then # Launch `upload_*` jobs to store tarballs into S3 once tests are done bash .buildkite/utilities/arches_pipeline_upload.sh \