Bug 1598157 - Do not check mozilla-inbound during artifact builds. r=firefox-build-system-reviewers,mshal

Differential Revision: https://phabricator.services.mozilla.com/D54057

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Chris Manchester 2019-11-20 23:50:34 +00:00
Родитель aefddbeebf
Коммит 60fcabc3d4
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -102,7 +102,6 @@ class ArtifactJob(object):
candidate_trees = [
'mozilla-central',
'integration/autoland',
'integration/mozilla-inbound',
'releases/mozilla-beta',
'releases/mozilla-release',
]
@ -814,8 +813,8 @@ class TaskCache(CacheManager):
@cachedmethod(operator.attrgetter('_cache'))
def artifacts(self, tree, job, artifact_job_class, rev):
# Grab the second part of the repo name, which is generally how things
# are indexed. Eg: 'integration/mozilla-inbound' is indexed as
# 'mozilla-inbound'
# are indexed. Eg: 'integration/autoland' is indexed as
# 'autoland'
tree = tree.split('/')[1] if '/' in tree else tree
job, tree = artifact_job_class.transform_job(job, tree)