Skip to content
Open
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
13 changes: 13 additions & 0 deletions dist/activate
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ if [[ "$OSTYPE" =~ ^darwin.* ]]; then
fi
export KCTF_CTF_DIR="$(realpath "$(dirname "${script_dir}")")"
unset script_dir
elif [[ "$HOSTTYPE" =~ ^aarch64.* ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a log warning somewhere that aarch64 is not fully supported (with what you mentioned in the pull request)?
Otherwise lgtm!

KCTF_YQ_URL="https://github.com/mikefarah/yq/releases/download/v4.2.0/yq_linux_arm64"
KCTF_YQ_HASH="d3465af718d65339ccb5091495277aa982f4b8e0ae11edd74cc30a624d4d0d05"

KCTF_KIND_URL="https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-arm64"
KCTF_KIND_HASH="320c992ada56292ec5e12b0b85f5dfc60045a6ffcdfaf6ad3f5a554e40ef0235"

KCTF_KUBECTL_URL="https://dl.k8s.io/release/v1.29.3/bin/linux/arm64/kubectl"
KCTF_KUBECTL_HASH="191a96b27e3c6ae28b330da4c9bfefc9592762670727df4fcf124c9f1d5a466a"

STAT="stat"
MKTEMP="mktemp"
export KCTF_CTF_DIR="$(realpath --no-symlinks "$(dirname "${BASH_SOURCE-$0}")/..")"
else
KCTF_YQ_URL="https://github.com/mikefarah/yq/releases/download/v4.2.0/yq_linux_amd64"
KCTF_YQ_HASH="5d44bd64e264e9029c5f06bcd960ba162d7ed7ddd1781f02a28d62f50577b632"
Expand Down