mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ci/on-merge] Trigger container image build (#149350)
Reopens #148864 to trigger via REST instead of yaml. The previous implementation did not support commit triggered builds. 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.
This commit is contained in:
parent
cca7196d9f
commit
e8ceb4ed49
2 changed files with 13 additions and 0 deletions
|
@ -149,3 +149,11 @@ steps:
|
|||
timeout_in_minutes: 10
|
||||
agents:
|
||||
queue: kibana-default
|
||||
|
||||
- wait
|
||||
|
||||
- command: '.buildkite/scripts/steps/artifacts/docker_image_trigger.sh'
|
||||
label: Trigger container image build
|
||||
timeout_in_minutes: 10
|
||||
agents:
|
||||
queue: 'kibana-default'
|
||||
|
|
5
.buildkite/scripts/steps/artifacts/docker_image_trigger.sh
Executable file
5
.buildkite/scripts/steps/artifacts/docker_image_trigger.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
ts-node .buildkite/scripts/steps/trigger_pipeline.ts kibana-artifacts-container-image "$BUILDKITE_BRANCH" "$BUILDKITE_COMMIT"
|
Loading…
Add table
Add a link
Reference in a new issue