@@ -32,7 +32,7 @@ functions:
32
32
# Applies the subitted patch, if any
33
33
# Deprecated. Should be removed. But still needed for certain agents (ZAP)
34
34
- command : git.apply_patch
35
- # Make an evergreen expansion file with dynamic values
35
+ # Make an evergreen exapanstion file with dynamic values
36
36
- command : shell.exec
37
37
params :
38
38
working_dir : " src"
@@ -296,7 +296,7 @@ functions:
296
296
export AWS_DEFAULT_REGION=us-east-1
297
297
. ${DRIVERS_TOOLS}/.evergreen/csfle/set-temp-creds.sh
298
298
AUTH="${AUTH}" SSL="${SSL}" MONGODB_URI="${MONGODB_URI}" SAFE_FOR_MULTI_MONGOS="${SAFE_FOR_MULTI_MONGOS}" TOPOLOGY="${TOPOLOGY}" \
299
- COMPRESSOR="${COMPRESSOR}" JAVA_VERSION ="${JAVA_VERSION }" \
299
+ COMPRESSOR="${COMPRESSOR}" JDK ="${JDK }" \
300
300
AWS_ACCESS_KEY_ID=${aws_access_key_id} AWS_SECRET_ACCESS_KEY=${aws_secret_access_key} \
301
301
AWS_TEMP_ACCESS_KEY_ID=$CSFLE_AWS_TEMP_ACCESS_KEY_ID \
302
302
AWS_TEMP_SECRET_ACCESS_KEY=$CSFLE_AWS_TEMP_SECRET_ACCESS_KEY \
@@ -313,7 +313,7 @@ functions:
313
313
working_dir : " src"
314
314
script : |
315
315
${PREPARE_SHELL}
316
- AUTH="${AUTH}" SSL="${SSL}" JAVA_VERSION ="${JAVA_VERSION }" \
316
+ AUTH="${AUTH}" SSL="${SSL}" JDK ="${JDK }" \
317
317
SINGLE_MONGOS_LB_URI="${SINGLE_MONGOS_LB_URI}" \
318
318
MULTI_MONGOS_LB_URI="${MULTI_MONGOS_LB_URI}" \
319
319
.evergreen/run-load-balancer-tests.sh
@@ -325,7 +325,7 @@ functions:
325
325
working_dir : " src"
326
326
script : |
327
327
${PREPARE_SHELL}
328
- JAVA_VERSION ="${JAVA_VERSION }" \
328
+ JDK ="${JDK }" \
329
329
SINGLE_ATLASPROXY_SERVERLESS_URI="${SINGLE_ATLASPROXY_SERVERLESS_URI}" \
330
330
MULTI_ATLASPROXY_SERVERLESS_URI="${MULTI_ATLASPROXY_SERVERLESS_URI}" \
331
331
SERVERLESS_ATLAS_USER="${SERVERLESS_ATLAS_USER}" \
@@ -348,7 +348,7 @@ functions:
348
348
working_dir : " src"
349
349
script : |
350
350
${PREPARE_SHELL}
351
- AUTH="${AUTH}" SSL="${SSL}" MONGODB_URI="${MONGODB_URI}" TOPOLOGY="${TOPOLOGY}" COMPRESSOR="${COMPRESSOR}" JAVA_VERSION ="${JAVA_VERSION }" SLOW_TESTS_ONLY=true .evergreen/run-tests.sh
351
+ AUTH="${AUTH}" SSL="${SSL}" MONGODB_URI="${MONGODB_URI}" TOPOLOGY="${TOPOLOGY}" COMPRESSOR="${COMPRESSOR}" JDK ="${JDK }" SLOW_TESTS_ONLY=true .evergreen/run-tests.sh
352
352
353
353
" run scala tests " :
354
354
- command : shell.exec
@@ -357,7 +357,7 @@ functions:
357
357
working_dir : " src"
358
358
script : |
359
359
${PREPARE_SHELL}
360
- SCALA="${SCALA}" AUTH="${AUTH}" SSL="${SSL}" MONGODB_URI="${MONGODB_URI}" SAFE_FOR_MULTI_MONGOS="${SAFE_FOR_MULTI_MONGOS}" TOPOLOGY="${TOPOLOGY}" JAVA_VERSION ="${JAVA_VERSION }" .evergreen/run-scala-tests.sh
360
+ SCALA="${SCALA}" AUTH="${AUTH}" SSL="${SSL}" MONGODB_URI="${MONGODB_URI}" SAFE_FOR_MULTI_MONGOS="${SAFE_FOR_MULTI_MONGOS}" TOPOLOGY="${TOPOLOGY}" JDK ="${JDK }" .evergreen/run-scala-tests.sh
361
361
362
362
" run socket tests " :
363
363
- command : shell.exec
@@ -366,7 +366,7 @@ functions:
366
366
working_dir : " src"
367
367
script : |
368
368
${PREPARE_SHELL}
369
- AUTH="${AUTH}" MONGODB_URI="${MONGODB_URI}" TOPOLOGY="${TOPOLOGY}" COMPRESSOR="${COMPRESSOR}" JAVA_VERSION ="${JAVA_VERSION }" .evergreen/run-socket-tests.sh
369
+ AUTH="${AUTH}" MONGODB_URI="${MONGODB_URI}" TOPOLOGY="${TOPOLOGY}" COMPRESSOR="${COMPRESSOR}" JDK ="${JDK }" .evergreen/run-socket-tests.sh
370
370
371
371
" run netty tests " :
372
372
- command : shell.exec
@@ -375,7 +375,7 @@ functions:
375
375
working_dir : " src"
376
376
script : |
377
377
${PREPARE_SHELL}
378
- STREAM_TYPE="netty" AUTH="${AUTH}" SSL="${SSL}" NETTY_SSL_PROVIDER="${NETTY_SSL_PROVIDER}" MONGODB_URI="${MONGODB_URI}" TOPOLOGY="${TOPOLOGY}" COMPRESSOR="${COMPRESSOR}" JAVA_VERSION ="${JAVA_VERSION }" .evergreen/run-tests.sh
378
+ STREAM_TYPE="netty" AUTH="${AUTH}" SSL="${SSL}" NETTY_SSL_PROVIDER="${NETTY_SSL_PROVIDER}" MONGODB_URI="${MONGODB_URI}" TOPOLOGY="${TOPOLOGY}" COMPRESSOR="${COMPRESSOR}" JDK ="${JDK }" .evergreen/run-tests.sh
379
379
380
380
" run plain auth test " :
381
381
- command : shell.exec
@@ -385,7 +385,7 @@ functions:
385
385
working_dir : " src"
386
386
script : |
387
387
# DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
388
- JAVA_VERSION="8 " MONGODB_URI="${plain_auth_mongodb_uri}" .evergreen/run-plain-auth-test.sh
388
+ JDK="jdk8 " MONGODB_URI="${plain_auth_mongodb_uri}" .evergreen/run-plain-auth-test.sh
389
389
390
390
" add aws auth variables to file " :
391
391
- command : shell.exec
@@ -437,7 +437,7 @@ functions:
437
437
PASS=$(urlencode ${iam_auth_ecs_secret_access_key})
438
438
MONGODB_URI="mongodb://$USER:$PASS@localhost"
439
439
EOF
440
- JAVA_VERSION =${JAVA_VERSION } PROJECT_DIRECTORY=${PROJECT_DIRECTORY} .evergreen/run-mongodb-aws-test.sh
440
+ JDK =${JDK } PROJECT_DIRECTORY=${PROJECT_DIRECTORY} .evergreen/run-mongodb-aws-test.sh
441
441
442
442
" run aws auth test with assume role credentials " :
443
443
- command : shell.exec
@@ -466,7 +466,7 @@ functions:
466
466
SESSION_TOKEN=$(urlencode $SESSION_TOKEN)
467
467
MONGODB_URI="mongodb://$USER:$PASS@localhost"
468
468
EOF
469
- JAVA_VERSION =${JAVA_VERSION } PROJECT_DIRECTORY=${PROJECT_DIRECTORY} DRIVERS_TOOLS=${DRIVERS_TOOLS} .evergreen/run-mongodb-aws-test.sh
469
+ JDK =${JDK } PROJECT_DIRECTORY=${PROJECT_DIRECTORY} DRIVERS_TOOLS=${DRIVERS_TOOLS} .evergreen/run-mongodb-aws-test.sh
470
470
471
471
" run aws auth test with aws EC2 credentials " :
472
472
- command : shell.exec
@@ -484,7 +484,7 @@ functions:
484
484
working_dir : " src"
485
485
script : |
486
486
${PREPARE_SHELL}
487
- JAVA_VERSION =${JAVA_VERSION } .evergreen/run-mongodb-aws-test.sh
487
+ JDK =${JDK } .evergreen/run-mongodb-aws-test.sh
488
488
489
489
" run aws auth test with aws credentials as environment variables " :
490
490
- command : shell.exec
@@ -504,7 +504,7 @@ functions:
504
504
working_dir : " src"
505
505
script : |
506
506
${PREPARE_SHELL}
507
- JAVA_VERSION =${JAVA_VERSION } .evergreen/run-mongodb-aws-test.sh
507
+ JDK =${JDK } .evergreen/run-mongodb-aws-test.sh
508
508
509
509
" run aws auth test with aws credentials and session token as environment variables " :
510
510
- command : shell.exec
@@ -525,7 +525,7 @@ functions:
525
525
working_dir : " src"
526
526
script : |
527
527
${PREPARE_SHELL}
528
- JAVA_VERSION =${JAVA_VERSION } .evergreen/run-mongodb-aws-test.sh
528
+ JDK =${JDK } .evergreen/run-mongodb-aws-test.sh
529
529
530
530
" run aws ECS auth test " :
531
531
- command : shell.exec
@@ -551,7 +551,7 @@ functions:
551
551
working_dir : " src"
552
552
script : |
553
553
${PREPARE_SHELL}
554
- JAVA_VERSION =${JAVA_VERSION } .evergreen/run-atlas-data-lake-test.sh
554
+ JDK =${JDK } .evergreen/run-atlas-data-lake-test.sh
555
555
556
556
" run-ocsp-test " :
557
557
- command : shell.exec
@@ -563,7 +563,7 @@ functions:
563
563
CA_FILE="$DRIVERS_TOOLS/.evergreen/ocsp/${OCSP_ALGORITHM}/ca.pem" \
564
564
OCSP_TLS_SHOULD_SUCCEED="${OCSP_TLS_SHOULD_SUCCEED}" \
565
565
OCSP_MUST_STAPLE="${OCSP_MUST_STAPLE}" \
566
- JAVA_VERSION ="${JAVA_VERSION }" \
566
+ JDK ="${JDK }" \
567
567
sh ${PROJECT_DIRECTORY}/.evergreen/run-ocsp-test.sh
568
568
569
569
" run-valid-ocsp-server-ca-responder " :
@@ -650,7 +650,7 @@ functions:
650
650
working_dir : " src"
651
651
script : |
652
652
# DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
653
- PROJECT_DIRECTORY=${PROJECT_DIRECTORY} JAVA_VERSION =${JAVA_VERSION } MONGODB_URI=${gssapi_auth_mongodb_uri} KDC=${gssapi_auth_kdc} REALM=${gssapi_auth_realm} KEYTAB_BASE64=${gssapi_auth_keytab_base64} .evergreen/run-gssapi-auth-test.sh
653
+ PROJECT_DIRECTORY=${PROJECT_DIRECTORY} JDK =${JDK } MONGODB_URI=${gssapi_auth_mongodb_uri} KDC=${gssapi_auth_kdc} REALM=${gssapi_auth_realm} KEYTAB_BASE64=${gssapi_auth_keytab_base64} .evergreen/run-gssapi-auth-test.sh
654
654
655
655
" run mmapv1 storage test " :
656
656
- command : shell.exec
@@ -660,7 +660,7 @@ functions:
660
660
working_dir : " src"
661
661
script : |
662
662
${PREPARE_SHELL}
663
- PROJECT_DIRECTORY=${PROJECT_DIRECTORY} JAVA_VERSION =${JAVA_VERSION } TOPOLOGY=${TOPOLOGY} STORAGE_ENGINE=${STORAGE_ENGINE} MONGODB_URI="${MONGODB_URI}" .evergreen/run-mmapv1-storage-test.sh
663
+ PROJECT_DIRECTORY=${PROJECT_DIRECTORY} JDK =${JDK } TOPOLOGY=${TOPOLOGY} STORAGE_ENGINE=${STORAGE_ENGINE} MONGODB_URI="${MONGODB_URI}" .evergreen/run-mmapv1-storage-test.sh
664
664
665
665
" run atlas test " :
666
666
- command : shell.exec
@@ -671,7 +671,7 @@ functions:
671
671
script : |
672
672
# DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
673
673
# The connection strings are pipe-delimited
674
- JAVA_VERSION="8 " \
674
+ JDK="jdk8 " \
675
675
MONGODB_URIS="${atlas_free_tier_uri}|${atlas_replica_set_uri}|${atlas_sharded_uri}|${atlas_tls_v11_uri}|${atlas_tls_v12_uri}|${atlas_free_tier_uri_srv}|${atlas_replica_set_uri_srv}|${atlas_sharded_uri_srv}|${atlas_tls_v11_uri_srv}|${atlas_tls_v12_uri_srv}|${atlas_serverless_uri}|${atlas_serverless_uri_srv}" \
676
676
.evergreen/run-connectivity-tests.sh
677
677
@@ -1507,15 +1507,15 @@ axes:
1507
1507
- id : " jdk17"
1508
1508
display_name : JDK17
1509
1509
variables :
1510
- JAVA_VERSION : " 17 "
1510
+ JDK : " jdk17 "
1511
1511
- id : " jdk11"
1512
1512
display_name : JDK11
1513
1513
variables :
1514
- JAVA_VERSION : " 11 "
1514
+ JDK : " jdk11 "
1515
1515
- id : " jdk8"
1516
1516
display_name : JDK8
1517
1517
variables :
1518
- JAVA_VERSION : " 8 "
1518
+ JDK : " jdk8 "
1519
1519
1520
1520
- id : scala
1521
1521
display_name : SCALA
0 commit comments