@@ -96,7 +96,7 @@ functions:
96
96
# If this was a patch build, doing a fresh clone would not actually test the patch
97
97
cp -R ${PROJECT_DIRECTORY}/ $DRIVERS_TOOLS
98
98
else
99
- git clone https://github.com/mongodb-labs /drivers-evergreen-tools.git $DRIVERS_TOOLS
99
+ git clone https://github.com/rozza /drivers-evergreen-tools.git $DRIVERS_TOOLS
100
100
fi
101
101
echo "{ \"releases\": { \"default\": \"$MONGODB_BINARIES\" }}" > $MONGO_ORCHESTRATION_HOME/orchestration.config
102
102
@@ -353,10 +353,11 @@ functions:
353
353
type : test
354
354
params :
355
355
working_dir : " src"
356
+ shell : " bash"
356
357
script : |
357
358
${PREPARE_SHELL}
358
359
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
359
- . ./activate_venv .sh
360
+ . ./activate-authawsvenv .sh
360
361
mongo aws_e2e_regular_aws.js
361
362
- command : shell.exec
362
363
type : test
@@ -379,10 +380,11 @@ functions:
379
380
type : test
380
381
params :
381
382
working_dir : " src"
383
+ shell : " bash"
382
384
script : |
383
385
${PREPARE_SHELL}
384
386
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
385
- . ./activate_venv .sh
387
+ . ./activate-authawsvenv .sh
386
388
mongo aws_e2e_assume_role.js
387
389
- command : shell.exec
388
390
type : test
@@ -410,15 +412,17 @@ functions:
410
412
type : test
411
413
params :
412
414
working_dir : " src"
415
+ shell : " bash"
413
416
script : |
414
417
${PREPARE_SHELL}
415
418
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
416
- . ./activate_venv .sh
419
+ . ./activate-authawsvenv .sh
417
420
mongo aws_e2e_ec2.js
418
421
- command : shell.exec
419
422
type : test
420
423
params :
421
424
working_dir : " src"
425
+ shell : " bash"
422
426
script : |
423
427
${PREPARE_SHELL}
424
428
# Write an empty prepare_mongodb_aws so no auth environment variables are set.
@@ -430,10 +434,11 @@ functions:
430
434
type : test
431
435
params :
432
436
working_dir : " src"
437
+ shell : " bash"
433
438
script : |
434
439
${PREPARE_SHELL}
435
440
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
436
- . ./activate_venv .sh
441
+ . ./activate-authawsvenv .sh
437
442
mongo aws_e2e_regular_aws.js
438
443
- command : shell.exec
439
444
type : test
@@ -459,10 +464,11 @@ functions:
459
464
type : test
460
465
params :
461
466
working_dir : " src"
467
+ shell : " bash"
462
468
script : |
463
469
${PREPARE_SHELL}
464
470
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
465
- . ./activate_venv .sh
471
+ . ./activate-authawsvenv .sh
466
472
mongo aws_e2e_assume_role.js
467
473
- command : shell.exec
468
474
type : test
@@ -489,10 +495,11 @@ functions:
489
495
type : test
490
496
params :
491
497
working_dir : " src"
498
+ shell : " bash"
492
499
script : |
493
500
${PREPARE_SHELL}
494
501
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
495
- . ./activate_venv .sh
502
+ . ./activate-authawsvenv .sh
496
503
cat <<EOF > setup.js
497
504
const mongo_binaries = "$MONGODB_BINARIES";
498
505
const project_dir = "$PROJECT_DIRECTORY";
@@ -526,43 +533,37 @@ functions:
526
533
working_dir : " src"
527
534
script : |
528
535
${PREPARE_SHELL}
529
- CA_FILE="$DRIVERS_TOOLS/.evergreen/ocsp/${OCSP_ALGORITHM}/ca.pem" \
536
+ CA_FILE="${ DRIVERS_TOOLS} /.evergreen/ocsp/${OCSP_ALGORITHM}/ca.pem" \
530
537
OCSP_TLS_SHOULD_SUCCEED="${OCSP_TLS_SHOULD_SUCCEED}" \
531
538
OCSP_MUST_STAPLE="${OCSP_MUST_STAPLE}" \
532
539
JAVA_VERSION="${JAVA_VERSION}" \
533
540
sh ${PROJECT_DIRECTORY}/.evergreen/run-ocsp-test.sh
534
541
535
542
" run-valid-ocsp-server-ca-responder " :
536
- - command : shell.exec
537
- params :
538
- script : |
539
- cd ${DRIVERS_TOOLS}/.evergreen/ocsp
540
- /opt/mongodbtoolchain/v3/bin/python3 -m venv ./venv
541
- ./venv/bin/pip3 install -r ${DRIVERS_TOOLS}/.evergreen/ocsp/mock-ocsp-responder-requirements.txt
542
543
- command : shell.exec
543
544
params :
544
545
background : true
546
+ shell : " bash"
545
547
script : |
548
+ ${PREPARE_SHELL}
546
549
cd ${DRIVERS_TOOLS}/.evergreen/ocsp
547
- nohup ./venv/bin/python3 ocsp_mock.py \
550
+ . ./activate-ocspvenv.sh
551
+ nohup python ocsp_mock.py \
548
552
--ca_file ${OCSP_ALGORITHM}/ca.pem \
549
553
--ocsp_responder_cert ${OCSP_ALGORITHM}/ca.crt \
550
554
--ocsp_responder_key ${OCSP_ALGORITHM}/ca.key \
551
555
-p 8100 -v
552
556
553
557
" run-revoked-ocsp-server-ca-responder " :
554
- - command : shell.exec
555
- params :
556
- script : |
557
- cd ${DRIVERS_TOOLS}/.evergreen/ocsp
558
- /opt/mongodbtoolchain/v3/bin/python3 -m venv ./venv
559
- ./venv/bin/pip3 install -r ${DRIVERS_TOOLS}/.evergreen/ocsp/mock-ocsp-responder-requirements.txt
560
558
- command : shell.exec
561
559
params :
562
560
background : true
561
+ shell : " bash"
563
562
script : |
563
+ ${PREPARE_SHELL}
564
564
cd ${DRIVERS_TOOLS}/.evergreen/ocsp
565
- nohup ./venv/bin/python3 ocsp_mock.py \
565
+ . ./activate-ocspvenv.sh
566
+ nohup python ocsp_mock.py \
566
567
--ca_file ${OCSP_ALGORITHM}/ca.pem \
567
568
--ocsp_responder_cert ${OCSP_ALGORITHM}/ca.crt \
568
569
--ocsp_responder_key ${OCSP_ALGORITHM}/ca.key \
@@ -571,36 +572,30 @@ functions:
571
572
--fault revoked
572
573
573
574
" run-valid-ocsp-server-delegate-responder " :
574
- - command : shell.exec
575
- params :
576
- script : |
577
- cd ${DRIVERS_TOOLS}/.evergreen/ocsp
578
- /opt/mongodbtoolchain/v3/bin/python3 -m venv ./venv
579
- ./venv/bin/pip3 install -r ${DRIVERS_TOOLS}/.evergreen/ocsp/mock-ocsp-responder-requirements.txt
580
575
- command : shell.exec
581
576
params :
582
577
background : true
578
+ shell : " bash"
583
579
script : |
580
+ ${PREPARE_SHELL}
584
581
cd ${DRIVERS_TOOLS}/.evergreen/ocsp
585
- nohup ./venv/bin/python3 ocsp_mock.py \
582
+ . ./activate-ocspvenv.sh
583
+ nohup python ocsp_mock.py \
586
584
--ca_file ${OCSP_ALGORITHM}/ca.pem \
587
585
--ocsp_responder_cert ${OCSP_ALGORITHM}/ocsp-responder.crt \
588
586
--ocsp_responder_key ${OCSP_ALGORITHM}/ocsp-responder.key \
589
587
-p 8100 -v
590
588
591
589
" run-revoked-ocsp-server-delegate-responder " :
592
- - command : shell.exec
593
- params :
594
- script : |
595
- cd ${DRIVERS_TOOLS}/.evergreen/ocsp
596
- /opt/mongodbtoolchain/v3/bin/python3 -m venv ./venv
597
- ./venv/bin/pip3 install -r ${DRIVERS_TOOLS}/.evergreen/ocsp/mock-ocsp-responder-requirements.txt
598
590
- command : shell.exec
599
591
params :
600
592
background : true
593
+ shell : " bash"
601
594
script : |
595
+ ${PREPARE_SHELL}
602
596
cd ${DRIVERS_TOOLS}/.evergreen/ocsp
603
- nohup ./venv/bin/python3 ocsp_mock.py \
597
+ . ./activate-ocspvenv.sh
598
+ nohup python ocsp_mock.py \
604
599
--ca_file ${OCSP_ALGORITHM}/ca.pem \
605
600
--ocsp_responder_cert ${OCSP_ALGORITHM}/ocsp-responder.crt \
606
601
--ocsp_responder_key ${OCSP_ALGORITHM}/ocsp-responder.key \
@@ -645,32 +640,32 @@ functions:
645
640
.evergreen/run-connectivity-tests.sh
646
641
647
642
start-kms-mock-server :
648
- - command : shell.exec
649
- params :
650
- script : |
651
- ${PREPARE_SHELL}
652
- cd ${DRIVERS_TOOLS}/.evergreen/csfle
653
- . ./activate_venv.sh
654
643
- command : shell.exec
655
644
params :
656
645
background : true
646
+ shell : " bash"
657
647
script : |
648
+ ${PREPARE_SHELL}
658
649
cd ${DRIVERS_TOOLS}/.evergreen/csfle
659
- ./kmstlsvenv/bin/python3 -u kms_http_server.py -v --ca_file ../x509gen/ca.pem --cert_file ../x509gen/${CERT_FILE} --port 8000
650
+ . ./activate-kmstlsvenv.sh
651
+ python -u kms_http_server.py -v --ca_file ../x509gen/ca.pem --cert_file ../x509gen/${CERT_FILE} --port 8000
660
652
661
653
start-kms-kmip-server :
662
654
- command : shell.exec
663
655
params :
656
+ shell : " bash"
664
657
script : |
665
658
${PREPARE_SHELL}
666
659
cd ${DRIVERS_TOOLS}/.evergreen/csfle
667
- . ./activate_venv .sh
660
+ . ./activate-kmstlsvenv .sh
668
661
- command : shell.exec
669
662
params :
663
+ shell : " bash"
670
664
background : true
671
665
script : |
672
666
cd ${DRIVERS_TOOLS}/.evergreen/csfle
673
- ./kmstlsvenv/bin/python3 -u kms_kmip_server.py
667
+ . ./activate-kmstlsvenv.sh
668
+ python -u kms_kmip_server.py
674
669
675
670
" run-kms-tls-test " :
676
671
- command : shell.exec
0 commit comments