Skip to content

Commit

Permalink
Merge pull request #14 from alenkacz/av/fix-darwin
Browse files Browse the repository at this point in the history
fix CI by let it pull the right binary
  • Loading branch information
alenkacz committed Jan 5, 2023
2 parents 0753364 + 2846d20 commit 38f010d
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 38f010d

Please sign in to comment.