Bug 1681607 - Remove comm_ repository parameters from parameters schema. draft comm/default tip
authorRob Lemley <rob@thunderbird.net>
Tue, 15 Jun 2021 16:43:18 -0400
branchcomm/default
changeset 652203 2c22496b740268d087141196dc6f86510968fa0c
parent 652202 348e73511327547bdd65084ad70366df95813ae9
push id31
push userthunderbird@calypsoblue.org
push dateTue, 15 Jun 2021 20:48:31 +0000
bugs1681607
milestone91.0a1
Bug 1681607 - Remove comm_ repository parameters from parameters schema.
comm/taskcluster/comm_taskgraph/parameters.py
--- a/comm/taskcluster/comm_taskgraph/parameters.py
+++ b/comm/taskcluster/comm_taskgraph/parameters.py
@@ -10,17 +10,16 @@ from __future__ import absolute_import, 
 
 import logging
 
 from six import text_type
 from voluptuous import (
     Required,
 )
 
-from taskgraph.parameters import extend_parameters_schema
 from taskgraph.util.partials import populate_release_history
 from taskgraph.util.backstop import is_backstop
 
 logger = logging.getLogger(__name__)
 
 BALROG_PRODUCT = "Thunderbird"
 
 PER_PROJECT_PARAMETERS = {
@@ -30,27 +29,16 @@ PER_PROJECT_PARAMETERS = {
     },
 }
 
 # Backstop defaults
 BACKSTOP_TIME_INTERVAL = 60 * 22  # minutes
 INTEGRATION_PROJECTS = {"comm-central"}
 
 
-# Called at import time when comm_taskgraph:register is called
-extend_parameters_schema(
-    {
-        Required("comm_base_repository"): text_type,
-        Required("comm_head_ref"): text_type,
-        Required("comm_head_repository"): text_type,
-        Required("comm_head_rev"): text_type,
-    }
-)
-
-
 def get_decision_parameters(graph_config, parameters):
     logger.info("{}.get_decision_parameters called".format(__name__))
 
     # If the target method is nightly, we should build partials. This means
     # knowing what has been released previously.
     # An empty release_history is fine, it just means no partials will be built
     project = parameters["project"]