Skip to content

Commit

Permalink
[7.17](backport #39642) Update xpack/libbeat pipeline to match Jenkins (
Browse files Browse the repository at this point in the history
#39687)

Updated x-pack/libbeat pipeline to match same steps/commands as in Jenkins and to apply same naming style as in other BK pipelines for beats
  • Loading branch information
mergify[bot] authored May 24, 2024
1 parent 2f122b5 commit 304ff76
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .buildkite/x-pack/pipeline.xpack.libbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
name: "beats-xpack-libbeat"

env:
AWS_ARM_INSTANCE_TYPE: "t4g.xlarge"
AWS_ARM_INSTANCE_TYPE: "m6g.xlarge"
AWS_IMAGE_UBUNTU_ARM_64: "platform-ingest-beats-ubuntu-2204-aarch64"

IMAGE_UBUNTU_X86_64: "family/platform-ingest-beats-ubuntu-2204"

GCP_DEFAULT_MACHINE_TYPE: "c2d-highcpu-8"
GCP_HI_PERF_MACHINE_TYPE: "c2d-highcpu-16"
IMAGE_UBUNTU_ARM_64: "platform-ingest-beats-ubuntu-2204-aarch64"
IMAGE_UBUNTU_X86_64: "family/platform-ingest-beats-ubuntu-2204"
GCP_WIN_MACHINE_TYPE: "n2-standard-8"

#Deps
ASDF_MAGE_VERSION: 1.15.0
Expand All @@ -18,8 +21,9 @@ env:
steps:
- group: "x-pack/libbeat Mandatory Tests"
key: "x-pack-libbeat-mandatory-tests"

steps:
- label: ":linux: Ubuntu Unit Tests"
- label: ":ubuntu: x-pack/libbeat Unit Tests"
key: "mandatory-linux-unit-test"
command: |
cd x-pack/libbeat
Expand All @@ -36,9 +40,9 @@ steps:
- "x-pack/libbeat/build/*.json"
notify:
- github_commit_status:
context: "x-pack/libbeat: Ubuntu Unit Tests"
context: "x-pack/libbeat: Unit Tests"

- label: ":go: Go Integration Tests"
- label: ":ubuntu: x-pack/libbeat Go Integration Tests"
key: "mandatory-int-test"
command: |
cd x-pack/libbeat
Expand All @@ -57,7 +61,7 @@ steps:
- github_commit_status:
context: "x-pack/libbeat: Go Integration Tests"

- label: ":python: Python Integration Tests"
- label: ":ubuntu: x-pack/libbeat Python Integration Tests"
key: "mandatory-python-int-test"
command: |
cd x-pack/libbeat
Expand All @@ -76,11 +80,12 @@ steps:
- github_commit_status:
context: "x-pack/libbeat: Python Integration Tests"

- group: "x-pack/libbeat Linux arm Extended Tests"
- group: "x-pack/libbeat Extended Tests"
key: "x-pack-libbeat-extended-tests-linux-arm"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*arm.*/

steps:
- label: ":linux: Ubuntu ARM64 Unit Tests"
- label: ":ubuntu: x-pack/libbeat arm64 Unit Tests"
key: "extended-arm64-unit-tests"
command: |
cd x-pack/libbeat
Expand All @@ -90,11 +95,11 @@ steps:
- limit: 3
agents:
provider: "aws"
imagePrefix: "${IMAGE_UBUNTU_ARM_64}"
imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}"
instanceType: "${AWS_ARM_INSTANCE_TYPE}"
artifact_paths:
- "x-pack/libbeat/build/*.xml"
- "x-pack/libbeat/build/*.json"
notify:
- github_commit_status:
context: "x-pack/libbeat: Ubuntu ARM64 Extended Unit Tests"
context: "x-pack/libbeat: Linux arm64 Unit Tests"

0 comments on commit 304ff76

Please sign in to comment.