Skip to content

Commit f40826a

Browse files
committed
Fine-tune pull request aliases
1 parent 7e11f6e commit f40826a

File tree

7 files changed

+15
-12
lines changed

7 files changed

+15
-12
lines changed

.evergreen/config.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@ post:
2525
- func: "stop load balancer"
2626
- func: "cleanup"
2727

28-
# Define aliases for patch builds and PR builds. These only apply if no aliases are defined in project and repo settings
28+
# These aliases define the default variant/tasks to test for pull requests and merge queue
2929
github_pr_aliases: &github_pr_aliases
30-
# Run all tasks in PR variants for PHP 8.3
31-
- variant_tags: ["php8.3", "pr"]
32-
task: ".*"
33-
# Run PR tasks for PR variants
34-
- variant_tags: ["pr"]
30+
# Always test all builds for consistency
31+
- variant_tags: ["pr build"]
3532
task_tags: ["pr"]
33+
# Run all tasks in PR variants for PHP 8.3 (excluding MongoDB latest)
34+
- variant_tags: ["pr php8.3"]
35+
task_tags: ["!latest"]
36+
# Run PR tasks for all PR variants (only MongoDB 7.0)
37+
- variant_tags: ["pr"]
38+
task_tags: ["pr 7.0"]
3639

3740
commit_queue_aliases: *github_pr_aliases
3841

.evergreen/config/generated/test/require-api-version-5.0.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/generated/test/require-api-version-6.0.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/generated/test/require-api-version-7.0.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/generated/test/require-api-version-latest.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/generated/test/require-api-version-rapid.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/templates/test/require-api-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tasks:
22
- name: "test-requireApiVersion-%mongodbVersion%"
3-
tags: [ "standalone", "local", "%mongodbVersion%", "versioned_api", "pr", "tag" ]
3+
tags: [ "standalone", "local", "%mongodbVersion%", "versioned_api", "tag" ]
44
commands:
55
- func: "bootstrap mongo-orchestration"
66
vars:

0 commit comments

Comments
 (0)