Bug 1341727 - Removed invalid arguments in action callback template. r?wlach draft
authorJonas Finnemann Jensen <jopsen@gmail.com>
Fri, 24 Feb 2017 13:27:20 -0800
changeset 489501 704b26e61926cb7b503f08ddcf2d347ce6134622
parent 488125 7abeac2f2d668554f0093fc0bdb1488f9a77d16e
child 489502 82b450e7b71ced0e49c5e5bd957bea6fd9d81d99
push id46826
push userbmo:jopsen@gmail.com
push dateFri, 24 Feb 2017 21:28:36 +0000
reviewerswlach
bugs1341727
milestone54.0a1
Bug 1341727 - Removed invalid arguments in action callback template. r?wlach MozReview-Commit-ID: 1rIhRMjbewL
taskcluster/actions/registry.py
--- a/taskcluster/actions/registry.py
+++ b/taskcluster/actions/registry.py
@@ -219,29 +219,17 @@ def register_callback_action(title, symb
                     'image': docker_image('decision'),
                     'maxRunTime': 1800,
                     'command': [
                         '/home/worker/bin/run-task', '--vcs-checkout=/home/worker/checkouts/gecko',
                         '--', 'bash', '-cx',
                         """\
 cd /home/worker/checkouts/gecko &&
 ln -s /home/worker/artifacts artifacts &&
-./mach --log-no-times taskgraph action-callback """ + ' '.join([
-                            "--pushlog-id='{}'".format(parameters['pushlog_id']),
-                            "--pushdate='{}'".format(parameters['pushdate']),
-                            "--project='{}'".format(parameters['project']),
-                            "--message='{}'".format(parameters['message'].replace("'", "'\\''")),
-                            "--owner='{}'".format(parameters['owner']),
-                            "--level='{}'".format(parameters['level']),
-                            "--base-repository='https://hg.mozilla.org/mozilla-central'",
-                            "--head-repository='{}'".format(parameters['head_repository']),
-                            "--head-ref='{}'".format(parameters['head_ref']),
-                            "--head-rev='{}'".format(parameters['head_rev']),
-                            "--revision-hash='{}'\n".format(parameters['head_rev']),
-                        ]),
+./mach --log-no-times taskgraph action-callback""",
                     ],
                 },
                 'extra': {
                       'treeherder': {
                         'groupName': 'action-callback',
                         'groupSymbol': 'AC',
                         'symbol': symbol,
                       },