[8.17](backport #43026) Don't package arm64 on amd64 workers #43065
+10
−8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed commit message
This commit is the counterpart of
#43019 for the DRA packaging pipeline.
It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.
How to test this PR locally
Successful BK link:
https://buildkite.com/elastic/beats-packaging-pipeline/builds/2656#01956655-e341-4ec5-a3a2-859c4fac28a8
and another one using the latest commit: https://buildkite.com/elastic/beats-packaging-pipeline/builds/2664
where both staging + snapshot got triggered using
DRA_DRY_RUN=false
Additionally, I compared the DRA job output for snapshot artifacts from the above triggered job , against the latest successful DRA build on main and the results were identical.
Related issues
Closes #43042
Screenshots
This is an automatic backport of pull request #43026 done by [Mergify](https://mergify.com).