Bug 1385401 - Fetch Google Play listings outside of the push-apk task r=aki

MozReview-Commit-ID: 2PTvLx4Atj5
This commit is contained in:
Johan Lorenzo
2018-01-05 13:49:59 +01:00
parent 9a8089ff39
commit 6ea1e2d659
8 changed files with 207 additions and 42 deletions

View File

@@ -93,6 +93,8 @@ task_description_schema = Schema({
# method.
Optional('dependencies'): {basestring: object},
Optional('requires'): Any('all-completed', 'all-resolved'),
# expiration and deadline times, relative to task creation, with units
# (e.g., "14 days"). Defaults are set based on the project.
Optional('expires-after'): basestring,
@@ -567,6 +569,9 @@ task_description_schema = Schema({
# Paths to the artifacts to sign
Required('paths'): [basestring],
# Artifact is optional to run the task
Optional('optional', default=False): bool,
}],
# "Invalid" is a noop for try and other non-supported branches
@@ -1422,6 +1427,9 @@ def build_task(config, tasks):
'priority': task['priority'],
}
if task.get('requires', None):
task_def['requires'] = task['requires']
if task_th:
# link back to treeherder in description
th_push_link = 'https://treeherder.mozilla.org/#/jobs?repo={}&revision={}'.format(