Bug 1471004 - add esr support for entitlements. r=tomprince

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Aki Sasaki 2019-07-16 17:22:40 +00:00
parent e979d8d858
commit 45b648c8e3
3 changed files with 4 additions and 4 deletions

View File

@ -412,7 +412,7 @@ mac-notarization:
mac-entitlements:
by-platform:
macosx64.*:
by-project:
mozilla-(central|beta|release): security/mac/hardenedruntime/production.entitlements.xml
by-release-level:
production: security/mac/hardenedruntime/production.entitlements.xml
default: security/mac/hardenedruntime/developer.entitlements.xml
default: ''

View File

@ -92,7 +92,7 @@ graph_config_schema = Schema({
Any('mac_notarize', 'mac_geckodriver', 'mac_sign',
'mac_sign_and_pkg')),
Required('mac-entitlements'):
optionally_keyed_by('platform', 'project', text_type),
optionally_keyed_by('platform', 'release-level', text_type),
},
})

View File

@ -83,7 +83,7 @@ def add_entitlements_link(config, jobs):
"mac entitlements",
{
'platform': job['primary-dependency'].attributes.get('build_platform'),
'project': config.params['project'],
'release-level': config.params.release_level(),
},
)
if entitlements_path: