@@ -506,6 +506,7 @@ functions:
506
506
script : |
507
507
${PREPARE_SHELL}
508
508
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
509
+ . ./activate_venv.sh
509
510
mongo aws_e2e_regular_aws.js
510
511
- command : shell.exec
511
512
type : test
@@ -534,15 +535,8 @@ functions:
534
535
working_dir : " src"
535
536
script : |
536
537
${PREPARE_SHELL}
537
- # The aws_e2e_assume_role script requires python3 with boto3.
538
- virtualenv -p ${python3_binary} mongovenv
539
- if [ "Windows_NT" = "$OS" ]; then
540
- . mongovenv/Scripts/activate
541
- else
542
- . mongovenv/bin/activate
543
- fi
544
- pip install --upgrade boto3
545
538
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
539
+ . ./activate_venv.sh
546
540
mongo aws_e2e_assume_role.js
547
541
- command : shell.exec
548
542
type : test
@@ -581,13 +575,8 @@ functions:
581
575
echo "This platform does not support the EC2 auth test, skipping..."
582
576
exit 0
583
577
fi
584
- # The mongovenv was created earlier in "run aws auth test with assume role credentials".
585
- if [ "Windows_NT" = "$OS" ]; then
586
- . mongovenv/Scripts/activate
587
- else
588
- . mongovenv/bin/activate
589
- fi
590
578
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
579
+ . ./activate_venv.sh
591
580
mongo aws_e2e_ec2.js
592
581
- command : shell.exec
593
582
type : test
@@ -650,13 +639,8 @@ functions:
650
639
echo "This platform does not support the ECS auth test, skipping..."
651
640
exit 0
652
641
fi
653
- # The mongovenv was created earlier in "run aws auth test with assume role credentials".
654
- if [ "Windows_NT" = "$OS" ]; then
655
- . mongovenv/Scripts/activate
656
- else
657
- . mongovenv/bin/activate
658
- fi
659
642
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
643
+ . ./activate_venv.sh
660
644
cat <<EOF > setup.js
661
645
const mongo_binaries = "$MONGODB_BINARIES";
662
646
const project_dir = "$PROJECT_DIRECTORY";
0 commit comments