Skip to content

Commit

Permalink
fix CI by let it pull the right binary
Browse files Browse the repository at this point in the history
  • Loading branch information
alenkacz committed Jan 5, 2023
1 parent 0753364 commit 2846d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ arch_name="$(uname -m)"

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
elif [[ $arch_name == "Darwin" ]]; 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
fi

chmod +x kuttl

./kuttl test --config test/e2e/e2e-test.yaml
./kuttl test --config test/e2e/e2e-test.yaml

0 comments on commit 2846d20

Please sign in to comment.