Skip to content

Commit

Permalink
Osquerybeat: Add darwin/arm64 packaging support (#30935)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksmaus authored Mar 21, 2022
1 parent 4fe0196 commit 14cbfc2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
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

0 comments on commit 14cbfc2

Please sign in to comment.