Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use kubetest2 hosted in pingcap/tidb-operator (#5763) #5768

Merged
Merged
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
4 changes: 2 additions & 2 deletions hack/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ JQ_VERSION=${JQ_VERSION:-1.6}
HELM_VERSION=${HELM_VERSION:-3.11.0}
KIND_VERSION=${KIND_VERSION:-0.11.1}
KIND_BIN=$OUTPUT_BIN/kind
KUBETEST2_VERSION=v0.1.0
KUBETEST2_VERSION=kubetest2-v0.1.0
KUBETEST2_BIN=$OUTPUT_BIN/kubetest2
AWS_K8S_TESTER_VERSION=v1.1.5
AWS_K8S_TESTER_BIN=$OUTPUT_BIN/aws-k8s-tester
Expand Down Expand Up @@ -232,7 +232,7 @@ function hack::__ensure_kubetest2() {
local tmpfile=$(mktemp)
trap "test -f $tmpfile && rm $tmpfile" RETURN
echo "info: downloading $n $KUBETEST2_VERSION"
curl --retry 10 -L -o - https://github.com/cofyc/kubetest2-release/releases/download/$KUBETEST2_VERSION/$n-$OS-$ARCH.gz | gunzip > $tmpfile
curl --retry 10 -L -o - https://github.com/pingcap/tidb-operator/releases/download/$KUBETEST2_VERSION/$n-$OS-$ARCH.gz | gunzip > $tmpfile
mv $tmpfile $OUTPUT_BIN/$n
chmod +x $OUTPUT_BIN/$n
}
Expand Down
Loading