зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1429603: Get rid of support for builds using buildbot-bridge; r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D372 --HG-- extra : rebase_source : e75eb0abded4fd503c21a5136adb534396c98e54
This commit is contained in:
Родитель
339f3f9e9a
Коммит
0fd3bde12e
|
@ -10,7 +10,6 @@ way, and certainly anything using mozharness should use this approach.
|
|||
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
import json
|
||||
import slugid
|
||||
|
||||
from textwrap import dedent
|
||||
|
||||
|
@ -348,33 +347,3 @@ def mozharness_on_generic_worker(config, job, taskdesc):
|
|||
worker['command'].extend([
|
||||
' '.join(mh_command)
|
||||
])
|
||||
|
||||
|
||||
@run_job_using('buildbot-bridge', 'mozharness', schema=mozharness_run_schema,
|
||||
defaults=mozharness_defaults)
|
||||
def mozharness_on_buildbot_bridge(config, job, taskdesc):
|
||||
run = job['run']
|
||||
worker = taskdesc['worker']
|
||||
branch = config.params['project']
|
||||
product = run.get('index', {}).get('product', 'firefox')
|
||||
|
||||
worker.pop('env', None)
|
||||
|
||||
if 'devedition' in job['attributes']['build_platform']:
|
||||
buildername = 'OS X 10.7 {} devedition build'.format(branch)
|
||||
else:
|
||||
buildername = 'OS X 10.7 {} build'.format(branch)
|
||||
|
||||
worker.update({
|
||||
'buildername': buildername,
|
||||
'sourcestamp': {
|
||||
'branch': branch,
|
||||
'repository': config.params['head_repository'],
|
||||
'revision': config.params['head_rev'],
|
||||
},
|
||||
'properties': {
|
||||
'product': product,
|
||||
'who': config.params['owner'],
|
||||
'upload_to_task_id': slugid.nice(),
|
||||
}
|
||||
})
|
||||
|
|
Загрузка…
Ссылка в новой задаче