File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ source ./.evergreen/prepare-shell.sh
8
8
9
9
ENVIRONMENT=${ENVIRONMENT:- " test" }
10
10
PROJECT_DIRECTORY=${PROJECT_DIRECTORY:- " ." }
11
- source $DRIVERS_TOOLS /.evergreen/init-node-and-npm-env.sh
11
+
12
+ if [ -n " ${K8S_VARIANT} " ]; then
13
+ source $DRIVERS_TOOLS /.evergreen/init-node-and-npm-env.sh
14
+ fi
12
15
13
16
if [ -z " ${MONGODB_URI_SINGLE} " ]; then
14
17
echo " Must specify MONGODB_URI_SINGLE"
30
33
echo " Must specify K8S_VARIANT"
31
34
exit 1
32
35
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
+
33
42
npm run check:oidc-k8s
34
43
fi
You can’t perform that action at this time.
0 commit comments