Bug 1274385: don't retry decision tasks; r?garndt draft
authorDustin J. Mitchell <dustin@mozilla.com>
Thu, 19 May 2016 20:09:29 +0000
changeset 368929 75c91e3f8070e7f1a563fe939d6f9d0727e9dbbd
parent 368758 ea7843420fe518b772c7b259d8ff47193fc5b79e
child 521397 9845b9df0a3ae32a668e91de73dd84a835b927a1
push id18666
push userdmitchell@mozilla.com
push dateThu, 19 May 2016 20:09:38 +0000
reviewersgarndt
bugs1274385
milestone49.0a1
Bug 1274385: don't retry decision tasks; r?garndt MozReview-Commit-ID: IjnhKWgoxAG
.taskcluster.yml
testing/taskcluster/tasks/decision/branch.yml
testing/taskcluster/tasks/decision/try.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -28,17 +28,16 @@ scopes:
 # - pushlog_id:     id in the pushlog table of the repository
 #
 # and functions:
 # - as_slugid:      convert a label into a slugId
 # - from_now:       generate a timestamp at a fixed offset from now
 
 tasks:
   - taskId: '{{#as_slugid}}decision task{{/as_slugid}}'
-    reruns: 3
     task:
       created: '{{now}}'
       deadline: '{{#from_now}}1 day{{/from_now}}'
       expires: '{{#from_now}}14 day{{/from_now}}'
       metadata:
         owner: mozilla-taskcluster-maintenance@mozilla.com
         source: {{{source}}}
         name: "Gecko Decision Task"
--- a/testing/taskcluster/tasks/decision/branch.yml
+++ b/testing/taskcluster/tasks/decision/branch.yml
@@ -9,17 +9,16 @@ metadata:
 scopes:
   # Note the below scopes are insecure however these get overriden on the server
   # side to whatever scopes are set by mozilla-taskcluster.
   - queue:*
   - docker-worker:*
   - scheduler:*
 tasks:
   - taskId: '{{#as_slugid}}decision task{{/as_slugid}}'
-    reruns: 3
     task:
       routes:
         - index.gecko.v2.{{project}}.latest.firefox.decision
         - tc-treeherder-stage.{{project}}.{{revision_hash}}
         - tc-treeherder.{{project}}.{{revision_hash}}
       created: '{{now}}'
       deadline: '{{#from_now}}1 day{{/from_now}}'
       metadata:
--- a/testing/taskcluster/tasks/decision/try.yml
+++ b/testing/taskcluster/tasks/decision/try.yml
@@ -10,17 +10,16 @@ scopes:
   # Note the below scopes are insecure however these get overriden on the server
   # side to whatever scopes are set by mozilla-taskcluster.
   - queue:*
   - docker-worker:*
   - scheduler:*
 
 tasks:
   - taskId: '{{#as_slugid}}decision task{{/as_slugid}}'
-    reruns: 3
     task:
       created: '{{now}}'
       deadline: '{{#from_now}}1 day{{/from_now}}'
       expires: '{{#from_now}}14 day{{/from_now}}'
       metadata:
         owner: mozilla-taskcluster-maintenance@mozilla.com
         source: {{{source}}}
         name: "[tc] Initial decision task for try"