Commit 2ec49f86 authored by Corey Bryant's avatar Corey Bryant Committed by rvandermeulen@mozilla.com
Browse files

Bug 1967552 - Restore from-repo and to-repo as optional....

Bug 1967552 - Restore from-repo and to-repo as optional. r=taskgraph-reviewers,releng-reviewers,ahal

Thunderbird still needs these until it moves to git.

Differential Revision: https://phabricator.services.mozilla.com/D250315
parent 902b5ea1
Loading
Loading
Loading
Loading
+10 −0
Changes for taskcluster/gecko_taskgraph/actions/merge_automation.py: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -36,6 +36,14 @@ def is_release_promotion_available(parameters):
                "enum": sorted(graph_config["merge-automation"]["behaviors"].keys()),
                "default": "REPLACE ME",
            },
            "from-repo": {
                "type": "string",
                "description": "The URI of the source repository",
            },
            "to-repo": {
                "type": "string",
                "description": "The push URI of the target repository",
            },
            "from-branch": {
                "type": "string",
                "description": "The fx head of the source, such as central",
@@ -63,7 +71,9 @@ def merge_automation_action(parameters, graph_config, input, task_group_id, task
    }

    for field in [
        "from-repo",
        "from-branch",
        "to-repo",
        "to-branch",
        "fetch-version-from",
    ]:
+2 −0
Changes for taskcluster/gecko_taskgraph/config.py: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -50,6 +50,8 @@ graph_config_schema = Schema(
                str: {
                    Optional("from-branch"): str,
                    Required("to-branch"): str,
                    Optional("from-repo"): str,
                    Optional("to-repo"): str,
                    Required("version-files"): [
                        {
                            Required("filename"): str,
+2 −0
Changes for taskcluster/gecko_taskgraph/transforms/merge_automation.py: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -67,7 +67,9 @@ def add_payload_config(config, tasks):

        # Override defaults, useful for testing.
        for field in [
            "from-repo",
            "from-branch",
            "to-repo",
            "to-branch",
            "fetch-version-from",
            "lando-repo",