Backed out 2 changesets (bug 903746) for causing non-unified build bustages on nsIPri...
[gecko.git] / taskcluster / android_taskgraph / parameters.py
bloba5ed1b7dca948d34084a45f65c66d9fff18098cc
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 from gecko_taskgraph.parameters import extend_parameters_schema
7 from voluptuous import Any, Required
10 def get_defaults(repo_root):
11 return {
12 "next_version": None,
13 "release_type": "",
17 extend_parameters_schema(
19 Required("next_version"): Any(str, None),
20 Required("release_type"): str,
22 defaults_fn=get_defaults,
26 def get_decision_parameters(graph_config, parameters):
27 parameters.setdefault("next_version", None)
28 parameters.setdefault("release_type", "")