File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -495,32 +495,12 @@ functions:
495495 make test
496496
497497 " run install binaries test " :
498- - command : shell .exec
498+ - command : subprocess .exec
499499 type : test
500500 params :
501- shell : bash
502- script : |-
503- set -o errexit
504- cd ${DRIVERS_TOOLS}
505- if [ -z "${SKIP_NODE}" ]; then
506- .evergreen/install-node.sh
507- fi
508- .evergreen/install-rust.sh
509- PATH=.bin:$PATH
510- if [ $OS == "Windows_NT" ]; then
511- exit 0
512- fi
513- case $(uname -m) in
514- aarch64 | x86_64 | arm64)
515- . ./.evergreen/ensure-binary.sh gcloud
516- gcloud --version
517- . ./.evergreen/ensure-binary.sh kubectl
518- which kubectl
519- ;;
520- esac
521- # Generate a test results file
522- cd ${PROJECT_DIRECTORY}
523- make test
501+ binary : bash
502+ include_expansions_in_env : [SKIP_NODE]
503+ args : [src/.evergreen/tests/test-install-binaries.sh]
524504
525505 " run aws test " :
526506 - command : subprocess.exec
Original file line number Diff line number Diff line change 4747 image: debian:12
4848 resources:
4949 limits:
50- memory: "4Gi "
50+ memory: "8Gi "
5151 cpu: "1"
5252 ephemeral-storage: "8Gi"
5353 command: ["/bin/sleep", "3650d"]
Original file line number Diff line number Diff line change 22set -eu
33
44echo " Installing dependencies ... begin"
5- apt-get -qq update
5+ apt-get -qq -o DPkg::Lock::Timeout=-1 update
66# Same dependencies used in KMS testing.
77export DEBIAN_FRONTEND=noninteractive
88apt-get -qq -y -o DPkg::Lock::Timeout=-1 install libcurl4 libgssapi-krb5-2 libldap-common libwrap0 libsasl2-2 \
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -eu
3+
4+ SCRIPT_DIR=$( dirname ${BASH_SOURCE[0]} )
5+ . $SCRIPT_DIR /../handle-paths.sh
6+
7+ pushd $SCRIPT_DIR /..
8+
9+ if [ -z " ${SKIP_NODE:- } " ]; then
10+ ./install-node.sh
11+ fi
12+
13+ ./install-rust.sh
14+
15+ if [ ${OS:- } != " Windows_NT" ]; then
16+ # Add a suitable python3 to the path.
17+ PYTHON_BINARY=$( bash -c " . $SCRIPT_DIR /../find-python3.sh && ensure_python3 2>/dev/null" )
18+ PATH=" $( dirname $PYTHON_BINARY ) :$PATH "
19+ case $( uname -m) in
20+ aarch64 | x86_64 | arm64)
21+ . ./ensure-binary.sh gcloud
22+ gcloud --version
23+ . ./ensure-binary.sh kubectl
24+ which kubectl
25+ ;;
26+ esac
27+ fi
28+
29+ popd
30+ make -C ${DRIVERS_TOOLS} test
You can’t perform that action at this time.
0 commit comments