Bug 1759030 - Use 'verifications' from upstream taskgraph module, r=releng-reviewers,gbrown

This is the last place that in `gecko_taskgraph/generator.py` that calls into
`gecko_taskgraph` code. By removing it, the two generator.py files will be
identical and the `gecko_taskgraph` copy can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D161080
This commit is contained in:
Andrew Halberstadt 2022-11-03 20:51:15 +00:00
Родитель dc6274620c
Коммит e12e2150b9
2 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -50,6 +50,12 @@ def register(graph_config):
from gecko_taskgraph import ( # noqa: trigger target task method registration
target_tasks,
)
from gecko_taskgraph import generator
from gecko_taskgraph import morph # noqa: trigger morph registration
from gecko_taskgraph.util.verify import verifications
# Don't use the upstream verifications, and replace them with our own.
# TODO Investigate merging our verifications with upstream.
generator.verifications = verifications
register_parameters()

Просмотреть файл

@ -18,8 +18,7 @@ from taskgraph.taskgraph import TaskGraph
from taskgraph.transforms.base import TransformSequence, TransformConfig
from taskgraph.util.python_path import find_object
from taskgraph.util.yaml import load_yaml
from .util.verify import verifications
from taskgraph.util.verify import verifications
logger = logging.getLogger(__name__)