Skip to content

Commit 9102033

Browse files
authored
CLOUDP-341681 - create patchqa alias for non static only (#369)
# Summary This pull request updates the tagging strategy for build variants in `.evergreen.yml` to better distinguish between "static" and "non-static" (now labeled as `cloudqa_non_static`) test suites. The changes mainly introduce new tags to build variants and update the relevant patch alias, which will help with more granular test selection and filtering in CI pipelines. Key changes: **Tagging improvements for build variants:** * Added the `cloudqa_non_static` tag to all non-static CloudQA-related build variants, and updated the `patch-run-cloudqa` alias to target this new tag instead of the previous `cloudqa` tag. **-> when releasing cloudqa we don't need to "test" static variants** * Added the `static` tag to all static build variants, including static CloudQA, static smoke, static multi-cluster, and static OM test variants. These changes allow for more precise control over which test suites are run in different contexts, improving maintainability and CI efficiency. ## Proof of Work - ci is starting and .evergreen.yml works - manual run: [Link](https://spruce.mongodb.com/version/68ad81dc719fb80007d138cf/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC) ## Checklist - [x] Have you linked a jira ticket and/or is the ticket in the title? - [x] Have you checked whether your jira ticket required DOCSP changes? - [x] Have you added changelog file? - use `skip-changelog` label if not needed - refer to [Changelog files and Release Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes) section in CONTRIBUTING.md for more details
1 parent 187d79d commit 9102033

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.evergreen.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ patch_aliases:
236236
variant_tags: [ "e2e_smoke_release_test_suite" ]
237237
task_tags: [ "patch-run" ]
238238
- alias: "patch-run-cloudqa"
239-
variant_tags: [ "cloudqa" ]
239+
variant_tags: [ "cloudqa_non_static" ]
240240
task: ".*"
241241

242242
# Triggered whenever the GitHub PR is created
@@ -1296,7 +1296,7 @@ buildvariants:
12961296
## MongoDB build variants
12971297
- name: e2e_mdb_kind_ubi_cloudqa
12981298
display_name: e2e_mdb_kind_ubi_cloudqa
1299-
tags: [ "e2e_test_suite", "cloudqa" ]
1299+
tags: [ "e2e_test_suite", "cloudqa", "cloudqa_non_static" ]
13001300
run_on:
13011301
- ubuntu2204-medium
13021302
<<: *base_no_om_image_dependency
@@ -1305,7 +1305,7 @@ buildvariants:
13051305

13061306
- name: e2e_custom_domain_mdb_kind_ubi_cloudqa
13071307
display_name: e2e_custom_domain_mdb_kind_ubi_cloudqa
1308-
tags: [ "e2e_test_suite", "cloudqa" ]
1308+
tags: [ "e2e_test_suite", "cloudqa", "cloudqa_non_static" ]
13091309
run_on:
13101310
- ubuntu2204-large
13111311
<<: *base_no_om_image_dependency
@@ -1314,7 +1314,7 @@ buildvariants:
13141314

13151315
- name: e2e_static_mdb_kind_ubi_cloudqa
13161316
display_name: e2e_static_mdb_kind_ubi_cloudqa
1317-
tags: [ "e2e_test_suite", "cloudqa" ]
1317+
tags: [ "e2e_test_suite", "cloudqa", "static" ]
13181318
run_on:
13191319
- ubuntu2204-medium
13201320
<<: *base_no_om_image_dependency
@@ -1323,7 +1323,7 @@ buildvariants:
13231323

13241324
- name: e2e_static_custom_domain_mdb_kind_ubi_cloudqa
13251325
display_name: e2e_static_custom_domain_mdb_kind_ubi_cloudqa
1326-
tags: [ "e2e_test_suite", "cloudqa" ]
1326+
tags: [ "e2e_test_suite", "cloudqa", "static" ]
13271327
run_on:
13281328
- ubuntu2204-large
13291329
depends_on:
@@ -1343,7 +1343,7 @@ buildvariants:
13431343

13441344
- name: e2e_mdb_openshift_ubi_cloudqa
13451345
display_name: e2e_mdb_openshift_ubi_cloudqa
1346-
tags: [ "e2e_openshift_test_suite", "cloudqa" ]
1346+
tags: [ "e2e_openshift_test_suite", "cloudqa", "cloudqa_non_static" ]
13471347
depends_on:
13481348
- name: build_operator_ubi
13491349
variant: init_test_run
@@ -1363,7 +1363,7 @@ buildvariants:
13631363
# in evergreen for all variants matching e2e_static-*, but we do not want to run openshift variants on every pr.
13641364
- name: e2e_openshift_static_mdb_ubi_cloudqa
13651365
display_name: e2e_openshift_static_mdb_ubi_cloudqa
1366-
tags: [ "e2e_openshift_test_suite", "cloudqa" ]
1366+
tags: [ "e2e_openshift_test_suite", "cloudqa", "static" ]
13671367
depends_on:
13681368
- name: build_operator_ubi
13691369
variant: init_test_run
@@ -1394,7 +1394,7 @@ buildvariants:
13941394
# Isolated Ops Manager Tests for 6.0 version
13951395
- name: e2e_static_om60_kind_ubi
13961396
display_name: e2e_static_om60_kind_ubi
1397-
tags: [ "e2e_test_suite" ]
1397+
tags: [ "e2e_test_suite", "static" ]
13981398
run_on:
13991399
- ubuntu2204-medium
14001400
<<: *base_om6_dependency
@@ -1416,7 +1416,7 @@ buildvariants:
14161416

14171417
- name: e2e_static_om70_kind_ubi
14181418
display_name: e2e_static_om70_kind_ubi
1419-
tags: [ "e2e_test_suite" ]
1419+
tags: [ "e2e_test_suite", "static" ]
14201420
run_on:
14211421
- ubuntu2204-medium
14221422
<<: *base_om7_dependency
@@ -1439,7 +1439,7 @@ buildvariants:
14391439

14401440
- name: e2e_static_om80_kind_ubi
14411441
display_name: e2e_static_om80_kind_ubi
1442-
tags: [ "e2e_test_suite" ]
1442+
tags: [ "e2e_test_suite", "static" ]
14431443
run_on:
14441444
- ubuntu2204-medium
14451445
<<: *base_om8_dependency
@@ -1527,7 +1527,7 @@ buildvariants:
15271527

15281528
- name: e2e_static_smoke_arm
15291529
display_name: e2e_smoke_arm
1530-
tags: [ "e2e_test_suite", "e2e_smoke_release_test_suite" ]
1530+
tags: [ "e2e_test_suite", "e2e_smoke_release_test_suite", "static" ]
15311531
run_on:
15321532
- ubuntu2204-arm64-large
15331533
allowed_requesters: [ "patch", "github_tag" ]
@@ -1537,7 +1537,7 @@ buildvariants:
15371537

15381538
- name: e2e_static_smoke_ibm_z
15391539
display_name: e2e_static_smoke_ibm_z
1540-
tags: [ "e2e_test_suite", "e2e_smoke_release_test_suite" ]
1540+
tags: [ "e2e_test_suite", "e2e_smoke_release_test_suite", "static" ]
15411541
run_on:
15421542
- rhel9-zseries-small
15431543
- rhel9-zseries-large
@@ -1560,7 +1560,7 @@ buildvariants:
15601560

15611561
- name: e2e_static_smoke_ibm_power
15621562
display_name: e2e_static_smoke_ibm_power
1563-
tags: [ "e2e_test_suite", "e2e_smoke_release_test_suite" ]
1563+
tags: [ "e2e_test_suite", "e2e_smoke_release_test_suite", "static" ]
15641564
run_on:
15651565
- rhel9-power-small
15661566
- rhel9-power-large
@@ -1583,7 +1583,7 @@ buildvariants:
15831583

15841584
- name: e2e_static_smoke
15851585
display_name: e2e_static_smoke
1586-
tags: [ "e2e_test_suite", "e2e_smoke_release_test_suite" ]
1586+
tags: [ "e2e_test_suite", "e2e_smoke_release_test_suite", "static" ]
15871587
run_on:
15881588
- ubuntu2204-large
15891589
allowed_requesters: [ "patch", "github_tag" ]
@@ -1595,7 +1595,7 @@ buildvariants:
15951595

15961596
- name: e2e_multi_cluster_kind
15971597
display_name: e2e_multi_cluster_kind
1598-
tags: [ "e2e_test_suite", "cloudqa"]
1598+
tags: [ "e2e_test_suite", "cloudqa", "cloudqa_non_static"]
15991599
run_on:
16001600
- ubuntu2204-large
16011601
<<: *base_om6_dependency
@@ -1604,7 +1604,7 @@ buildvariants:
16041604

16051605
- name: e2e_static_multi_cluster_kind
16061606
display_name: e2e_static_multi_cluster_kind
1607-
tags: [ "e2e_test_suite", "cloudqa"]
1607+
tags: [ "e2e_test_suite", "cloudqa", "static"]
16081608
run_on:
16091609
- ubuntu2204-large
16101610
<<: *base_om6_dependency
@@ -1613,7 +1613,7 @@ buildvariants:
16131613

16141614
- name: e2e_multi_cluster_2_clusters
16151615
display_name: e2e_multi_cluster_2_clusters
1616-
tags: [ "e2e_test_suite", "cloudqa"]
1616+
tags: [ "e2e_test_suite", "cloudqa", "cloudqa_non_static"]
16171617
run_on:
16181618
- ubuntu2204-large
16191619
<<: *base_om6_dependency
@@ -1622,7 +1622,7 @@ buildvariants:
16221622

16231623
- name: e2e_static_multi_cluster_2_clusters
16241624
display_name: e2e_static_multi_cluster_2_clusters
1625-
tags: [ "e2e_test_suite", "cloudqa"]
1625+
tags: [ "e2e_test_suite", "cloudqa", "static"]
16261626
run_on:
16271627
- ubuntu2204-large
16281628
<<: *base_om6_dependency
@@ -1640,7 +1640,7 @@ buildvariants:
16401640

16411641
- name: e2e_static_multi_cluster_om_appdb
16421642
display_name: e2e_static_multi_cluster_om_appdb
1643-
tags: [ "e2e_test_suite" ]
1643+
tags: [ "e2e_test_suite", "static" ]
16441644
run_on:
16451645
- ubuntu2204-large
16461646
<<: *base_om6_dependency
@@ -1660,7 +1660,7 @@ buildvariants:
16601660

16611661
- name: e2e_operator_kind_ubi_cloudqa
16621662
display_name: e2e_operator_kind_ubi_cloudqa
1663-
tags: [ "e2e_test_suite", "cloudqa" ]
1663+
tags: [ "e2e_test_suite", "cloudqa", "cloudqa_non_static" ]
16641664
run_on:
16651665
- ubuntu2204-large
16661666
<<: *base_no_om_image_dependency
@@ -1669,7 +1669,7 @@ buildvariants:
16691669

16701670
- name: e2e_static_operator_kind_ubi_cloudqa
16711671
display_name: e2e_static_operator_kind_ubi_cloudqa
1672-
tags: [ "e2e_test_suite", "cloudqa" ]
1672+
tags: [ "e2e_test_suite", "cloudqa", "static" ]
16731673
run_on:
16741674
- ubuntu2204-large
16751675
<<: *base_no_om_image_dependency
@@ -1678,7 +1678,7 @@ buildvariants:
16781678

16791679
- name: e2e_operator_no_webhook_roles_cloudqa
16801680
display_name: e2e_operator_no_webhook_roles_cloudqa
1681-
tags: [ "e2e_test_suite", "cloudqa" ]
1681+
tags: [ "e2e_test_suite", "cloudqa", "cloudqa_non_static" ]
16821682
run_on:
16831683
- ubuntu2204-large
16841684
<<: *base_no_om_image_dependency
@@ -1712,7 +1712,7 @@ buildvariants:
17121712

17131713
- name: e2e_static_kind_olm_ubi
17141714
display_name: e2e_static_kind_olm_ubi
1715-
tags: [ "e2e_test_suite" ]
1715+
tags: [ "e2e_test_suite", "static" ]
17161716
run_on:
17171717
- ubuntu2204-large
17181718
depends_on:

0 commit comments

Comments
 (0)