mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1356934 - Don't assume the path to the taskcluster config is relative to topsrcdir. r=gps
--HG-- extra : rebase_source : 4f9f30f563b60649f4fe26836c766e16d4b54491
This commit is contained in:
parent
4199850ee1
commit
59c62bd61c
@ -1666,8 +1666,8 @@ class PackageFrontend(MachCommandBase):
|
||||
|
||||
# TODO: move to the taskcluster package
|
||||
def tasks(kind):
|
||||
kind_path = mozpath.join('taskcluster', 'ci', kind)
|
||||
with open(mozpath.join(self.topsrcdir, kind_path, 'kind.yml')) as f:
|
||||
kind_path = mozpath.join(self.topsrcdir, 'taskcluster', 'ci', kind)
|
||||
with open(mozpath.join(kind_path, 'kind.yml')) as f:
|
||||
config = yaml.load(f)
|
||||
tasks = Kind(kind, kind_path, config).load_tasks(params, {})
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user