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

Osquerybeat: Add darwin/arm64 packaging support #30935

Merged
merged 1 commit into from
Mar 21, 2022
Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions x-pack/osquerybeat/dev-tools/packaging/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ specs:
source: build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}

- os: darwin
arch: amd64
types: [tgz]
spec:
<<: *unix_binary_spec
<<: *elastic_license_for_binaries

- os: darwin
arch: arm64
types: [tgz]
spec:
<<: *unix_binary_spec
Expand Down
1 change: 1 addition & 0 deletions x-pack/osquerybeat/internal/distro/distro.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ var specs = map[OSArch]Spec{
{"linux", "amd64"}: {"_1.linux_x86_64.tar.gz", osqueryDistroLinuxSHA256, true},
{"linux", "arm64"}: {"_1.linux_aarch64.tar.gz", osqueryDistroLinuxARMSHA256, true},
{"darwin", "amd64"}: {osqueryPkgExt, osqueryDistroDarwinSHA256, false},
{"darwin", "arm64"}: {osqueryPkgExt, osqueryDistroDarwinSHA256, false},
{"windows", "amd64"}: {osqueryMSIExt, osqueryDistroWindowsSHA256, false},
}

Expand Down