*: enable ARM64 runner
There are many Kubernetes clusters running on ARM64. Enable ARM64 runner is to commit to support ARM64 platform officially. Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
@@ -25,7 +25,9 @@ script_dir="$(cd -- "$(dirname -- "$0")" > /dev/null 2>&1; pwd -P)"
|
||||
# e2e will fail with "sudo: command not found"
|
||||
SUDO=''
|
||||
if (( $EUID != 0 )); then
|
||||
SUDO='sudo'
|
||||
# The actuated ARM64 env needs PATH=$PATH to get `go` path. Otherwise
|
||||
# `make install` recipe will fail.
|
||||
SUDO="sudo -E PATH=$PATH"
|
||||
fi
|
||||
|
||||
cd "$(go env GOPATH)"
|
||||
|
||||
Reference in New Issue
Block a user