Skip to content

Commit

Permalink
Add tags and aliases for better testing in tags and pull requests (#1353
Browse files Browse the repository at this point in the history
)

* Add tags and aliases for better testing in tags and pull requests

* Remove result expectation of flaky test

See mongodb/specifications#1604 for the corresponding specs PR"
  • Loading branch information
alcaeus authored Jun 27, 2024
1 parent 383ec77 commit 831ecdc
Show file tree
Hide file tree
Showing 47 changed files with 125 additions and 117 deletions.
28 changes: 23 additions & 5 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,29 @@ post:
- func: "stop mongo-orchestration"
- func: "cleanup"

# Define aliases for patch builds and PR builds. These only apply if no aliases are defined in project settings
github_pr_aliases:
# Run tests on debian, only testing local replicasets
- variant: "test-.*"
task: "test-mongodb-.*-replicaset"
# These aliases define the default variant/tasks to test for pull requests and merge queue
github_pr_aliases: &github_pr_aliases
# Always test all builds for consistency
- variant_tags: ["pr build"]
task_tags: ["pr"]
# Run all tasks in PR variants for PHP 8.3 (excluding MongoDB latest)
- variant_tags: ["pr php8.3"]
task_tags: ["!latest"]
# Run PR tasks for all PR variants (only MongoDB 7.0)
- variant_tags: ["pr"]
task_tags: ["pr 7.0"]

commit_queue_aliases: *github_pr_aliases

git_tag_aliases:
- git_tag: "^[0-9]+.[0-9]+.[0-9]+"
remote_path: ""
variant_tags: ["tag"]
task_tags: ["tag !latest"]

github_checks_aliases:
- variant: ".*"
task: ".*"

# Include files that contain various tasks, task groups, and build variant definitions
include:
Expand Down
6 changes: 3 additions & 3 deletions .evergreen/config/generated/build/build-php-7.4.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .evergreen/config/generated/build/build-php-8.0.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .evergreen/config/generated/build/build-php-8.1.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .evergreen/config/generated/build/build-php-8.2.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .evergreen/config/generated/build/build-php-8.3.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions .evergreen/config/generated/test-variant/latest-php-8.3.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .evergreen/config/generated/test/csfle-4.2.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .evergreen/config/generated/test/csfle-4.4.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .evergreen/config/generated/test/csfle-5.0.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .evergreen/config/generated/test/csfle-6.0.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .evergreen/config/generated/test/csfle-7.0.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 831ecdc

Please sign in to comment.