mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-24 00:17:37 +01:00
Revert "SERVER-97469 Do not automatically schedule archive_dist_test_… (#29511)
GitOrigin-RevId: a8b50be5cc10fc1ff785f1d0dca80e408a819bf0
This commit is contained in:
parent
cc3e38b5c8
commit
64a30c4225
@ -2883,5 +2883,3 @@ functions:
|
||||
- "src/evergreen/run_python_script.sh"
|
||||
- "evergreen/activate_task.py"
|
||||
- "${task_to_activate}"
|
||||
- "--skip-for-patch-author"
|
||||
- "${skip_for_patch_author}"
|
||||
|
@ -146,7 +146,6 @@ tasks:
|
||||
- func: "activate task"
|
||||
vars:
|
||||
task_to_activate: ${archive_dist_test_debug_task_name|archive_dist_test_debug}
|
||||
skip_for_patch_author: sys-perf-user
|
||||
- func: "scons compile"
|
||||
vars:
|
||||
targets: >-
|
||||
|
@ -1,22 +1,16 @@
|
||||
"""Script that activates the input task on the same variant as the running task"""
|
||||
|
||||
from typing import Optional
|
||||
|
||||
import typer
|
||||
|
||||
from buildscripts.resmokelib.utils import evergreen_conn
|
||||
from buildscripts.util.read_config import read_config_file
|
||||
|
||||
|
||||
def main(task_name: str, skip_for_patch_author: Optional[str] = None):
|
||||
def main(task_name: str):
|
||||
expansions_file = "../expansions.yml"
|
||||
expansions = read_config_file(expansions_file)
|
||||
evg_api = evergreen_conn.get_evergreen_api()
|
||||
|
||||
# Skip activation if the patch author is the excluded user
|
||||
if expansions.get("author") == skip_for_patch_author:
|
||||
return
|
||||
|
||||
variant_id = expansions.get("build_id")
|
||||
variant = evg_api.build_by_id(variant_id)
|
||||
found_task = None
|
||||
|
Loading…
Reference in New Issue
Block a user