diff --git a/etc/evergreen_yml_components/definitions.yml b/etc/evergreen_yml_components/definitions.yml index 1d028113100..d79497c2d94 100644 --- a/etc/evergreen_yml_components/definitions.yml +++ b/etc/evergreen_yml_components/definitions.yml @@ -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}" diff --git a/etc/evergreen_yml_components/tasks/compile_tasks_shared.yml b/etc/evergreen_yml_components/tasks/compile_tasks_shared.yml index e45949dab0d..492718d7649 100644 --- a/etc/evergreen_yml_components/tasks/compile_tasks_shared.yml +++ b/etc/evergreen_yml_components/tasks/compile_tasks_shared.yml @@ -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: >- diff --git a/evergreen/activate_task.py b/evergreen/activate_task.py index f8b0f7b04e6..1c8e8b337b3 100644 --- a/evergreen/activate_task.py +++ b/evergreen/activate_task.py @@ -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