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'