Skip to content

Commit 17b2040

Browse files
committed
chore(ci): fix aws auth boto3 error
1 parent 19ba74a commit 17b2040

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.evergreen/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ functions:
283283
script: |
284284
${PREPARE_SHELL}
285285
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
286+
. ./activate_venv.sh
286287
${MONGODB_BINARIES}/mongo aws_e2e_regular_aws.js
287288
- command: shell.exec
288289
type: test
@@ -311,6 +312,7 @@ functions:
311312
script: |
312313
${PREPARE_SHELL}
313314
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
315+
. ./activate_venv.sh
314316
${MONGODB_BINARIES}/mongo aws_e2e_assume_role.js
315317
- command: shell.exec
316318
type: test
@@ -343,6 +345,7 @@ functions:
343345
script: |
344346
${PREPARE_SHELL}
345347
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
348+
. ./activate_venv.sh
346349
${MONGODB_BINARIES}/mongo aws_e2e_ec2.js
347350
- command: shell.exec
348351
type: test
@@ -415,6 +418,7 @@ functions:
415418
EOF
416419
417420
cat setup.js
421+
. ./activate_venv.sh
418422
mongo --nodb setup.js aws_e2e_ecs.js
419423
run-ocsp-test:
420424
- command: shell.exec

.evergreen/config.yml.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ functions:
317317
script: |
318318
${PREPARE_SHELL}
319319
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
320+
. ./activate_venv.sh
320321
${MONGODB_BINARIES}/mongo aws_e2e_regular_aws.js
321322
- command: shell.exec
322323
type: test
@@ -346,6 +347,7 @@ functions:
346347
script: |
347348
${PREPARE_SHELL}
348349
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
350+
. ./activate_venv.sh
349351
${MONGODB_BINARIES}/mongo aws_e2e_assume_role.js
350352
- command: shell.exec
351353
type: test
@@ -379,6 +381,7 @@ functions:
379381
script: |
380382
${PREPARE_SHELL}
381383
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
384+
. ./activate_venv.sh
382385
${MONGODB_BINARIES}/mongo aws_e2e_ec2.js
383386
- command: shell.exec
384387
type: test
@@ -454,6 +457,7 @@ functions:
454457
EOF
455458

456459
cat setup.js
460+
. ./activate_venv.sh
457461
mongo --nodb setup.js aws_e2e_ecs.js
458462

459463
"run-ocsp-test":

0 commit comments

Comments
 (0)