Bug 1396657: really, finally, use /builds for old action tasks; r?wcosta
This is basically a revert
https://hg.mozilla.org/mozilla-central/rev/6490ba9e0ec7 that should have been
included in https://hg.mozilla.org/mozilla-central/rev/081f830cf285
MozReview-Commit-ID: HtO5b6WPYnB
--- a/taskcluster/taskgraph/action.yml
+++ b/taskcluster/taskgraph/action.yml
@@ -23,46 +23,46 @@ routes:
- "tc-treeherder-stage.v2.{{project}}.{{head_rev}}.{{pushlog_id}}"
payload:
env:
GECKO_BASE_REPOSITORY: 'https://hg.mozilla.org/mozilla-unified'
GECKO_HEAD_REPOSITORY: '{{{head_repository}}}'
GECKO_HEAD_REF: '{{head_ref}}'
GECKO_HEAD_REV: '{{head_rev}}'
- HG_STORE_PATH: /home/worker/checkouts/hg-store
+ HG_STORE_PATH: /builds/worker/checkouts/hg-store
cache:
- level-{{level}}-checkouts: /home/worker/checkouts
+ level-{{level}}-checkouts: /builds/worker/checkouts
features:
taskclusterProxy: true
# Note: This task is built server side without the context or tooling that
# exist in tree so we must hard code the version
image: 'taskcluster/decision:2.0.0@sha256:4039fd878e5700b326d4a636e28c595c053fbcb53909c1db84ad1f513cf644ef'
# Virtually no network or other potentially risky operations happen as part
# of the task timeout aside from the initial clone. We intentionally have
# set this to a lower value _all_ decision tasks should use a root
# repository which is cached.
maxRunTime: 1800
command:
- - /home/worker/bin/run-task
- - '--vcs-checkout=/home/worker/checkouts/gecko'
+ - /builds/worker/bin/run-task
+ - '--vcs-checkout=/builds/worker/checkouts/gecko'
- '--'
- bash
- -cx
- >
- cd /home/worker/checkouts/gecko &&
- ln -s /home/worker/artifacts artifacts &&
+ cd /builds/worker/checkouts/gecko &&
+ ln -s /builds/worker/artifacts artifacts &&
./mach --log-no-times taskgraph {{action}} {{action_args}}
artifacts:
'public':
type: 'directory'
- path: '/home/worker/artifacts'
+ path: '/builds/worker/artifacts'
expires: '{{#from_now}}7 days{{/from_now}}'
extra:
treeherder:
symbol: A