Bug 1304180 - Set taskcluster artifact expiration to 28 days on try draft
authorBrian Stack <bstack@mozilla.com>
Tue, 25 Oct 2016 11:47:50 -0700
changeset 429345 137282e8aeb8e22e4ee0fdca8bceaa2b6bcdeb8b
parent 429344 d3351816685931b97168c0c810320661af72f5b7
child 534955 b3b1ed7a099fd545486066cbdc0e4c9fabce9dc9
push id33548
push userbstack@mozilla.com
push dateTue, 25 Oct 2016 18:48:46 +0000
bugs1304180
milestone52.0a1
Bug 1304180 - Set taskcluster artifact expiration to 28 days on try MozReview-Commit-ID: ECXCs9EkOYI
taskcluster/taskgraph/transforms/task.py
--- a/taskcluster/taskgraph/transforms/task.py
+++ b/taskcluster/taskgraph/transforms/task.py
@@ -513,17 +513,17 @@ def build_task(config, tasks):
                 '{}.v2.{}.{}.{}'.format(TREEHERDER_ROUTE_ROOTS[env],
                                         config.params['project'],
                                         config.params['head_rev'],
                                         config.params['pushlog_id'])
                 for env in task_th['environments']
             ])
 
         if 'expires-after' not in task:
-            task['expires-after'] = '14 days' if config.params['project'] == 'try' else '1 year'
+            task['expires-after'] = '28 days' if config.params['project'] == 'try' else '1 year'
 
         if 'deadline-after' not in task:
             task['deadline-after'] = '1 day'
 
         if 'coalesce-name' in task and int(config.params['level']) > 1:
             key = COALESCE_KEY.format(
                 project=config.params['project'],
                 name=task['coalesce-name'])