Skip to content

Commit

Permalink
CLI | Support download and execute of Vorpal engine in Linux arm64 (A…
Browse files Browse the repository at this point in the history
…ST-63697) (#854)

* add support to vorpal-mac-arm.go

* update exec file path of vorpal arm

* support linux arm for vorpal

* check change from arm64 to arm

* check change from arm64 to arm

* check change from arm64 to arm

---------

Co-authored-by: AlvoBen <[email protected]>
  • Loading branch information
AlvoBen and BenAlvo1 authored Sep 1, 2024
1 parent 267e2b9 commit 4bdd1e1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build linux
//go:build linux && amd64

package vorpalconfig

Expand Down
16 changes: 16 additions & 0 deletions internal/commands/vorpal/vorpalconfig/vorpal-linux-arm.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//go:build linux && (arm64 || arm)

package vorpalconfig

import (
"github.com/checkmarx/ast-cli/internal/services/osinstaller"
)

var Params = osinstaller.InstallationConfiguration{
ExecutableFile: "vorpal_linux_arm64",
DownloadURL: "https://download.checkmarx.com/vorpal-binary/vorpal_linux_arm64.tar.gz",
HashDownloadURL: "https://download.checkmarx.com/vorpal-binary/hash.txt",
FileName: "vorpal.tar.gz",
HashFileName: "hash.txt",
WorkingDirName: "CxVorpal",
}

0 comments on commit 4bdd1e1

Please sign in to comment.