From c7fd3c4493b316274779d98f89f809c1bde958d0 Mon Sep 17 00:00:00 2001 From: Brian Seeders Date: Mon, 8 Jan 2024 13:36:19 -0500 Subject: [PATCH] [dra] Trigger elasticsearch-hadoop dra build whenever we build a new staging artifact --- .buildkite/pipelines/dra-workflow.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.buildkite/pipelines/dra-workflow.yml b/.buildkite/pipelines/dra-workflow.yml index 336bb74041be3..e7bf19816356f 100644 --- a/.buildkite/pipelines/dra-workflow.yml +++ b/.buildkite/pipelines/dra-workflow.yml @@ -7,3 +7,13 @@ steps: image: family/elasticsearch-ubuntu-2204 machineType: custom-32-98304 buildDirectory: /dev/shm/bk + - wait + # The hadoop build depends on the ES artifact + # So let's trigger the hadoop build any time we build a new staging artifact + - trigger: elasticsearch-hadoop-dra-workflow + async: true + build: + branch: "${BUILDKITE_BRANCH}" + env: + DRA_WORKFLOW: staging + if: build.env('DRA_WORKFLOW') == 'staging'