Bug 1808607 - part 3: Delete `mark-as-shipped` task for already being covered existing kind
(cherry picked from commit 8f260bfbc0ffc6552696882eba7ed798d2425cfc)pull/600/head
parent
4d3d22d167
commit
1ecf9dcaaf
@ -1,41 +0,0 @@
|
||||
# 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: fenix_taskgraph.loader.multi_dep:loader
|
||||
|
||||
transforms:
|
||||
- fenix_taskgraph.transforms.multi_dep:transforms
|
||||
- fenix_taskgraph.transforms.mark_as_shipped:transforms
|
||||
- taskgraph.transforms.task:transforms
|
||||
|
||||
kind-dependencies:
|
||||
- beetmover
|
||||
- push-apk
|
||||
|
||||
primary-dependency: push-apk
|
||||
|
||||
group-by: build-type
|
||||
|
||||
only-for-build-types:
|
||||
- beta
|
||||
- release
|
||||
|
||||
job-template:
|
||||
attributes:
|
||||
shipping_phase: ship
|
||||
description: Mark Fenix as shipped in ship-it
|
||||
worker-type: ship-it
|
||||
scopes:
|
||||
by-level:
|
||||
'3':
|
||||
- project:releng:ship-it:action:mark-as-shipped
|
||||
- project:releng:ship-it:server:production
|
||||
default:
|
||||
- project:releng:ship-it:action:mark-as-shipped
|
||||
- project:releng:ship-it:server:staging
|
||||
worker: {}
|
||||
|
||||
treeherder:
|
||||
job-symbol: mark-shipped
|
||||
kind: build
|
@ -1,42 +0,0 @@
|
||||
# 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/.
|
||||
"""
|
||||
Apply some defaults and minor modifications to the jobs defined in the build
|
||||
kind.
|
||||
"""
|
||||
|
||||
from taskgraph.transforms.base import TransformSequence
|
||||
from taskgraph.util.schema import resolve_keyed_by
|
||||
|
||||
|
||||
transforms = TransformSequence()
|
||||
|
||||
|
||||
@transforms.add
|
||||
def resolve_keys(config, tasks):
|
||||
for task in tasks:
|
||||
resolve_keyed_by(
|
||||
task,
|
||||
"scopes",
|
||||
item_name=task["name"],
|
||||
**{
|
||||
"level": config.params["level"],
|
||||
}
|
||||
)
|
||||
yield task
|
||||
|
||||
|
||||
@transforms.add
|
||||
def make_task_description(config, tasks):
|
||||
for task in tasks:
|
||||
product = "Fenix"
|
||||
version = config.params["version"] or "{ver}"
|
||||
task["worker"][
|
||||
"release-name"
|
||||
] = "{product}-{version}-build{build_number}".format(
|
||||
product=product,
|
||||
version=version,
|
||||
build_number=config.params.get("build_number", 1),
|
||||
)
|
||||
yield task
|
Loading…
Reference in New Issue