Skip to content

Commit

Permalink
test: install ginkgo package in external e2e test
Browse files Browse the repository at this point in the history
install ginko

install ginkgo 2.9.2

fix
  • Loading branch information
andyzhangx committed Oct 12, 2023
1 parent 3290d29 commit c732be0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/external-e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ set -xe
PROJECT_ROOT=$(git rev-parse --show-toplevel)
DRIVER="blob"

install_ginkgo () {
go install github.com/onsi/ginkgo/[email protected]
}

setup_e2e_binaries() {
# download k8s external e2e binary
curl -sL https://dl.k8s.io/release/v1.26.4/kubernetes-test-linux-amd64.tar.gz --output e2e-tests.tar.gz
curl -sL https://dl.k8s.io/release/v1.24.0/kubernetes-test-linux-amd64.tar.gz --output e2e-tests.tar.gz
tar -xvf e2e-tests.tar.gz && rm e2e-tests.tar.gz

export EXTRA_HELM_OPTIONS="--set driver.name=$DRIVER.csi.azure.com --set controller.name=csi-$DRIVER-controller --set node.name=csi-$DRIVER-node --set driver.azureGoSDKLogLevel=INFO"
Expand All @@ -44,6 +48,7 @@ print_logs() {
bash ./test/utils/blob_log.sh $DRIVER
}

install_ginkgo
setup_e2e_binaries
trap print_logs EXIT

Expand Down

0 comments on commit c732be0

Please sign in to comment.