Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.0](backport #43026) Don't package arm64 on amd64 workers #43068

Merged
merged 1 commit into from
Mar 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .buildkite/packaging.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ env:
GCP_DEFAULT_MACHINE_TYPE: "c2d-standard-8"
IMAGE_UBUNTU_X86_64: "family/platform-ingest-beats-ubuntu-2204"

PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
PLATFORMS_ARM: "linux/arm64"
PLATFORMS: "+all linux/amd64 windows/amd64 darwin/amd64 darwin/arm64"
PLATFORMS_ARM: "+all linux/arm64"

steps:
# we use concurrency gates (https://buildkite.com/blog/concurrency-gates)
Expand Down Expand Up @@ -121,10 +121,9 @@ steps:
- x-pack/packetbeat
- x-pack/winlogbeat

- label: "SNAPSHOT: {{matrix}} docker Linux/arm64"
- label: "SNAPSHOT: {{matrix}} Linux/arm64"
env:
PLATFORMS: "${PLATFORMS_ARM}"
PACKAGES: "docker"
SNAPSHOT: true
# packaging with `DEV=true` may cause linker issues while crosscompiling https://github.com/elastic/beats/issues/41270
DEV: false
Expand All @@ -151,9 +150,11 @@ steps:
- x-pack/heartbeat
- x-pack/metricbeat
- x-pack/packetbeat
- x-pack/osquerybeat
- x-pack/agentbeat

## Agentbeat needs more CPUs because it builds many other beats
- label: "SNAPSHOT: x-pack/agentbeat"
- label: "SNAPSHOT: x-pack/agentbeat all artifacts apart from linux/arm64"
env:
PLATFORMS: "${PLATFORMS}"
SNAPSHOT: true
Expand Down Expand Up @@ -211,10 +212,9 @@ steps:
- x-pack/packetbeat
- x-pack/winlogbeat

- label: "STAGING: {{matrix}} docker Linux/arm64"
- label: "STAGING: {{matrix}} Linux/arm64"
env:
PLATFORMS: "${PLATFORMS_ARM}"
PACKAGES: "docker"
SNAPSHOT: false
DEV: false
command: |
Expand Down Expand Up @@ -242,9 +242,11 @@ steps:
- x-pack/heartbeat
- x-pack/metricbeat
- x-pack/packetbeat
- x-pack/osquerybeat
- x-pack/agentbeat

## Agentbeat needs more CPUs because it builds many other beats
- label: "STAGING: x-pack/agentbeat"
- label: "STAGING: x-pack/agentbeat all artifacts apart from linux/arm64"
env:
PLATFORMS: "${PLATFORMS}"
SNAPSHOT: false
Expand Down
Loading