Skip to content

Commit

Permalink
[ci/on-merge] Trigger container image build (#148864)
Browse files Browse the repository at this point in the history
This conditionally adds a pipeline trigger to
`kibana-artifacts-container-image` at the end of the on-merge pipeline
when tests are passing. The triggered pipeline will build (and
eventually push) our default docker images.

Tests passing -> image build:
https://buildkite.com/elastic/kibana-on-merge/builds/25854
Tests failing -> no image build:
https://buildkite.com/elastic/kibana-on-merge/builds/25849
  • Loading branch information
jbudz authored Jan 19, 2023
1 parent ff3d413 commit 8dff4b1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .buildkite/pipelines/on_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,12 @@ steps:
timeout_in_minutes: 10
agents:
queue: kibana-default

- wait

- trigger: kibana-artifacts-container-image
label: Trigger container image build
async: true
build:
commit: "${BUILDKITE_COMMIT}"
branch: "${BUILDKITE_BRANCH}"

0 comments on commit 8dff4b1

Please sign in to comment.