Skip to content

Commit

Permalink
Add Iron Bank validation Buildkite pipeline (#39179) (#39182)
Browse files Browse the repository at this point in the history
This commit migrated the Buildkite Iron Bank
validation pipeline for x-pack/heartbeat from
Jenkins.

Relates https://github.com/elastic/ingest-dev/issues/3235

(cherry picked from commit c091416)

Co-authored-by: Dimitrios Liappis <[email protected]>
  • Loading branch information
mergify[bot] and dliappis authored Apr 24, 2024
1 parent 6b50c68 commit b694a77
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .buildkite/ironbank-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json

env:
# Other deps
ASDF_MAGE_VERSION: 1.15.0

steps:
- label: ":package: :test_tube: Package and Validate Iron Bank for x-pack/heartbeat"
command: |
set -euo pipefail
export BEAT_VERSION=$$(make get-version)
echo "~~~ Using BEAT_VERSION: $$BEAT_VERSION"
cd x-pack/heartbeat
echo "--- Package x-pack/heartbeat for the artifacts consumed by the Iron Bank docker context"
make -C ironbank package
echo "--- Prepare the Iron Bank container context"
mage ironbank
echo "--- Build and validate the Iron Bank docker context for x-pack/heartbeat"
make -C ironbank validate-ironbank
agents:
provider: "gcp"
image: "family/platform-ingest-beats-ubuntu-2204"
machineType: "n2-standard-8"
artifact_paths:
- "x-pack/heartbeat/build/distributions/*"
- "x-pack/heartbeat/build/heartbeat-ironbank-*-docker-build-context/*"

0 comments on commit b694a77

Please sign in to comment.