File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,7 @@ source ./.evergreen/prepare-shell.sh
8
8
9
9
ENVIRONMENT=${ENVIRONMENT:- " test" }
10
10
PROJECT_DIRECTORY=${PROJECT_DIRECTORY:- " ." }
11
-
12
- if [ -n " ${K8S_VARIANT} " ]; then
13
- source $DRIVERS_TOOLS /.evergreen/init-node-and-npm-env.sh
14
- fi
11
+ source $DRIVERS_TOOLS /.evergreen/init-node-and-npm-env.sh
15
12
16
13
if [ -z " ${MONGODB_URI_SINGLE} " ]; then
17
14
echo " Must specify MONGODB_URI_SINGLE"
33
30
echo " Must specify K8S_VARIANT"
34
31
exit 1
35
32
fi
36
-
37
- # Since this is running in a pod, we need to ensure Node is installed properly.
38
- source $DRIVERS_TOOLS /.evergreen/install-node.sh
39
- npm install " ${NPM_OPTIONS} "
40
- source $DRIVERS_TOOLS /.evergreen/init-node-and-npm-env.sh
41
-
42
33
npm run check:oidc-k8s
43
34
fi
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ set -o xtrace # Write all commands first to stderr
3
3
set -o errexit # Exit the script with error if any of the commands fail
4
4
5
5
export K8S_DRIVERS_TAR_FILE=/tmp/node-mongodb-native.tgz
6
- tar czf $K8S_DRIVERS_TAR_FILE .
6
+ cd ..
7
+ tar -czf $K8S_DRIVERS_TAR_FILE src drivers-tools
8
+ cd -
7
9
bash $DRIVERS_TOOLS /.evergreen/auth_oidc/k8s/setup-pod.sh
8
10
bash $DRIVERS_TOOLS /.evergreen/auth_oidc/k8s/run-self-test.sh
9
11
export K8S_TEST_CMD=" DRIVERS_TOOLS=${DRIVERS_TOOLS} ENVIRONMENT=k8s ./.evergreen/${SCRIPT} "
You can’t perform that action at this time.
0 commit comments