From 3abda6daec508a648e30e7fa1e60b14e4447ec1b Mon Sep 17 00:00:00 2001 From: Aki Sasaki Date: Tue, 26 Jan 2021 17:28:59 -0800 Subject: [PATCH] support staging release promotion projects (#17652) Let's make mozilla-releng/staging-fenix the official staging repository. By supporting it in the automation, we no longer need to maintain a staging patchset to test things properly. --- .taskcluster.yml | 2 +- taskcluster/ci/config.yml | 5 ++++- taskcluster/fenix_taskgraph/release_promotion.py | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index 4ee1f0b8c..e11debf8a 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -166,7 +166,7 @@ tasks: routes: $flattenDeep: - checks - - $if: 'level == "3"' + - $if: 'level == "3" || repoUrl == "https://github.com/mozilla-releng/staging-fenix"' then: - tc-treeherder.v2.${project}.${head_sha} # TODO Bug 1601928: Make this scope fork-friendly once ${project} is better defined. This will enable diff --git a/taskcluster/ci/config.yml b/taskcluster/ci/config.yml index 2f2caf9d8..4fb15565d 100644 --- a/taskcluster/ci/config.yml +++ b/taskcluster/ci/config.yml @@ -17,7 +17,10 @@ treeherder: 'Rap-P': 'Raptor power tests' 'TL': 'Toolchain builds for Linux 64-bits' -task-priority: highest +task-priority: + by-project: + "fenix": highest + "staging-fenix": low taskgraph: register: fenix_taskgraph:register diff --git a/taskcluster/fenix_taskgraph/release_promotion.py b/taskcluster/fenix_taskgraph/release_promotion.py index 414e19131..902e7371b 100644 --- a/taskcluster/fenix_taskgraph/release_promotion.py +++ b/taskcluster/fenix_taskgraph/release_promotion.py @@ -17,6 +17,7 @@ from taskgraph.util.taskgraph import find_decision_task, find_existing_tasks_fro RELEASE_PROMOTION_PROJECTS = ( "https://github.com/mozilla-mobile/fenix", + "https://github.com/mozilla-releng/staging-fenix", )