Bug 1465970 - make backfill action a hook; r?tomprince draft
authorDustin J. Mitchell <dustin@mozilla.com>
Thu, 31 May 2018 21:30:19 +0000
changeset 802802 a9d773448f1f58e41a389e0bbf2ed657f555e4c3
parent 802102 763f30c3421233a45ef9e67a695c5c241a2c8a3a
child 802803 4d76259df5e263df8ed7338e24d1c752e12c9de6
push id111965
push userdmitchell@mozilla.com
push dateFri, 01 Jun 2018 13:48:07 +0000
reviewerstomprince
bugs1465970
milestone62.0a1
Bug 1465970 - make backfill action a hook; r?tomprince MozReview-Commit-ID: 1ibZPb5fMdP
taskcluster/taskgraph/actions/backfill.py
--- a/taskcluster/taskgraph/actions/backfill.py
+++ b/taskcluster/taskgraph/actions/backfill.py
@@ -20,16 +20,18 @@ PUSHLOG_TMPL = '{}/json-pushes?version=2
 INDEX_TMPL = 'gecko.v2.{}.pushlog-id.{}.decision'
 
 logger = logging.getLogger(__name__)
 
 
 @register_callback_action(
     title='Backfill',
     name='backfill',
+    kind='hook',
+    generic=True,
     symbol='Bk',
     description=('Take the label of the current task, '
                  'and trigger the task with that label '
                  'on previous pushes in the same project.'),
     order=0,
     context=[{}],  # This will be available for all tasks
     schema={
         'type': 'object',