diff --git a/taskcluster/gecko_taskgraph/actions/merge_automation.py b/taskcluster/gecko_taskgraph/actions/merge_automation.py index ad3088b0dc6d..7efe64faa62e 100644 --- a/taskcluster/gecko_taskgraph/actions/merge_automation.py +++ b/taskcluster/gecko_taskgraph/actions/merge_automation.py @@ -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", ]: diff --git a/taskcluster/gecko_taskgraph/config.py b/taskcluster/gecko_taskgraph/config.py index 08b37baa58ec..a9a4f6928396 100644 --- a/taskcluster/gecko_taskgraph/config.py +++ b/taskcluster/gecko_taskgraph/config.py @@ -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, diff --git a/taskcluster/gecko_taskgraph/transforms/merge_automation.py b/taskcluster/gecko_taskgraph/transforms/merge_automation.py index 1e1c7d8b0951..3a4ed8a3cfec 100644 --- a/taskcluster/gecko_taskgraph/transforms/merge_automation.py +++ b/taskcluster/gecko_taskgraph/transforms/merge_automation.py @@ -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",