Bug 1354038 - [push-apk] taskgraph: Use rollout and deactivate dry-run on release r=aki
MozReview-Commit-ID: 4Rc0Qd5ZI4Z
--- a/taskcluster/taskgraph/transforms/task.py
+++ b/taskcluster/taskgraph/transforms/task.py
@@ -406,17 +406,17 @@ task_description_schema = Schema({
# type of signing task (for CoT)
Required('taskType'): basestring,
# Paths to the artifacts to sign
Required('paths'): [basestring],
}],
# "Invalid" is a noop for try and other non-supported branches
- Required('google-play-track'): Any('production', 'beta', 'alpha', 'invalid'),
+ Required('google-play-track'): Any('production', 'beta', 'alpha', 'rollout', 'invalid'),
Required('dry-run', default=True): bool,
Optional('rollout-percentage'): int,
}),
})
GROUP_NAMES = {
'py': 'Python unit tests',
'tc': 'Executed by TaskCluster',
--- a/taskcluster/taskgraph/util/scriptworker.py
+++ b/taskcluster/taskgraph/util/scriptworker.py
@@ -209,35 +209,37 @@ PUSH_APK_SCOPES = {
'release': 'project:releng:googleplay:release',
'default': 'project:releng:googleplay:invalid',
}
# See https://github.com/mozilla-releng/pushapkscript#aurora-beta-release-vs-alpha-beta-production
PUSH_APK_GOOGLE_PLAY_TRACT = {
'aurora': 'beta',
'beta': 'production',
- 'release': 'production',
+ 'release': 'rollout',
'default': 'invalid',
}
PUSH_APK_BREAKPOINT_WORKER_TYPE = {
'aurora': 'aws-provisioner-v1/taskcluster-generic',
'beta': 'null-provisioner/human-breakpoint',
'release': 'null-provisioner/human-breakpoint',
'default': 'invalid/invalid',
}
PUSH_APK_DRY_RUN_OPTION = {
'aurora': False,
'beta': False,
- 'release': True,
+ 'release': False,
'default': True,
}
PUSH_APK_ROLLOUT_PERCENTAGE = {
+ # XXX Please make sure to change PUSH_APK_GOOGLE_PLAY_TRACT to 'rollout' if you add a new
+ # supported project
'release': 10,
'default': None,
}
# scope functions {{{1
def get_scope_from_project(alias_to_project_map, alias_to_scope_map, config):
"""Determine the restricted scope from `config.params['project']`.