kibana/.buildkite/scripts/steps/artifacts/docker_image_trigger.sh
Jon e8ceb4ed49
[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.
2023-01-23 13:16:56 -07:00

5 lines
158 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
ts-node .buildkite/scripts/steps/trigger_pipeline.ts kibana-artifacts-container-image "$BUILDKITE_BRANCH" "$BUILDKITE_COMMIT"