зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1520010: switch wv to autograph r=aki,Callek
Differential Revision: https://phabricator.services.mozilla.com/D31433 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2715af0c6a
Коммит
5ebf9d9abf
|
@ -113,7 +113,7 @@ on the input. This format includes ``signcode``, ``osslsigncode``,
|
|||
``mar`` signing signs our update files (Mozilla ARchive). ``mar_sha384`` is
|
||||
the same, but with a different hashing algorithm.
|
||||
|
||||
``widevine`` and ``widevine_blessed`` are also video-related; see the
|
||||
``autograph_widevine`` is also video-related; see the
|
||||
`widevine site`_. We sign specific files inside the package and rebuild the
|
||||
``precomplete`` file that we use for updates.
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ def generate_specifications_of_artifacts_to_sign(
|
|||
extension = 'dmg'
|
||||
artifacts_specifications = [{
|
||||
'artifacts': [get_artifact_path(task, '{{locale}}/target.{}'.format(extension))],
|
||||
'formats': ['macapp', 'widevine', 'autograph_omnija'],
|
||||
'formats': ['macapp', 'autograph_widevine', 'autograph_omnija'],
|
||||
}]
|
||||
elif 'win' in build_platform:
|
||||
artifacts_specifications = [{
|
||||
|
@ -54,7 +54,7 @@ def generate_specifications_of_artifacts_to_sign(
|
|||
'artifacts': [
|
||||
get_artifact_path(task, '{locale}/target.zip'),
|
||||
],
|
||||
'formats': ['sha2signcode', 'widevine', 'autograph_omnija'],
|
||||
'formats': ['sha2signcode', 'autograph_widevine', 'autograph_omnija'],
|
||||
}]
|
||||
|
||||
if use_stub:
|
||||
|
@ -64,7 +64,7 @@ def generate_specifications_of_artifacts_to_sign(
|
|||
elif 'linux' in build_platform:
|
||||
artifacts_specifications = [{
|
||||
'artifacts': [get_artifact_path(task, '{locale}/target.tar.bz2')],
|
||||
'formats': ['autograph_gpg', 'widevine', 'autograph_omnija'],
|
||||
'formats': ['autograph_gpg', 'autograph_widevine', 'autograph_omnija'],
|
||||
}]
|
||||
else:
|
||||
raise Exception("Platform not implemented for signing")
|
||||
|
@ -93,7 +93,7 @@ def _strip_widevine_for_partners(artifacts_specifications):
|
|||
updates
|
||||
"""
|
||||
for spec in artifacts_specifications:
|
||||
if 'widevine' in spec['formats']:
|
||||
if 'autograph_widevine' in spec['formats']:
|
||||
spec['formats'].remove('widevine')
|
||||
if 'autograph_omnija' in spec['formats']:
|
||||
spec['formats'].remove('autograph_omnija')
|
||||
|
|
Загрузка…
Ссылка в новой задаче