mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-21 20:49:10 +01:00
cccc9f140b
GitOrigin-RevId: e245939c421a38d44cd3b8039f0e0e6a4507fcf3
137 lines
6.0 KiB
YAML
137 lines
6.0 KiB
YAML
####################################################
|
|
# YAML Conventions #
|
|
#####################################################
|
|
# Please see our conventions document at
|
|
# https://wiki.corp.mongodb.com/pages/viewpage.action?pageId=133273894
|
|
# for help navigating this document, or for help with our lint rules.
|
|
|
|
#####################################################
|
|
# A note on expansions #
|
|
#####################################################
|
|
|
|
# Expansions usually appear in the form ${key|default}
|
|
# If 'key' is found in the executor's map of currently known
|
|
# expansions, the corresponding value is used. If the key can
|
|
# not be found, the default is used.
|
|
#
|
|
# Arbitrary expansions can be specified in the YAML configuration
|
|
# files in the following places:
|
|
# - The 'expansions' field for buildvariants (branch file)
|
|
# - The 'expansions' field for distros (distros file)
|
|
#
|
|
# A number of 'built-in' expansions are also available for use; these include:
|
|
# - environment variables available on the host machine
|
|
# - 'workdir' (references the executor's work directory).
|
|
# - 'task_id' (references the task id of the task the executor is working on).
|
|
# - 'build_variant' (references the executing task's buildvariant).
|
|
# - 'config_root' (references the root directory for the executor's configuration artifacts).
|
|
|
|
#####################################################
|
|
# Setup environment in a new task #
|
|
#####################################################
|
|
|
|
# There are several ways to setup the environment in your task.
|
|
#
|
|
# 1. If your task depends on 'archive_dist_test'/'archive_dist_test_debug' task you can call the function "do setup"
|
|
# - func: "do setup"
|
|
# Or alternatively call the functions in the sequence below, if you don't need everything else from "do setup"
|
|
# - func: "fetch artifacts" (includes python, shell scripts, jstests etc. from the mongo and enterprise repos)
|
|
# - func: "f_expansions_write"
|
|
# - func: "kill processes"
|
|
# - func: "cleanup environment"
|
|
# - func: "set up venv"
|
|
#
|
|
# 2. If your task does not depend on 'archive_dist_test'/'archive_dist_test_debug' task use the following functions
|
|
# call sequence
|
|
# - command: manifest.load
|
|
# - func: "git get shallow project" (clone the entire mongo and enterprise repos)
|
|
# - func: "restore git history and tags"
|
|
# - func: "f_expansions_write"
|
|
# - func: "kill processes"
|
|
# - func: "cleanup environment"
|
|
# - func: "set up venv"
|
|
|
|
include:
|
|
- filename: etc/evergreen_yml_components/configuration.yml
|
|
- filename: etc/evergreen_yml_components/definitions.yml
|
|
|
|
- filename: etc/evergreen_yml_components/tasks/resmoke/server_divisions/clusters_and_integrations/tasks.yml
|
|
- filename: etc/evergreen_yml_components/tasks/resmoke/server_divisions/durable_transactions_and_availability/tasks.yml
|
|
- filename: etc/evergreen_yml_components/tasks/resmoke/server_divisions/query/tasks.yml
|
|
- filename: etc/evergreen_yml_components/tasks/resmoke/non_server_teams/tasks.yml
|
|
- filename: etc/evergreen_yml_components/tasks/compile_tasks.yml
|
|
- filename: etc/evergreen_yml_components/tasks/compile_tasks_shared.yml
|
|
- filename: etc/evergreen_yml_components/tasks/misc_tasks.yml
|
|
|
|
- filename: etc/evergreen_yml_components/variants/misc/task_generation.yml
|
|
- filename: etc/evergreen_yml_components/variants/misc/misc.yml
|
|
- filename: etc/evergreen_yml_components/variants/misc/misc_master_branch_only.yml
|
|
|
|
- filename: etc/evergreen_yml_components/variants/amazon/test_dev.yml
|
|
- filename: etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml
|
|
|
|
- filename: etc/evergreen_yml_components/variants/macos/test_dev_master_branch_only.yml
|
|
|
|
- filename: etc/evergreen_yml_components/variants/mongot/test_dev.yml
|
|
|
|
- filename: etc/evergreen_yml_components/variants/rhel/test_dev.yml
|
|
- filename: etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
|
|
- filename: etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
|
|
|
|
- filename: etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
|
|
- filename: etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
|
|
|
|
- filename: etc/evergreen_yml_components/variants/ubuntu/test_dev_master_and_lts_branches_only.yml
|
|
- filename: etc/evergreen_yml_components/variants/ubuntu/test_dev_master_branch_only.yml
|
|
|
|
- filename: etc/evergreen_yml_components/variants/windows/test_dev.yml
|
|
- filename: etc/evergreen_yml_components/variants/windows/test_dev_master_and_lts_branches_only.yml
|
|
- filename: etc/evergreen_yml_components/variants/windows/test_dev_master_branch_only.yml
|
|
|
|
- filename: etc/evergreen_yml_components/variants/wiredtiger/test_dev_master_branch_only.yml
|
|
|
|
- filename: etc/evergreen_yml_components/variants/codecoverage/test_dev.yml
|
|
|
|
parameters:
|
|
- key: evergreen_config_file_path
|
|
value: "etc/evergreen.yml"
|
|
description: "path to this file"
|
|
|
|
commit_queue_aliases: &commit_queue_aliases
|
|
- variant: "commit-queue"
|
|
task: "^(bazel_.*|run_.*|compile_.*|lint_.*|jsCore|version_gen_validation|validate_commit_message|resmoke_validation_tests)$"
|
|
variant_tags: []
|
|
task_tags: []
|
|
- variant: "^(amazon-linux2-arm64-dynamic-compile|linux-x86-dynamic-compile-required)$"
|
|
variant_tags: []
|
|
task_tags: ["clang_tidy"]
|
|
|
|
github_pr_aliases: *commit_queue_aliases
|
|
|
|
patch_aliases:
|
|
- alias: required
|
|
variant_tags: ["required"]
|
|
task: ".*"
|
|
- alias: query
|
|
variant: "^(.*query-patch-only|linux-x86-dynamic-compile-required)$"
|
|
task: ".*"
|
|
- alias: security
|
|
variant: "^(.*security-patch-only|linux-x86-dynamic-compile|windows-compile-required)$"
|
|
task: ".*"
|
|
- alias: bazel
|
|
description: "Runs bazel build system tests"
|
|
variant_tags: ["bazel_check"]
|
|
task_tags: ["bazel_check"]
|
|
- alias: bazel_variants
|
|
description: "Runs bazel build system tests"
|
|
variant_tags: ["bazel_check"]
|
|
task: ".*"
|
|
- alias: search
|
|
description: "Runs all $search, $vectorSearch tests"
|
|
variant: ".*"
|
|
task: "^.*search*"
|
|
- alias: codecoverage
|
|
description: "Run tests and report code coverage"
|
|
variant: ".*-coverage"
|
|
task: ".*"
|