зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1459050 - ja-JP-mac language pack should be submitted to AMO as "unlisted" in all cases. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D1129 --HG-- extra : rebase_source : 46128cb5519e7f9f25ae343e05de46c0256b64a7
This commit is contained in:
Родитель
7721939208
Коммит
c238627a38
|
@ -34,7 +34,10 @@ job-template:
|
|||
channel:
|
||||
by-project:
|
||||
# Only release langpacks are listed publicly
|
||||
mozilla-release: listed
|
||||
mozilla-release:
|
||||
by-platform:
|
||||
macosx64.*: unlisted # ja-JP-mac is only langpack on mac, and is unlisted always
|
||||
default: listed
|
||||
default: unlisted
|
||||
upstream-artifacts: # See transforms
|
||||
run-on-projects: []
|
||||
|
|
|
@ -29,7 +29,9 @@ langpack_sign_push_description_schema = Schema({
|
|||
Required('worker-type'): optionally_keyed_by('project', basestring),
|
||||
Required('worker'): {
|
||||
Required('implementation'): 'sign-and-push-addons',
|
||||
Required('channel'): optionally_keyed_by('project', Any('listed', 'unlisted')),
|
||||
Required('channel'): optionally_keyed_by(
|
||||
'project',
|
||||
optionally_keyed_by('platform', Any('listed', 'unlisted'))),
|
||||
Required('upstream-artifacts'): None, # Processed here below
|
||||
},
|
||||
|
||||
|
@ -69,7 +71,9 @@ def resolve_keys(config, jobs):
|
|||
job, 'scopes', item_name=job['label'], project=config.params['project']
|
||||
)
|
||||
resolve_keyed_by(
|
||||
job, 'worker.channel', item_name=job['label'], project=config.params['project']
|
||||
job, 'worker.channel', item_name=job['label'],
|
||||
project=config.params['project'],
|
||||
platform=job['dependent-task'].attributes['build_platform'],
|
||||
)
|
||||
|
||||
yield job
|
||||
|
|
Загрузка…
Ссылка в новой задаче