Skip to content

Commit

Permalink
cleanup tests, add arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
ProZachJ committed Oct 6, 2022
1 parent 570e552 commit 549b32d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ build:

.PHONY: e2e-test
e2e-test: build
./hack/run-e2e-tests.sh
./test/run-e2e-tests.sh
7 changes: 5 additions & 2 deletions hack/run-e2e-tests.sh → test/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ set -o nounset
set -o pipefail
set -o xtrace

KUTTL_VERSION="0.7.2"
KUTTL_VERSION="0.13.0"
arch_name="$(uname -m)"

if [[ "$(uname)" == "Darwin" ]]; then
if [[ $arch_name == "arm64" ]]; then
curl -L https://github.com/kudobuilder/kuttl/releases/download/v${KUTTL_VERSION}/kubectl-kuttl_${KUTTL_VERSION}_darwin_arm64 --output kuttl
elif [[ $arch_name == "x86_64" ]]; then
curl -L https://github.com/kudobuilder/kuttl/releases/download/v${KUTTL_VERSION}/kubectl-kuttl_${KUTTL_VERSION}_darwin_x86_64 --output kuttl
elif [[ "$(expr substr $(uname -s) 1 5)" == "Linux" ]]; then
curl -L https://github.com/kudobuilder/kuttl/releases/download/v${KUTTL_VERSION}/kubectl-kuttl_${KUTTL_VERSION}_linux_x86_64 --output kuttl
Expand Down

0 comments on commit 549b32d

Please sign in to comment.