Skip to content

fix: golang-crossbuild requires host specific for arm#16849

Merged
v1v merged 3 commits into7.17from
feature/arm-host-specific
May 8, 2025
Merged

fix: golang-crossbuild requires host specific for arm#16849
v1v merged 3 commits into7.17from
feature/arm-host-specific

Conversation

@v1v
Copy link
Copy Markdown
Member

@v1v v1v commented May 7, 2025

remove crossbuild for arm4 on amd64

Motivation/summary

See elastic/golang-crossbuild#560

Checklist

For functional changes, consider:

  • Is it observable through the addition of either logging or metrics?
  • Is its use being published in telemetry to enable product improvement?
  • Have system tests been added to avoid regression?

How to test these changes

Related issues

remove crossbuild for arm4 on amd64
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2025

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

Comment thread .buildkite/package.yml Outdated
instead of using the script with the logic
Comment on lines 11 to 12
TYPE="$1"
PLATFORM_TYPE=$(uname -m)

PLATFORMS=''
PACKAGES=''
if [[ ${PLATFORM_TYPE} == "arm" || ${PLATFORM_TYPE} == "aarch64" ]]; then
PLATFORMS='linux/arm64'
PACKAGES='docker'
fi

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PLATFORMS was defaulted, henve the BK env variables was not working as expected. Avoid using the script but honour the env variables defined in the Buildkite pipeline itself.

@v1v v1v marked this pull request as ready for review May 8, 2025 14:42
@v1v v1v self-assigned this May 8, 2025
@v1v v1v requested review from a team May 8, 2025 14:42
@v1v
Copy link
Copy Markdown
Member Author

v1v commented May 8, 2025

It works:

image image

probably something in the scripts when no DRA is needed... but for now I think this PR is good to go

@v1v v1v merged commit 99e0e03 into 7.17 May 8, 2025
11 of 12 checks passed
@v1v v1v deleted the feature/arm-host-specific branch May 8, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants