@@ -104,7 +104,7 @@ functions:
104
104
105
105
# ##
106
106
# ARTIFACT COMPILATION
107
- #
107
+ #
108
108
# compile_artifact generates the executable binary and uploads it as TGZ to S3 for later use.
109
109
# Use download_compiled_artifact to download the TGZ from S3.
110
110
#
@@ -142,7 +142,7 @@ functions:
142
142
143
143
# ##
144
144
# E2E TEST EXECUTION
145
- #
145
+ #
146
146
# Runs the E2E tests against the compiled artifact, i.e. expects the compiled artifact to be already present.
147
147
# ##
148
148
run_e2e_tests :
@@ -163,13 +163,13 @@ functions:
163
163
# package_and_upload_artifact generates a distributable package out of the compiled artifact,
164
164
# i.e. it expects it to have been downloaded already. The distributable package will be uploaded
165
165
# to a specifc Evergreen S3 bucket for later use.
166
- #
166
+ #
167
167
# The URL to download the distributable package can be retrieved by get_artifact_url.
168
168
#
169
169
# package_and_upload_artifact expects the following arguments:
170
170
# - distro_id
171
171
# - distribution_build_variant
172
- #
172
+ #
173
173
# get_artifact_url expects the following arguments:
174
174
# - distribution_build_variant
175
175
# ##
@@ -356,8 +356,21 @@ tasks:
356
356
357
357
# ##
358
358
# UNIT TESTS
359
+ # E.g. test_m40xc_n12 stands for mongod 4.0.x, community edition, Node.js 12
359
360
# ##
360
- - name : test_m40x_n12
361
+ - name : test_m40xc_n12
362
+ tags : ["unit-test"]
363
+ commands :
364
+ - func : checkout
365
+ - func : install
366
+ vars :
367
+ node_js_version : " 12.20.0"
368
+ - func : test
369
+ vars :
370
+ mongosh_server_test_version : " 4.0.x-community"
371
+ node_js_version : " 12.20.0"
372
+ mongosh_skip_node_version_check : " 1"
373
+ - name : test_m40xe_n12
361
374
tags : ["unit-test"]
362
375
commands :
363
376
- func : checkout
@@ -369,7 +382,19 @@ tasks:
369
382
mongosh_server_test_version : " 4.0.x"
370
383
node_js_version : " 12.20.0"
371
384
mongosh_skip_node_version_check : " 1"
372
- - name : test_m42x_n12
385
+ - name : test_m42xc_n12
386
+ tags : ["unit-test"]
387
+ commands :
388
+ - func : checkout
389
+ - func : install
390
+ vars :
391
+ node_js_version : " 12.20.0"
392
+ - func : test
393
+ vars :
394
+ mongosh_server_test_version : " 4.2.x-community"
395
+ node_js_version : " 12.20.0"
396
+ mongosh_skip_node_version_check : " 1"
397
+ - name : test_m42xe_n12
373
398
tags : ["unit-test"]
374
399
commands :
375
400
- func : checkout
@@ -381,7 +406,19 @@ tasks:
381
406
mongosh_server_test_version : " 4.2.x"
382
407
node_js_version : " 12.20.0"
383
408
mongosh_skip_node_version_check : " 1"
384
- - name : test_m44x_n12
409
+ - name : test_m44xc_n12
410
+ tags : ["unit-test"]
411
+ commands :
412
+ - func : checkout
413
+ - func : install
414
+ vars :
415
+ node_js_version : " 12.20.0"
416
+ - func : test
417
+ vars :
418
+ mongosh_server_test_version : " 4.4.x-community"
419
+ node_js_version : " 12.20.0"
420
+ mongosh_skip_node_version_check : " 1"
421
+ - name : test_m44xe_n12
385
422
tags : ["unit-test"]
386
423
commands :
387
424
- func : checkout
@@ -405,7 +442,18 @@ tasks:
405
442
mongosh_server_test_version : " latest-alpha"
406
443
node_js_version : " 12.20.0"
407
444
mongosh_skip_node_version_check : " 1"
408
- - name : test_m40x_n14
445
+ - name : test_m40xc_n14
446
+ tags : ["unit-test"]
447
+ commands :
448
+ - func : checkout
449
+ - func : install
450
+ vars :
451
+ node_js_version : " 14.15.1"
452
+ - func : test
453
+ vars :
454
+ mongosh_server_test_version : " 4.0.x-community"
455
+ node_js_version : " 14.15.1"
456
+ - name : test_m40xe_n14
409
457
tags : ["unit-test"]
410
458
commands :
411
459
- func : checkout
@@ -416,7 +464,18 @@ tasks:
416
464
vars :
417
465
mongosh_server_test_version : " 4.0.x"
418
466
node_js_version : " 14.15.1"
419
- - name : test_m42x_n14
467
+ - name : test_m42xc_n14
468
+ tags : ["unit-test"]
469
+ commands :
470
+ - func : checkout
471
+ - func : install
472
+ vars :
473
+ node_js_version : " 14.15.1"
474
+ - func : test
475
+ vars :
476
+ mongosh_server_test_version : " 4.2.x-community"
477
+ node_js_version : " 14.15.1"
478
+ - name : test_m42xe_n14
420
479
tags : ["unit-test"]
421
480
commands :
422
481
- func : checkout
@@ -427,7 +486,18 @@ tasks:
427
486
vars :
428
487
mongosh_server_test_version : " 4.2.x"
429
488
node_js_version : " 14.15.1"
430
- - name : test_m44x_n14
489
+ - name : test_m44xc_n14
490
+ tags : ["unit-test"]
491
+ commands :
492
+ - func : checkout
493
+ - func : install
494
+ vars :
495
+ node_js_version : " 14.15.1"
496
+ - func : test
497
+ vars :
498
+ mongosh_server_test_version : " 4.4.x-community"
499
+ node_js_version : " 14.15.1"
500
+ - name : test_m44xe_n14
431
501
tags : ["unit-test"]
432
502
commands :
433
503
- func : checkout
@@ -636,7 +706,7 @@ tasks:
636
706
vars :
637
707
node_js_version : " 14.15.1"
638
708
distribution_build_variant : win32msi
639
-
709
+
640
710
# ##
641
711
# SMOKE TESTS
642
712
# ##
@@ -767,7 +837,7 @@ tasks:
767
837
source_distribution_build_variant : darwin
768
838
- func : write_preload_script
769
839
- func : test_artifact_macos
770
-
840
+
771
841
# ##
772
842
# RELEASE TASKS
773
843
# ##
@@ -816,13 +886,19 @@ buildvariants:
816
886
executable_os_id : darwin
817
887
tasks :
818
888
- name : check
819
- - name : test_m40x_n12
820
- - name : test_m42x_n12
821
- - name : test_m44x_n12
889
+ - name : test_m40xc_n12
890
+ - name : test_m40xe_n12
891
+ - name : test_m42xc_n12
892
+ - name : test_m42xe_n12
893
+ - name : test_m44xc_n12
894
+ - name : test_m44xe_n12
822
895
- name : test_mlatest_n12
823
- - name : test_m40x_n14
824
- - name : test_m42x_n14
825
- - name : test_m44x_n14
896
+ - name : test_m40xc_n14
897
+ - name : test_m40xe_n14
898
+ - name : test_m42xc_n14
899
+ - name : test_m42xe_n14
900
+ - name : test_m44xc_n14
901
+ - name : test_m44xe_n14
826
902
- name : test_mlatest_n14
827
903
- name : compile_artifact
828
904
- name : e2e_tests_darwin
@@ -834,13 +910,19 @@ buildvariants:
834
910
executable_os_id : linux
835
911
tasks :
836
912
- name : check
837
- - name : test_m40x_n12
838
- - name : test_m42x_n12
839
- - name : test_m44x_n12
913
+ - name : test_m40xc_n12
914
+ - name : test_m40xe_n12
915
+ - name : test_m42xc_n12
916
+ - name : test_m42xe_n12
917
+ - name : test_m44xc_n12
918
+ - name : test_m44xe_n12
840
919
- name : test_mlatest_n12
841
- - name : test_m40x_n14
842
- - name : test_m42x_n14
843
- - name : test_m44x_n14
920
+ - name : test_m40xc_n14
921
+ - name : test_m40xe_n14
922
+ - name : test_m42xc_n14
923
+ - name : test_m42xe_n14
924
+ - name : test_m44xc_n14
925
+ - name : test_m44xe_n14
844
926
- name : test_mlatest_n14
845
927
- name : test_vscode
846
928
- name : test_connectivity
@@ -893,13 +975,19 @@ buildvariants:
893
975
executable_os_id : win32
894
976
tasks :
895
977
- name : check
896
- - name : test_m40x_n12
897
- - name : test_m42x_n12
898
- - name : test_m44x_n12
978
+ - name : test_m40xc_n12
979
+ - name : test_m40xe_n12
980
+ - name : test_m42xc_n12
981
+ - name : test_m42xe_n12
982
+ - name : test_m44xc_n12
983
+ - name : test_m44xe_n12
899
984
- name : test_mlatest_n12
900
- - name : test_m40x_n14
901
- - name : test_m42x_n14
902
- - name : test_m44x_n14
985
+ - name : test_m40xc_n14
986
+ - name : test_m40xe_n14
987
+ - name : test_m42xc_n14
988
+ - name : test_m42xe_n14
989
+ - name : test_m44xc_n14
990
+ - name : test_m44xe_n14
903
991
- name : test_mlatest_n14
904
992
- name : e2e_tests_win
905
993
- name : package_and_upload_artifact_win
0 commit comments