Skip to content

Commit

Permalink
[ci/on-merge] Trigger container image build
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed Jan 19, 2023
1 parent 2f86985 commit 84ce932
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .buildkite/pipelines/on_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,11 @@ steps:
timeout_in_minutes: 10
agents:
queue: kibana-default

- wait

- command: .buildkite/scripts/steps/on_merge_container_image.sh
label: Trigger container image build
timeout_in_minutes: 10
agents:
queue: kibana-default
12 changes: 12 additions & 0 deletions .buildkite/scripts/steps/on_merge_container_image.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

set -euo pipefail

cat << EOF | buildkite-agent pipeline upload
steps:
- trigger: 'kibana-artifacts-container-image'
async: true
build:
branch: '$BUILDKITE_BRANCH'
commit: '$BUILDKITE_COMMIT'
EOF

0 comments on commit 84ce932

Please sign in to comment.