-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy path.evergreen.yml
More file actions
2254 lines (2078 loc) · 73.7 KB
/
Copy path.evergreen.yml
File metadata and controls
2254 lines (2078 loc) · 73.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# For .evergreen.yml configuration and usage reference, see EVERGREEN.md file
# 2h timeout for all the tasks
exec_timeout_secs: 7200
include:
- filename: .evergreen-functions.yml
- filename: .evergreen-tasks.yml
- filename: .evergreen-mco.yml
- filename: .evergreen-snippets.yml
- filename: .evergreen-release.yml
variables:
- &ops_manager_60_latest 6.0.27 # The order/index is important, since these are anchors. Please do not change
- &ops_manager_70_latest 7.0.23 # The order/index is important, since these are anchors. Please do not change
- &ops_manager_80_latest 8.0.24 # The order/index is important, since these are anchors. Please do not change
# The dependency unification between static and non-static is intentional here.
# Even though some images are exclusive, in EVG they all are built once and in parallel.
# It is not worth the effort of splitting them out.
# Once Static Containers are default, this piece can be cleaned up.
- &base_om6_dependency
depends_on:
- name: build_om_images
variant: build_om60_images
- name: build_operator_ubi
variant: init_test_run
- name: build_init_database_image_ubi
variant: init_test_run
- name: build_database_image_ubi
variant: init_test_run
- name: build_test_image
variant: init_test_run
- name: build_init_om_images_ubi
variant: init_test_run
- name: publish_helm_chart
variant: init_test_run
- &base_no_om_image_dependency
depends_on:
- name: build_operator_ubi
variant: init_test_run
- name: build_init_database_image_ubi
variant: init_test_run
- name: build_database_image_ubi
variant: init_test_run
- name: build_readiness_probe_image
variant: init_test_run
- name: build_version_upgrade_hook_image
variant: init_test_run
- name: build_test_image
variant: init_test_run
- name: publish_helm_chart
variant: init_test_run
- &community_dependency
depends_on:
- name: build_operator_ubi
variant: init_test_run
- name: build_test_image
variant: init_test_run
- name: build_readiness_probe_image
variant: init_test_run
- name: build_version_upgrade_hook_image
variant: init_test_run
- name: build_mco_test_image
variant: init_test_run
- name: publish_helm_chart
variant: init_test_run
- &setup_group
setup_group_can_fail_task: true
setup_group:
- func: clone
- func: download_kube_tools
- func: switch_context
- func: setup_building_host
- &setup_group_ibm
setup_group_can_fail_task: true
setup_group:
- func: clone
- func: switch_context
- func: setup_building_host_minikube
- &setup_group_multi_cluster
setup_group_can_fail_task: true
setup_group:
- func: clone
- func: download_kube_tools
- func: switch_context
- func: setup_building_host
- &setup_and_teardown_task_cloudqa
setup_task_can_fail_task: true
setup_task:
- func: cleanup_exec_environment
- func: configure_docker_auth
- func: switch_context
- func: setup_kubernetes_environment
- func: setup_cloud_qa
teardown_task_can_fail_task: true
teardown_task:
- func: teardown_cloud_qa
- func: upload_e2e_logs
- func: teardown_kubernetes_environment
- &setup_and_teardown_task
setup_task_can_fail_task: true
setup_task:
- func: cleanup_exec_environment
- func: configure_docker_auth
- func: setup_kubernetes_environment
- func: switch_context
teardown_task_can_fail_task: true
teardown_task:
- func: upload_e2e_logs
- func: teardown_kubernetes_environment
- &teardown_group
teardown_group:
- func: prune_docker_resources
- &base_om7_dependency
depends_on:
- name: build_om_images
variant: build_om70_images
- name: build_operator_ubi
variant: init_test_run
- name: build_init_database_image_ubi
variant: init_test_run
- name: build_database_image_ubi
variant: init_test_run
- name: build_test_image
variant: init_test_run
- name: build_init_om_images_ubi
variant: init_test_run
- name: publish_helm_chart
variant: init_test_run
# Wait for OM images to be published to quay.io on commit builds (staging).
# On patch builds, this dependency is skipped (task doesn't exist).
- name: release_om_and_agents
variant: release_om_and_agents
patch_optional: true
- &base_om7_dependency_with_race
depends_on:
- name: build_om_images
variant: build_om70_images
- name: build_operator_race_ubi
variant: init_test_run
- name: build_init_database_image_ubi
variant: init_test_run
- name: build_database_image_ubi
variant: init_test_run
- name: build_test_image
variant: init_test_run
- name: build_init_om_images_ubi
variant: init_test_run
- name: publish_helm_chart
variant: init_test_run
# Any change to base_om8_dependency should be reflected to its copy in .evergreen-snippets.yml
- &base_om8_dependency
depends_on:
- name: build_om_images
variant: build_om80_images
- name: build_operator_ubi
variant: init_test_run
- name: build_init_database_image_ubi
variant: init_test_run
- name: build_database_image_ubi
variant: init_test_run
- name: build_test_image
variant: init_test_run
- name: build_init_om_images_ubi
variant: init_test_run
- name: publish_helm_chart
variant: init_test_run
# Wait for OM images to be published to quay.io on commit builds (staging).
# On patch builds, this dependency is skipped (task doesn't exist).
- name: release_om_and_agents
variant: release_om_and_agents
patch_optional: true
parameters:
- key: OVERRIDE_VERSION_ID
value: ""
description: "Patch id to reuse images from other Evergreen build"
- key: code_snippets_teardown
value: "true"
description: set this to false if you would like to keep the clusters created during code snippets tests
- key: code_snippets_reset
value: "false"
description: set this to true if you would like to delete the resources created in the code snippet tests, but keep the clusters
- key: MDB_BASH_DEBUG
value: "0"
description: set this to 1 if you want shell scripts to enable set -x
# Triggered manually or by PCT.
patch_aliases:
- alias: "periodic_teardowns"
variant_tags: [ "periodic_teardown" ]
task: ".*"
- alias: "release_specific_agent_manually"
variant_tags: [ "release_specific_agent_manually" ]
task: ".*"
- alias: "release_all_agents_manually"
variant_tags: [ "release_all_agents_manually" ]
task: ".*"
- alias: "release_current_agents_manually"
variant_tags: [ "release_current_agents_manually" ]
task: ".*"
- alias: "smoke_test_release"
variant_tags: [ "e2e_smoke_release_test_suite" ]
task_tags: [ "patch-run" ]
- alias: "smoke_test"
variant_tags: [ "e2e_smoke_test_suite" ]
task_tags: [ "patch-run" ]
- alias: "patch-run-cloudqa"
variant_tags: [ "cloudqa_non_static" ]
task: ".*"
- alias: "release"
variant_tags: [ "release" ]
task: ".*"
- alias: "preflight_release_test"
description: "Release-style preflight only (no image release, no Pyxis submit); patch-only. See EVERGREEN.md."
variant_tags: [ "preflight_release_test" ]
task: ".*"
- alias: "staging"
variant_tags: [ "staging" ]
task: ".*"
- alias: "pr_patch"
variant_tags: [ "pr_patch" ]
task: ".*"
- alias: "static"
description: "Run all static container variants"
variant_tags: [ "static" ]
task: ".*"
- alias: "om7"
description: "Run OM7 variants (static and non-static)"
variant_tags: [ "om7" ]
task: ".*"
- alias: "race"
description: "Run race detector variants"
variant_tags: [ "race" ]
task: ".*"
# Triggered whenever the GitHub PR is created
github_pr_aliases:
- variant_tags: [ "pr_patch" ]
task: ".*"
# Allows to see evergreen checks in GitHub commits
# https://github.com/mongodb/mongodb-kubernetes/commits/master/
github_checks_aliases:
- variant: ".*"
task: ".*"
# Triggered on git tag
git_tag_aliases:
- git_tag: "^(\\d+\\.)?(\\d+\\.)?(\\d+)$"
variant_tags: [ "release" ]
task: ".*"
tasks:
- name: unit_tests_golang
tags: [ "unit_tests" ]
commands:
- func: "test_golang_unit"
- name: unit_tests_python
tags: [ "unit_tests" ]
commands:
- func: "test_python_unit"
- name: unit_tests_helm
tags: [ "unit_tests" ]
commands:
- func: "test_helm_unit"
- name: sbom_tests
tags: [ "unit_tests" ]
# The SBOM tests run only on commit builds. Running this on patches might cause false-positive failures
# because certain images might not be there yet. Such situation happens for OM image upgrades for example.
# See https://docs.devprod.prod.corp.mongodb.com/evergreen/Project-Configuration/Project-Configuration-Files#limiting-when-a-task-or-variant-will-run
patchable: false
commands:
- func: "test_python_sbom"
- name: lint_repo
tags: [ "unit_tests" ]
commands:
- func: lint_repo
- name: go_bump_policy_tests
tags: [ "unit_tests" ]
commands:
- func: "test_go_bump_policy"
# Runs on every merge - detects release.json changes and releases appropriate images
- name: release_om_and_agents
allowed_requesters: [ "patch" , "commit"]
commands:
- func: clone
- func: python_venv
- func: setup_building_host
- func: quay_login
- func: setup_docker_sbom
- command: subprocess.exec
params:
working_dir: src/github.com/mongodb/mongodb-kubernetes
binary: scripts/dev/run_python.sh
args:
- scripts/release/release_om_and_agents.py
- name: migrate_all_agents
# this enables us to run this variant manually to build all the agents for the new agent registry
allowed_requesters: [ "patch" ]
commands:
- func: clone
- func: setup_building_host
- func: quay_login
- func: pipeline
vars:
image_name: agent
build_scenario: release
flags: "--parallel --all-agents -r quay.io/mongodb/mongodb-agent --skip-if-exists=false"
- name: run_precommit_and_push
tags: [ "patch-run" ]
commands:
- func: clone
- func: python_venv
- func: download_kube_tools
- command: github.generate_token
params:
expansion_name: GH_TOKEN
- func: setup_chart_testing_cli
- command: subprocess.exec
type: setup
params:
include_expansions_in_env:
- GH_TOKEN
working_dir: src/github.com/mongodb/mongodb-kubernetes
binary: scripts/evergreen/precommit_bump.sh
- name: run_conditionally_precommit_and_push
tags: [ "patch-run" ]
commands:
- func: clone
- func: run_task_conditionally
vars:
condition_script: scripts/evergreen/should_run_precommit_and_push.sh
variant: run_pre_commit
task: run_precommit_and_push
- name: rebuild_all_agents
# this enables us to run this manually (patch) and rebuild all agent versions to verify
# Dockerfile, script changes etc.
allowed_requesters: [ "patch" ]
commands:
- func: clone
- func: setup_building_host
- func: quay_login
- func: pipeline
vars:
agent_version: all
image_name: agent
flags: "--parallel --skip-if-exists=false"
- name: rebuild_currently_used_agents
# this enables us to run this manually (patch) and rebuild current agent versions to verify
# Dockerfile, script changes etc.
allowed_requesters: [ "patch" ]
commands:
- func: clone
- func: setup_building_host
- func: quay_login
- func: pipeline
vars:
agent_version: current
image_name: agent
flags: "--parallel --skip-if-exists=false"
- name: rebuild_specific_agent
# this enables us to run this manually (patch) and rebuild specific agent versions to verify
# Dockerfile, script changes etc.
allowed_requesters: [ "patch" ]
commands:
- func: clone
- func: setup_building_host
- func: quay_login
- func: pipeline
include_expansions_in_env:
- agent_version # You need to specify agent version for this task via --param flag!
- agent_tools_version # You need to specify tool version for this task --param flag!
vars:
image_name: agent
flags: "--skip-if-exists=false"
- name: build_kubectl_mongodb_plugin
commands:
- func: clone
- func: setup_building_host
- func: build_multi_cluster_binary
- name: build_test_image
commands:
- func: clone
- func: setup_building_host
- func: download_multi_cluster_binary
vars:
platform: linux/amd64
- func: quay_staging_login
- func: pipeline
vars:
image_name: meko-tests
- name: build_test_image_arm
commands:
- func: clone
- func: setup_building_host
- func: download_multi_cluster_binary
vars:
platform: linux/arm64
- func: quay_staging_login
- func: pipeline
vars:
image_name: meko-tests-arm64
- name: build_test_image_ibm_z
commands:
- func: clone
- func: setup_building_host_minikube
vars:
skip_minikube_setup: true
- func: download_multi_cluster_binary
vars:
platform: linux/s390x
- func: quay_staging_login
- func: pipeline
vars:
image_name: meko-tests-ibm-z
- name: build_test_image_ibm_power
commands:
- func: clone
- func: setup_building_host_minikube
vars:
skip_minikube_setup: true
- func: download_multi_cluster_binary
vars:
platform: linux/ppc64le
- func: quay_staging_login
- func: pipeline
vars:
image_name: meko-tests-ibm-power
- name: build_mco_test_image
commands:
- func: clone
- func: setup_building_host
- func: quay_staging_login
- func: pipeline
vars:
image_name: mco-tests
- name: build_operator_ubi
commands:
- func: clone
- func: setup_building_host
- func: quay_staging_login
- func: pipeline
vars:
image_name: operator
- name: build_operator_race_ubi
commands:
- func: clone
- func: setup_building_host
- func: quay_staging_login
- func: pipeline
vars:
image_name: operator-race
- name: build_init_om_images_ubi
commands:
- func: clone
- func: setup_building_host
- func: quay_staging_login
- func: pipeline
vars:
image_name: init-ops-manager
- name: build_agent_images_ubi
commands:
- func: clone
- func: setup_building_host
- func: quay_staging_login
- func: pipeline
vars:
image_name: agent
agent_version: all
flags: "--parallel"
- name: build_init_database_image_ubi
commands:
- func: clone
- func: setup_building_host
- func: quay_staging_login
- func: pipeline
vars:
image_name: init-database
- name: build_database_image_ubi
commands:
- func: clone
- func: setup_building_host
- func: quay_staging_login
- func: pipeline
vars:
image_name: database
- name: build_readiness_probe_image
commands:
- func: clone
- func: setup_building_host
- func: quay_staging_login
- func: pipeline
vars:
image_name: readiness-probe
- name: build_version_upgrade_hook_image
commands:
- func: clone
- func: setup_building_host
- func: quay_staging_login
- func: pipeline
vars:
image_name: upgrade-hook
- name: publish_helm_chart
commands:
- func: clone
- func: python_venv
- func: setup_kubectl
- func: setup_aws
- func: helm_registry_login_staging
- func: publish_helm_chart
- name: prepare_aws
priority: 59
commands:
- func: clone
- func: setup_jq
- func: setup_aws
- func: prepare_aws
- name: generate_perf_tasks_one_thread
commands:
- func: clone
- func: switch_context
- func: generate_perf_tests_tasks
vars:
variant: e2e_operator_perf_one_thread
size: small
- name: generate_perf_tasks_10_thread
commands:
- func: clone
- func: switch_context
- func: generate_perf_tests_tasks
vars:
variant: e2e_operator_perf
size: small
- name: generate_perf_tasks_30_thread
commands:
- func: clone
- func: switch_context
- func: generate_perf_tests_tasks
vars:
variant: e2e_operator_perf_thirty
size: small
- name: build_om_images
commands:
- func: clone
- func: switch_context
- func: setup_building_host
- func: quay_staging_login
- func: pipeline
vars:
image_name: ops-manager
- name: publish_ops_manager
commands:
- func: clone
- func: switch_context
- func: setup_building_host
- func: quay_login
- func: setup_docker_sbom
- func: pipeline
vars:
image_name: ops-manager
build_scenario: release
- name: prepare_and_upload_openshift_bundles_for_e2e
commands:
- func: clone
- func: setup_building_host
- func: download_kube_tools
- func: setup_prepare_openshift_bundles
- func: prepare_openshift_bundles_for_e2e
- name: backup_csv_images_dry_run
commands:
- func: clone
- func: quay_login
- command: subprocess.exec
params:
working_dir: src/github.com/mongodb/mongodb-kubernetes
binary: python3
args:
- scripts/dev/release/backup_csv_images.py
- scripts/dev/release/1.2.0.clusterserviceversion.yaml
- --dry-run
- --verbose
- name: backup_csv_images_limit_3
commands:
- func: clone
- func: quay_login
- command: subprocess.exec
params:
working_dir: src/github.com/mongodb/mongodb-kubernetes
binary: python3
args:
- scripts/dev/release/backup_csv_images.py
- scripts/dev/release/1.2.0.clusterserviceversion.yaml
- --limit
- "3"
- --verbose
- name: backup_csv_images_all
commands:
- func: clone
- func: quay_login
- command: subprocess.exec
params:
working_dir: src/github.com/mongodb/mongodb-kubernetes
binary: python3
args:
- scripts/dev/release/backup_csv_images.py
- scripts/dev/release/1.2.0.clusterserviceversion.yaml
- --verbose
# Dummy placeholder: will call `mckctl release promote` once the tool is wired into CI.
# Runs after all staging tests pass on a master merge to confirm the build is promotable.
- name: mckctl_release_promote
commands:
- command: shell.exec
params:
script: |
echo "would run: mckctl release promote --version ${OPERATOR_VERSION}"
# Notify Slack about build failures
# On patches: stdout only. On mainline: stdout + Slack
- name: notify_master_build_status
commands:
- func: clone
- func: python_venv
- func: notify_master_failures
# Weekly flaky test report - queries Honeycomb and sends summary to Slack
- name: notify_flaky_tests_weekly
tags: [ "notification" ]
commands:
- func: clone
- func: python_venv
- command: subprocess.exec
params:
working_dir: src/github.com/mongodb/mongodb-kubernetes
binary: scripts/dev/run_python.sh
args:
- scripts/evergreen/notify_flaky_tests.py
include_expansions_in_env:
- HONEYCOMB_API_KEY
- SLACK_WEBHOOK_URL
task_groups:
- name: check_ocp_version_drift_task_group
setup_group:
- func: clone
- func: setup_openshift_client
- func: setup_gh
tasks:
- check_ocp_version_drift_task
- name: unit_task_group
max_hosts: -1
setup_group_can_fail_task: true
setup_group:
- func: clone
- func: python_venv
- func: download_kube_tools
tasks:
- lint_repo
- unit_tests_golang
- unit_tests_python
- unit_tests_helm
- sbom_tests
- go_bump_policy_tests
teardown_task:
- command: attach.xunit_results
params:
files: [ "src/github.com/mongodb/mongodb-kubernetes/*-result.xml" ]
# Task group for deploying mongodbcommunity resources and testing the (former) MCO
- name: e2e_mdb_community_task_group
max_hosts: -1
<<: *setup_group
<<: *setup_and_teardown_task
tasks:
- e2e_community_replicaset_scale
# This is the task group that contains all the tests run in the e2e_mdb_kind_ubi_cloudqa build variant
- name: e2e_mdb_kind_cloudqa_task_group
max_hosts: -1
<<: *setup_group
<<: *setup_and_teardown_task_cloudqa
tasks:
# e2e_kube_only_task_group
- e2e_crd_validation
- e2e_replica_set_config_map
- e2e_replica_set_exposed_externally
- e2e_replica_set_pv
- e2e_replica_set_pv_multiple
- e2e_replica_set_schema_validation
- e2e_replica_set_statefulset_status
- e2e_sharded_cluster_pv
- e2e_sharded_cluster_recovery
- e2e_sharded_cluster_schema_validation
- e2e_sharded_cluster_statefulset_status
- e2e_standalone_config_map
- e2e_standalone_recovery
- e2e_standalone_schema_validation
- e2e_users_schema_validation
- e2e_replica_set_tls_default
- e2e_replica_set_tls_override
- e2e_replica_set_ignore_unknown_users
# e2e_core_task_group
- e2e_all_mongodb_resources_parallel
- e2e_multiple_cluster_failures
- e2e_replica_set_custom_podspec
- e2e_replica_set_custom_sa
- e2e_replica_set_report_pending_pods
- e2e_replica_set_recovery
- e2e_replica_set_upgrade_downgrade
- e2e_replica_set_agent_flags_and_readinessProbe
- e2e_sharded_cluster
- e2e_sharded_cluster_secret
- e2e_sharded_cluster_upgrade_downgrade
- e2e_sharded_cluster_custom_podspec
- e2e_sharded_cluster_agent_flags
- e2e_standalone_upgrade_downgrade
- e2e_standalone_custom_podspec
- e2e_standalone_agent_flags
- e2e_replica_set_process_hostnames
- e2e_replica_set_member_options
# e2e_tls_task_group
- e2e_replica_set_tls_allow
- e2e_replica_set_tls_prefer
- e2e_replica_set_tls_require_upgrade
- e2e_tls_rs_additional_certs
- e2e_tls_sc_additional_certs
- e2e_tls_rs_intermediate_ca
- e2e_tls_sharded_cluster_certs_prefix
- e2e_sharded_cluster_migration
- e2e_standalone_no_tls_no_status_is_set
- e2e_feature_controls_authentication
- e2e_replica_set
- e2e_replica_set_liveness_probe
- e2e_replica_set_mongod_options
- e2e_replica_set_readiness_probe
- e2e_replica_set_update_delete_parallel
- e2e_sharded_cluster_scale_shards
- e2e_sharded_cluster_shard_overrides
- e2e_sharded_cluster_mongod_options_and_log_rotation
- e2e_tls_rs_external_access
- e2e_replica_set_tls_require
- e2e_replica_set_tls_certs_secret_prefix
- e2e_disable_tls_and_scale
- e2e_replica_set_tls_require_and_disable
# e2e_x509_task_group
- e2e_configure_tls_and_x509_simultaneously_rs
- e2e_configure_tls_and_x509_simultaneously_sc
- e2e_tls_x509_rs
- e2e_tls_x509_sc
- e2e_tls_x509_configure_all_options_rs
- e2e_tls_x509_configure_all_options_sc
- e2e_tls_x509_user_connectivity
- e2e_tls_x509_users_addition_removal
- e2e_replica_set_tls_process_hostnames
# e2e_ldap_task_group
- e2e_replica_set_ldap
- e2e_sharded_cluster_ldap
- e2e_replica_set_ldap_tls
- e2e_replica_set_ldap_user_to_dn_mapping
# e2e_replica_set_ldap_agent_auth
- e2e_replica_set_ldap_agent_client_certs
- e2e_replica_set_ldap_custom_roles
- e2e_replica_set_update_roles_no_privileges
- e2e_replica_set_ldap_group_dn
- e2e_replica_set_ldap_group_dn_with_x509_agent
# e2e_scram_sha_task_group_with_manually_generated_certs
- e2e_replica_set_scram_sha_256_user_connectivity
- e2e_replica_set_scram_sha_256_user_first
- e2e_replica_set_scram_sha_1_user_connectivity
- e2e_replica_set_scram_sha_1_upgrade
- e2e_replica_set_scram_x509_ic_manual_certs
- e2e_sharded_cluster_scram_sha_1_upgrade
- e2e_sharded_cluster_scram_sha_256_user_connectivity
- e2e_sharded_cluster_scram_sha_1_user_connectivity
- e2e_sharded_cluster_scram_x509_ic_manual_certs
- e2e_sharded_cluster_external_access
- e2e_replica_set_scram_sha_256_switch_project
- e2e_sharded_cluster_scram_sha_256_switch_project
- e2e_replica_set_scram_sha_1_switch_project
- e2e_sharded_cluster_scram_sha_1_switch_project
# TODO CLOUDP-349093 - Disabled these tests as they don't use the password secret, and project migrations aren't fully supported yet.
# e2e_sharded_cluster_x509_switch_project
# e2e_replica_set_x509_switch_project
# e2e_replica_set_ldap_switch_project
# e2e_sharded_cluster_ldap_switch_project
# e2e_auth_transitions_task_group
- e2e_replica_set_scram_sha_and_x509
- e2e_replica_set_x509_to_scram_transition
- e2e_sharded_cluster_scram_sha_and_x509
- e2e_sharded_cluster_x509_to_scram_transition
- e2e_sharded_cluster_internal_cluster_transition
# e2e_webhook_validation_task_group
- e2e_mongodb_validation_webhook
- e2e_mongodb_roles_validation_webhook
- e2e_vault_setup
- e2e_vault_setup_tls
# this test will either migrate from static to non-static or the other way around
- e2e_replica_set_migration
- e2e_replica_set_pv_resize
- e2e_sharded_cluster_pv_resize
- e2e_community_and_meko_replicaset_scale
# OIDC test group
- e2e_replica_set_oidc_m2m_group
- e2e_replica_set_oidc_m2m_user
- e2e_replica_set_oidc_workforce
- e2e_sharded_cluster_oidc_m2m_group
- e2e_sharded_cluster_oidc_m2m_user
<<: *teardown_group
# All MongoDBSearch tests that fit on large instances (mongot requires 2 CPU).
# Added to cloudqa-large variants.
- name: e2e_mdb_kind_search_task_group
max_hosts: -1
<<: *setup_group
<<: *setup_and_teardown_task_cloudqa
tasks:
- e2e_search_community_basic
- e2e_search_community_auto_embedding
- e2e_search_community_auto_embedding_multi_mongot
- e2e_search_community_tls
- e2e_search_community_external_mongod_basic
- e2e_search_community_external_mongod_tls
- e2e_search_enterprise_basic
- e2e_search_replicaset_external_mongodb_single_mongot
- e2e_search_sharded_internal_mongodb_single_mongot
- e2e_search_enterprise_tls
- e2e_search_enterprise_x509_cluster_auth
- e2e_search_sharded_external_mongodb_single_mongot
- e2e_search_sharded_external_mongodb_multi_mongot_unmanaged_lb
- e2e_search_replicaset_external_mongodb_multi_mongot_unmanaged_lb
- e2e_search_replicaset_internal_mongodb_multi_mongot_unmanaged_lb
- e2e_search_mongot_replicaset_x509_auth
<<: *teardown_group
# MongoDBSearch tests that require a large instance (multiple mongots per shard:
# 2 shards x 2 mongots x 2 CPU = 8 CPU). Added to cloudqa-large variants.
- name: e2e_mdb_kind_search_large_task_group
max_hosts: -1
<<: *setup_group
<<: *setup_and_teardown_task_cloudqa
tasks:
- e2e_search_sharded_internal_mongodb_multi_mongot_unmanaged_lb
- e2e_search_sharded_internal_mongodb_multi_mongot_managed_lb
- e2e_search_sharded_scale_shards_managed_lb
- e2e_search_sharded_enterprise_external_mongod_managed_lb
- e2e_search_replicaset_internal_mongodb_multi_mongot_managed_lb
- e2e_search_replicaset_external_mongodb_multi_mongot_managed_lb
- e2e_search_replicaset_external_mongodb_proxy_service
<<: *teardown_group
# Same as e2e_mdb_kind_search_task_group but for om80 variants.
# Uses setup_and_teardown_task (not cloudqa) since ops_manager_version is not 'cloud_qa'.
- name: e2e_om80_kind_search_task_group
max_hosts: -1
<<: *setup_group
<<: *setup_and_teardown_task
tasks:
- e2e_search_community_basic
- e2e_search_community_auto_embedding
- e2e_search_community_auto_embedding_multi_mongot
- e2e_search_community_tls
- e2e_search_community_external_mongod_basic
- e2e_search_community_external_mongod_tls
- e2e_search_enterprise_basic
- e2e_search_replicaset_external_mongodb_single_mongot
- e2e_search_sharded_internal_mongodb_single_mongot
- e2e_search_enterprise_tls
- e2e_search_enterprise_x509_cluster_auth
- e2e_search_sharded_external_mongodb_single_mongot
- e2e_search_sharded_external_mongodb_multi_mongot_unmanaged_lb
- e2e_search_replicaset_external_mongodb_multi_mongot_unmanaged_lb
- e2e_search_replicaset_internal_mongodb_multi_mongot_unmanaged_lb
- e2e_search_mongot_replicaset_x509_auth
<<: *teardown_group
# Same as e2e_mdb_kind_search_large_task_group but for om80 variants.
# Uses setup_and_teardown_task (not cloudqa) since ops_manager_version is not 'cloud_qa'.
- name: e2e_om80_kind_search_large_task_group
max_hosts: -1
<<: *setup_group
<<: *setup_and_teardown_task
tasks:
- e2e_search_sharded_internal_mongodb_multi_mongot_unmanaged_lb
- e2e_search_sharded_internal_mongodb_multi_mongot_managed_lb
- e2e_search_sharded_scale_shards_managed_lb
- e2e_search_replicaset_internal_mongodb_multi_mongot_managed_lb
- e2e_search_replicaset_external_mongodb_multi_mongot_managed_lb
- e2e_search_replicaset_external_mongodb_proxy_service
<<: *teardown_group
# this task group contains just a one task, which is smoke testing whether the operator
# works correctly when we run it without installing webhook cluster roles
- name: e2e_mdb_kind_no_webhook_roles_cloudqa_task_group
max_hosts: -1
<<: *setup_group
<<: *setup_and_teardown_task_cloudqa
tasks:
- e2e_replica_set_agent_flags_and_readinessProbe
<<: *teardown_group
# This task group mostly duplicates tests running in e2e_mdb_kind_ubi_cloudqa
# This is mostly a smoke test, so we execute only a few essential ones.
- name: e2e_mdb_openshift_ubi_cloudqa_task_group
max_hosts: 2
<<: *setup_group
<<: *setup_and_teardown_task_cloudqa
<<: *teardown_group
tasks:
- e2e_crd_validation
- e2e_replica_set_scram_sha_256_user_connectivity
- e2e_sharded_cluster_scram_sha_256_user_connectivity
- e2e_replica_set_pv
- e2e_sharded_cluster_pv
- name: e2e_mdb_openshift_search_ubi_cloudqa_task_group
max_hosts: 1
<<: *setup_group
<<: *setup_and_teardown_task_cloudqa
<<: *teardown_group
tasks:
- e2e_search_sharded_openshift_external
- name: e2e_custom_domain_task_group
max_hosts: -1
<<: *setup_group
<<: *setup_and_teardown_task_cloudqa
tasks:
- e2e_replica_set
# e2e_operator_task_group includes the tests for the specific Operator configuration/behavior. They may deal with
# cluster-wide resources so should be run in isolated K8s clusters only (Kind or Minikube).
- name: e2e_operator_task_group
max_hosts: -1
<<: *setup_group
<<: *setup_and_teardown_task_cloudqa
tasks:
- e2e_operator_upgrade_replica_set
- e2e_operator_upgrade_search
- e2e_sharded_cluster_operator_upgrade_v1_27_to_mck
- e2e_operator_proxy
- e2e_operator_partial_crd
- e2e_operator_clusterwide
- e2e_operator_multi_namespaces
- e2e_appdb_tls_operator_upgrade_v1_32_to_mck
- e2e_meko_mck_upgrade