Bug 1469803 Separate bouncer-check for cron tests r=mtabara

We shouldn't run this on central, as it falls back to the dev configs, and fails.
It should be fine on beta/release/esr60. I had to move this version of the check to its own
kind to avoid the dependency tree bringing in the entire build process. Perhaps we can
refactor later to avoid duplication

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

--HG--
rename : taskcluster/ci/release-bouncer-check/kind.yml => taskcluster/ci/bouncer-check/kind.yml
This commit is contained in:
Simon Fraser 2018-06-27 07:34:19 +00:00
Родитель 860839ae50
Коммит 371a4da3a0
5 изменённых файлов: 108 добавлений и 5 удалений

Просмотреть файл

@ -102,6 +102,28 @@ jobs:
mozilla-central: [{hour: 10, minute: 30}]
# No default
- name: bouncer-check
job:
type: decision-task
treeherder-symbol: Rel
target-tasks-method: bouncer_check
run-on-projects:
- mozilla-beta
- mozilla-release
- mozilla-esr60
when:
by-project:
# No default branch
mozilla-beta:
- {hour: 7, minute: 0}
- {hour: 19, minute: 0}
mozilla-release:
- {hour: 7, minute: 0}
- {hour: 19, minute: 0}
mozilla-esr60:
- {hour: 7, minute: 0}
- {hour: 19, minute: 0}
- name: periodic-update
job:
type: decision-task

Просмотреть файл

@ -0,0 +1,67 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
loader: taskgraph.loader.transform:loader
transforms:
- taskgraph.transforms.bouncer_check:transforms
- taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms
job-defaults:
name: bouncer-check
description: bouncer check
run-on-projects: [] # to make sure this never runs as part of CI
shipping-phase: push
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
max-run-time: 1200
docker-image: {in-tree: "update-verify"}
run:
using: run-task
sparse-profile: mozharness
attributes:
build_platform: linux64
build_type: opt
treeherder:
symbol: Rel(ckbouncer)
kind: test
tier: 1
jobs:
firefox:
shipping-product: firefox
index:
product: firefox
job-name: firefox-bouncer-check
run:
config:
by-project:
mozilla-beta:
- releases/bouncer_firefox_beta.py
mozilla-release:
- releases/bouncer_firefox_release.py
mozilla-esr60:
- releases/bouncer_firefox_esr.py
jamun:
- releases/dev_bouncer_firefox_esr.py
default:
- releases/dev_bouncer_firefox_beta.py
treeherder:
platform: firefox-release/opt
devedition:
shipping-product: devedition
index:
product: devedition
job-name: devedition-bouncer-check
run:
config:
by-project:
mozilla-beta:
- releases/bouncer_firefox_devedition.py
default:
- releases/dev_bouncer_firefox_devedition.py
treeherder:
platform: devedition-release/opt

Просмотреть файл

@ -14,8 +14,8 @@ transforms:
- taskgraph.transforms.task:transforms
job-defaults:
name: bouncer-check
description: bouncer check
name: release-bouncer-check
description: release bouncer check
run-on-projects: [] # to make sure this never runs as part of CI
shipping-phase: push
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
@ -38,7 +38,7 @@ jobs:
shipping-product: firefox
index:
product: firefox
job-name: firefox-bouncer-check
job-name: firefox-release-bouncer-check
run:
config:
by-project:
@ -59,7 +59,7 @@ jobs:
shipping-product: devedition
index:
product: devedition
job-name: devedition-bouncer-check
job-name: devedition-release-bouncer-check
run:
config:
by-project:

Просмотреть файл

@ -306,9 +306,13 @@ release-bouncer-aliases
-----------------------
Update Bouncer's (download.mozilla.org) "latest" aliases.
bouncer-check
-------------
Checks Bouncer (download.mozilla.org) uptake.
release-bouncer-check
---------------------
Checks Bouncer (download.mozilla.org) uptake.
Checks Bouncer (download.mozilla.org) uptake as part of the release tasks.
release-generate-checksums
--------------------------

Просмотреть файл

@ -578,3 +578,13 @@ def target_tasks_file_update(full_task_graph, parameters, graph_config):
# For now any task in the repo-update kind is ok
return task.kind in ['repo-update']
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
@_target_task('bouncer_check')
def target_tasks_bouncer_check(full_task_graph, parameters, graph_config):
"""Select the set of tasks required to perform bouncer version verification.
"""
def filter(task):
# For now any task in the repo-update kind is ok
return task.kind in ['bouncer-check']
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]