Bug 1406734 - Set TASKCLUSTER_CACHES on action tasks r=dustin
authorBrian Stack <bstack@mozilla.com>
Mon, 09 Oct 2017 09:58:38 -0700
changeset 385136 141a5e81a573d85c654da24a751fdbd8594ab3e2
parent 385135 9535f2ddf045626371e8ad02f355bf30c8e08ef1
child 385137 ca81275884eb6147bd1022779fcac81fa0930128
push id32646
push userarchaeopteryx@coole-files.de
push dateMon, 09 Oct 2017 21:47:29 +0000
treeherdermozilla-central@4afc55e7033c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1406734
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1406734 - Set TASKCLUSTER_CACHES on action tasks r=dustin MozReview-Commit-ID: EwJoy5vqcQP
taskcluster/taskgraph/actions/registry.py
--- a/taskcluster/taskgraph/actions/registry.py
+++ b/taskcluster/taskgraph/actions/registry.py
@@ -227,16 +227,17 @@ def register_callback_action(name, title
                         'GECKO_HEAD_REV': parameters['head_rev'],
                         'HG_STORE_PATH': '/builds/worker/checkouts/hg-store',
                         'ACTION_TASK_GROUP_ID': task_group_id,
                         'ACTION_TASK_ID': {'$json': {'$eval': 'taskId'}},
                         'ACTION_TASK': {'$json': {'$eval': 'task'}},
                         'ACTION_INPUT': {'$json': {'$eval': 'input'}},
                         'ACTION_CALLBACK': cb.__name__,
                         'ACTION_PARAMETERS': {'$json': {'$eval': 'parameters'}},
+                        'TASKCLUSTER_CACHES': '/builds/worker/checkouts',
                     },
                     'artifacts': {
                         'public': {
                             'type': 'directory',
                             'path': '/builds/worker/artifacts',
                             'expires': {'$fromNow': '1 year'},
                         },
                     },