mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00
Bug 1543893 - Set TASKCLUSTER_ROOT_URL on workers that don't set it. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D39151 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
321d7f8f17
commit
b9fe30993d
@ -22,6 +22,7 @@ import attr
|
||||
from mozbuild.util import memoize
|
||||
from taskgraph.util.attributes import TRUNK_PROJECTS
|
||||
from taskgraph.util.hash import hash_path
|
||||
from taskgraph.util.taskcluster import get_root_url
|
||||
from taskgraph.util.treeherder import split_symbol
|
||||
from taskgraph.transforms.base import TransformSequence
|
||||
from taskgraph.util.keyed_by import evaluate_keyed_by
|
||||
@ -1877,6 +1878,10 @@ def build_task(config, tasks):
|
||||
env = payload.setdefault('env', {})
|
||||
env['MOZ_AUTOMATION'] = '1'
|
||||
|
||||
# Set TASKCLUSTER_ROOT_URL on workers that don't set it
|
||||
if provisioner_id == 'terraform-packet':
|
||||
env['TASKCLUSTER_ROOT_URL'] = get_root_url(False)
|
||||
|
||||
yield {
|
||||
'label': task['label'],
|
||||
'task': task_def,
|
||||
|
Loading…
x
Reference in New Issue
Block a user