Bug 1899142 - don't show android-components dummy tasks on treeherder. r=aryx,releng-reviewers,bhearsum

These tasks will never fail, and don't have logs, so having them on
treeherder can be confusing.

Rename `post-signing` to `post-signing-dummy` to benefit from the
special handling in `verify_dependency_tiers`.

Differential Revision: https://phabricator.services.mozilla.com/D211746
This commit is contained in:
Julien Cristau 2024-05-27 15:45:53 +00:00
Родитель b8e588ce76
Коммит 5e0f155a42
5 изменённых файлов: 4 добавлений и 40 удалений

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

@ -4,7 +4,6 @@
from taskgraph.transforms.base import TransformSequence from taskgraph.transforms.base import TransformSequence
from taskgraph.util.schema import resolve_keyed_by
transforms = TransformSequence() transforms = TransformSequence()
@ -15,17 +14,3 @@ def set_name_and_clear_artifacts(config, tasks):
task["name"] = task["attributes"]["build-type"] task["name"] = task["attributes"]["build-type"]
task["attributes"]["artifacts"] = {} task["attributes"]["artifacts"] = {}
yield task yield task
@transforms.add
def resolve_keys(config, tasks):
for task in tasks:
resolve_keyed_by(
task,
"treeherder.symbol",
item_name=task["name"],
**{
"build-type": task["attributes"]["build-type"],
}
)
yield task

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

@ -855,8 +855,8 @@ android-startup-test
-------------------- --------------------
Startup test for android. Startup test for android.
post-signing post-signing-dummy
------------ ------------------
Gating kind to wait for all android signing tasks. Gating kind to wait for all android signing tasks.
beetmover-components beetmover-components

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

@ -14,7 +14,7 @@ transforms:
kind-dependencies: kind-dependencies:
- signing - signing
- build-components - build-components
- post-signing - post-signing-dummy
jobs: jobs:
push-to-maven: push-to-maven:

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

@ -23,13 +23,3 @@ jobs:
attributes: attributes:
component: all component: all
worker-type: succeed worker-type: succeed
treeherder:
kind: build
platform: AC-android-all/opt
symbol:
by-build-type:
release: post-beetmover-release
beta: post-beetmover-beta
nightly: post-beetmover-nightly
default: post-beetmover
tier: 1

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

@ -14,7 +14,7 @@ kind-dependencies:
- signing - signing
jobs: jobs:
post-signing: post-signing-dummy:
description: Dummy task to wait on all builds before publishing them description: Dummy task to wait on all builds before publishing them
from-deps: from-deps:
group-by: build-type group-by: build-type
@ -23,14 +23,3 @@ jobs:
attributes: attributes:
component: all component: all
worker-type: succeed worker-type: succeed
worker: {}
treeherder:
kind: build
platform: AC-android-all/opt
symbol:
by-build-type:
release: post-signing-release
beta: post-signing-beta
nightly: post-signing-nightly
default: post-signing
tier: 1