Add support for Linux ARM64 (#19931)

#1845

Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com>
Co-authored-by: Roberto Dip <rroperzh@gmail.com>
This commit is contained in:
Dante Catalfamo
2024-07-17 16:07:59 -04:00
committed by GitHub
co-authored by Lucas Manuel Rodriguez Roberto Dip
parent d20ccd65d7
commit ecf2346ace
27 changed files with 424 additions and 38 deletions
+7
View File
@@ -39,6 +39,7 @@ func TestMakeRepoPath(t *testing.T) {
}{
{platform: "linux", name: "osqueryd", version: "4.6.0", expected: "osqueryd/linux/4.6.0/osqueryd"},
{platform: "linux", name: "osqueryd", version: "3.3.2", expected: "osqueryd/linux/3.3.2/osqueryd"},
{platform: "linux-arm64", name: "osqueryd", version: "3.3.2", expected: "osqueryd/linux-arm64/3.3.2/osqueryd"},
{platform: "macos", name: "osqueryd", version: "4.6.0", expected: "osqueryd/macos/4.6.0/osqueryd"},
{platform: "macos", name: "osqueryd", version: "3.3.2", expected: "osqueryd/macos/3.3.2/osqueryd"},
{platform: "macos-app", name: "osqueryd", version: "3.3.2", expected: "osqueryd/macos-app/3.3.2/osqueryd.app.tar.gz"},
@@ -89,6 +90,12 @@ func TestLocalTargetPaths(t *testing.T) {
"root/bin/target/linux/stable/fleet-desktop/fleet-desktop",
"root/bin/target/linux/stable/fleet-desktop",
},
{
DesktopLinuxArm64Target,
"root/bin/target/linux-arm64/stable/desktop.tar.gz",
"root/bin/target/linux-arm64/stable/fleet-desktop/fleet-desktop",
"root/bin/target/linux-arm64/stable/fleet-desktop",
},
{
SwiftDialogMacOSTarget,
"root/bin/target/macos/stable/swiftDialog.app.tar.gz",