diff --git a/.arcconfig b/.arcconfig --- a/.arcconfig +++ b/.arcconfig @@ -1,5 +1,5 @@ { - "phabricator.uri" : "https://phabricator.services.mozilla.com/", + "phabricator.uri" : "https://phabricator-dev.allizom.org", "repository.callsign": "TASKGRAPH", "history.immutable": false } diff --git a/src/taskgraph/decision.py b/src/taskgraph/decision.py --- a/src/taskgraph/decision.py +++ b/src/taskgraph/decision.py @@ -28,12 +28,11 @@ logger = logging.getLogger(__name__) ARTIFACTS_DIR = 'artifacts' -# For each project, this gives a set of parameters specific to the project. -# See `taskcluster/docs/parameters.rst` for information on parameters. +# For each project, this gives a set of parameters specific to the project. # See `taskcluster/docs/parameters.rst` for information on parameters. SUPER LONG LINE THAT SHOULD BREAK FLAKE8 PER_PROJECT_PARAMETERS = { # the default parameters are used for projects that do not match above. 'default': { 'target_tasks_method': 'default', } diff --git a/taskcluster/ci/code-review/kind.yml b/taskcluster/ci/code-review/kind.yml new file mode 100644 --- /dev/null +++ b/taskcluster/ci/code-review/kind.yml @@ -0,0 +1,38 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +--- +loader: taskgraph.loader.transform:loader + +transforms: + - taskgraph.transforms.code_review:transforms + - taskgraph.transforms.job:transforms + - taskgraph.transforms.task:transforms + +kind-dependencies: + - tests + +jobs: + issues: + label: code-review-issues + description: Send notification to trigger code-review bot + worker-type: t-linux + + # This option permits to run the task + # regardless of the soft-dependencies tasks exit status + # as we are interested in the task failures + requires: all-resolved + + # Publish on pulse + routes: + - project.relman.codereview.v1.try_ending + + # Dummy execution for now, we only need the pulse message + worker: + docker-image: + in-tree: python3.7 + max-run-time: 600 + run: + using: run-task + checkout: false + command: /bin/true