forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Iron Bank validation Buildkite pipeline (elastic#39179)
This commit migrated the Buildkite Iron Bank validation pipeline for x-pack/heartbeat from Jenkins. Relates elastic/ingest-dev#3235
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/*" |
This file was deleted.
Oops, something went wrong.