Skip to content

Commit

Permalink
hack/actions: always download latest integration-tester release (#3262)
Browse files Browse the repository at this point in the history
We will not have to PR contour each time integration-tester changes.

Fixes #3257.

Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
  • Loading branch information
sunjayBhatia authored Jan 15, 2021
1 parent 59f6545 commit 3d41d1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/actions/install-kubernetes-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ download \
tar -C "${DESTDIR}" -xf "${DESTDIR}/kustomize.tgz" kustomize
rm "${DESTDIR}/kustomize.tgz"

readonly INTEGRATION_TESTER_PATH="$(curl -s -L https://github.com/projectcontour/integration-tester/releases/latest | grep href | grep -i "integration-tester_.*${OS}_x86_64\.tar\.gz" | cut -d '"' -f2)"
download \
"https://github.com/projectcontour/integration-tester/releases/download/v${INTEGRATION_TESTER_VERS}/integration-tester_${INTEGRATION_TESTER_VERS}_${OS}_x86_64.tar.gz" \
"https://github.com${INTEGRATION_TESTER_PATH}" \
"${DESTDIR}/integration-tester.tgz"

tar -C "${DESTDIR}" -xf "${DESTDIR}/integration-tester.tgz"
Expand Down

0 comments on commit 3d41d1d

Please sign in to comment.