Bug 1473416: [release] Don't allow invalid google-play tracks in push-apk tasks; r=jlorenzo

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tom Prince 2018-09-12 08:48:38 +00:00
parent 5a5c433bd1
commit e8fffc40c6
2 changed files with 3 additions and 3 deletions

View File

@ -32,12 +32,12 @@ jobs:
mozilla-central: 'beta'
mozilla-beta: 'rollout'
mozilla-release: 'rollout'
default: 'invalid'
default: 'internal'
rc-google-play-track:
by-project:
mozilla-release: 'rollout'
birch: 'rollout'
default: 'invalid'
default: 'internal'
implementation: push-apk
commit:
by-release-level:

View File

@ -594,7 +594,7 @@ task_description_schema = Schema({
}],
# "Invalid" is a noop for try and other non-supported branches
Required('google-play-track'): Any('production', 'beta', 'alpha', 'rollout', 'invalid'),
Required('google-play-track'): Any('production', 'beta', 'alpha', 'rollout', 'internal'),
Required('commit'): bool,
Optional('rollout-percentage'): Any(int, None),
}, {