Skip to content

Commit

Permalink
Ensure ordered DRA artifacts
Browse files Browse the repository at this point in the history
As things are now we allow parallel builds on the
packaging pipeline, which would result in out of order
artifacts (depending on which one takes longer to finish).

This commit leverages a queue to ensure a FIFO queue
for DRA artifacts.
  • Loading branch information
dliappis committed Apr 29, 2024
1 parent a4b21dc commit 73e0a93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .buildkite/packaging.pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
# TODO: Pre-cache beats-dev/golang-crossbuild container image

# prevent out of order DRA publishing
# otherwise commits in quick succession will run in parallel and possibly result in our of order DRA artifacts
agents:
queue: "dra-builder-queue"

env:
ASDF_MAGE_VERSION: 1.15.0
AWS_ARM_INSTANCE_TYPE: "m6g.xlarge"
Expand All @@ -14,6 +19,7 @@ env:
steps:
- group: Beats dashboards
key: dashboards
depend_on: foo
steps:
- label: Snapshot dashboards
if: build.branch =~ /^\d+\.\d+$$/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
Expand Down

0 comments on commit 73e0a93

Please sign in to comment.