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

Enable aarch64 (arm64) packaging by default #17301

Merged
merged 2 commits into from Apr 14, 2020

Conversation

andrewkroh
Copy link
Member

@andrewkroh andrewkroh commented Mar 27, 2020

What does this PR do?

This adds the aarch64 (arm64) architecture to the default list of Linux package targets.

This will add three new artifacts to each beat project. For example:

  • filebeat-$version-arm64.deb
  • filebeat-$version-aarch64.rpm
  • filebeat-$version-linux-arm64.tar.gz

I had to modify dockerlogbeat to honor the PLATFORMS selector. It was always trying
to build its linux/amd64 docker image even if that platform was not selected.

Why is it important?

The arm64 architecture is becoming more popular and beats should be available from our package repos.

Checklist

  • Run the CI packaging job on this PR

This adds the aarch64 (arm64) architecture to the default list Linux package targets.

This will add three new artifacts to each beat project. For example:

- filebeat-$version-arm64.deb
- filebeat-$version-aarch64.rpm
- filebeat-$version-linux-arm64.tar.gz

I had to modify dockerlogbeat to honor the PLATFORMS selector. It was always trying
to build its linux/amd64 docker image even if that platform was not selected.
@andrewkroh
Copy link
Member Author

run beats-ci/package

@urso
Copy link

urso commented Apr 6, 2020

@fearful-symmetry Most changes are in the dockerlogbeat build. Can you please have a look and check if something looks suspicious? Thanks.

@andrewkroh andrewkroh merged commit 07ed0da into elastic:master Apr 14, 2020
@ph
Copy link
Contributor

ph commented Apr 14, 2020

@andrewkroh is there plan to have CI running the unit test for this architecture?

@andrewkroh
Copy link
Member Author

Yes. #17303 will start to introduce testing.

andrewkroh added a commit to andrewkroh/beats that referenced this pull request Apr 28, 2020
This adds the aarch64 (arm64) architecture to the default list Linux package targets.

This will add three new artifacts to each beat project. For example:

- filebeat-$version-arm64.deb
- filebeat-$version-aarch64.rpm
- filebeat-$version-linux-arm64.tar.gz

I had to modify dockerlogbeat to honor the PLATFORMS selector. It was always trying
to build its linux/amd64 docker image even if that platform was not selected.

(cherry picked from commit 07ed0da)
andrewkroh added a commit that referenced this pull request Apr 29, 2020
This adds the aarch64 (arm64) architecture to the default list Linux package targets.

This will add three new artifacts to each beat project. For example:

- filebeat-$version-arm64.deb
- filebeat-$version-aarch64.rpm
- filebeat-$version-linux-arm64.tar.gz

I had to modify dockerlogbeat to honor the PLATFORMS selector. It was always trying
to build its linux/amd64 docker image even if that platform was not selected.

(cherry picked from commit 07ed0da)
@jakommo jakommo mentioned this pull request May 14, 2020
@li5ch
Copy link

li5ch commented Jan 11, 2021

hello,is there provide the pakage filebeat-$version-aarch64.rpm to download?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants