From b56688e982828e9d90449da7290973c3c0730f2e Mon Sep 17 00:00:00 2001 From: Olivier Mehani Date: Thu, 19 Mar 2026 16:57:18 +1100 Subject: [PATCH] config: move Firefox config to dedicated worker (bug 2016012) --- config-production-firefox.toml | 112 +++++++++++++++++++++++++++-- config-production.toml | 128 --------------------------------- 2 files changed, 106 insertions(+), 134 deletions(-) diff --git a/config-production-firefox.toml b/config-production-firefox.toml index fe7a914..56ed490 100644 --- a/config-production-firefox.toml +++ b/config-production-firefox.toml @@ -24,7 +24,7 @@ directory = "/clones" [[tracked_repositories]] name = "firefox" -url = "https://github.com/mozilla-firefox/firefox.git_NOT_YET_IN_USE" +url = "https://github.com/mozilla-firefox/firefox.git" # @@ -34,15 +34,115 @@ url = "https://github.com/mozilla-firefox/firefox.git_NOT_YET_IN_USE" # references early, with the benefit of bundles. # [[branch_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git_NOT_YET_IN_USE" +source_url = "https://github.com/mozilla-firefox/firefox.git" branch_pattern = "THIS_SHOULD_MATCH_NOTHING" destination_url = "https://hg.mozilla.org/mozilla-unified/" destination_branch = "NOT_A_VALID_BRANCH" +# +# AUTOLAND +# +[[branch_mappings]] +source_url = "https://github.com/mozilla-firefox/firefox.git" +branch_pattern = "autoland" +destination_url = "ssh://hg.mozilla.org/integration/autoland/" +destination_branch = "default" + + +# +# BETA +# +[[branch_mappings]] +source_url = "https://github.com/mozilla-firefox/firefox.git" +branch_pattern = "beta" +destination_url = "ssh://hg.mozilla.org/releases/mozilla-beta/" +destination_branch = "default" + [[tag_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git_NOT_YET_IN_USE" -tag_pattern = "THIS_SHOULD_MATCH_NOTHING" -destination_url = "https://hg.mozilla.org/mozilla-unified/" -tags_destination_branch = "NOT_A_VALID_BRANCH" +source_url = "https://github.com/mozilla-firefox/firefox.git" +tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_.*$" +destination_url = "ssh://hg.mozilla.org/releases/mozilla-beta/" +tags_destination_branch = "tags-unified" +# Default +#tag_message_suffix = "a=tagging CLOSED TREE DONTBUILD" + + +# +# ESRs +# +[[branch_mappings]] +source_url = "https://github.com/mozilla-firefox/firefox.git" +# esr branches to mozilla-esr +branch_pattern = "^(esr\\d+)$" +destination_url = "ssh://hg.mozilla.org/releases/mozilla-\\1/" +destination_branch = "default" + +# We can only sync the tags branch to ESR when an ESR-specific tag is added. +# When such a sync happens, all non-ESR tags currently present on that branch +# will also be pushed to the target ESR repo. +[[tag_mappings]] +source_url = "https://github.com/mozilla-firefox/firefox.git" +# _(_

...)esr BUILD and RELEASE tags to mozilla-esr +tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_(\\d+)(_\\d+)+esr_(BUILD\\d+|RELEASE)$" +destination_url = "ssh://hg.mozilla.org/releases/mozilla-esr\\2/" +tags_destination_branch = "tags-unified" # Default #tag_message_suffix = "a=tagging CLOSED TREE DONTBUILD" + +# +# ESR relbranches +# +[[branch_mappings]] +source_url = "https://github.com/mozilla-firefox/firefox.git" +# ESR___X RELBRANCH to mozilla-esr matching branch +branch_pattern = "^((FIREFOX|DEVEDITION|FIREFOX-ANDROID)_ESR_(\\d+)(_\\d+_X)_RELBRANCH)$" +destination_url = "ssh://hg.mozilla.org/releases/mozilla-esr\\3/" +destination_branch = "\\1" + + +# +# MOZILLA-CENTRAL +# +[[branch_mappings]] +source_url = "https://github.com/mozilla-firefox/firefox.git" +branch_pattern = "main" +destination_url = "ssh://hg.mozilla.org/mozilla-central/" +destination_branch = "default" + +[[tag_mappings]] +source_url = "https://github.com/mozilla-firefox/firefox.git" +tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_.*$" +destination_url = "ssh://hg.mozilla.org/mozilla-central/" +tags_destination_branch = "tags-unified" +# Default +# tag_message_suffix = "a=tagging CLOSED TREE DONTBUILD" + + +# +# RELEASE +# +[[branch_mappings]] +source_url = "https://github.com/mozilla-firefox/firefox.git" +branch_pattern = "release" +destination_url = "ssh://hg.mozilla.org/releases/mozilla-release/" +destination_branch = "default" + +[[tag_mappings]] +source_url = "https://github.com/mozilla-firefox/firefox.git" +tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_.*$" +destination_url = "ssh://hg.mozilla.org/releases/mozilla-release/" +tags_destination_branch = "tags-unified" +# # Default +# #tag_message_suffix = "a=tagging CLOSED TREE DONTBUILD" + +# +# RELEASE relbranches +# +[[branch_mappings]] +source_url = "https://github.com/mozilla-firefox/firefox.git" +# __X RELBRANCH to mozilla-release matching branch +branch_pattern = "^((FIREFOX|DEVEDITION|FIREFOX-ANDROID)_(\\d+_\\d+_X)_RELBRANCH)$" +destination_url = "ssh://hg.mozilla.org/releases/mozilla-release/" +destination_branch = "\\1" + + diff --git a/config-production.toml b/config-production.toml index 1d5a307..4ed0ebb 100644 --- a/config-production.toml +++ b/config-production.toml @@ -18,134 +18,6 @@ sentry_dsn = "" [clones] directory = "/clones" -########### -# FIREFOX # -########### - -[[tracked_repositories]] -name = "firefox" -url = "https://github.com/mozilla-firefox/firefox.git" - - -# -# MOZILLA-UNIFIED -# -# We don't sync to this repository, but we put it here first to fetch all -# references early, with the benefit of bundles. -# -[[branch_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -branch_pattern = "THIS_SHOULD_MATCH_NOTHING" -destination_url = "https://hg.mozilla.org/mozilla-unified/" -destination_branch = "NOT_A_VALID_BRANCH" - -# -# AUTOLAND -# -[[branch_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -branch_pattern = "autoland" -destination_url = "ssh://hg.mozilla.org/integration/autoland/" -destination_branch = "default" - - -# -# BETA -# -[[branch_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -branch_pattern = "beta" -destination_url = "ssh://hg.mozilla.org/releases/mozilla-beta/" -destination_branch = "default" - -[[tag_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_.*$" -destination_url = "ssh://hg.mozilla.org/releases/mozilla-beta/" -tags_destination_branch = "tags-unified" -# Default -#tag_message_suffix = "a=tagging CLOSED TREE DONTBUILD" - - -# -# ESRs -# -[[branch_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -# esr branches to mozilla-esr -branch_pattern = "^(esr\\d+)$" -destination_url = "ssh://hg.mozilla.org/releases/mozilla-\\1/" -destination_branch = "default" - -# We can only sync the tags branch to ESR when an ESR-specific tag is added. -# When such a sync happens, all non-ESR tags currently present on that branch -# will also be pushed to the target ESR repo. -[[tag_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -# _(_

...)esr BUILD and RELEASE tags to mozilla-esr -tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_(\\d+)(_\\d+)+esr_(BUILD\\d+|RELEASE)$" -destination_url = "ssh://hg.mozilla.org/releases/mozilla-esr\\2/" -tags_destination_branch = "tags-unified" -# Default -#tag_message_suffix = "a=tagging CLOSED TREE DONTBUILD" - -# -# ESR relbranches -# -[[branch_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -# ESR___X RELBRANCH to mozilla-esr matching branch -branch_pattern = "^((FIREFOX|DEVEDITION|FIREFOX-ANDROID)_ESR_(\\d+)(_\\d+_X)_RELBRANCH)$" -destination_url = "ssh://hg.mozilla.org/releases/mozilla-esr\\3/" -destination_branch = "\\1" - - -# -# MOZILLA-CENTRAL -# -[[branch_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -branch_pattern = "main" -destination_url = "ssh://hg.mozilla.org/mozilla-central/" -destination_branch = "default" - -[[tag_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_.*$" -destination_url = "ssh://hg.mozilla.org/mozilla-central/" -tags_destination_branch = "tags-unified" -# Default -# tag_message_suffix = "a=tagging CLOSED TREE DONTBUILD" - - -# -# RELEASE -# -[[branch_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -branch_pattern = "release" -destination_url = "ssh://hg.mozilla.org/releases/mozilla-release/" -destination_branch = "default" - -[[tag_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_.*$" -destination_url = "ssh://hg.mozilla.org/releases/mozilla-release/" -tags_destination_branch = "tags-unified" -# # Default -# #tag_message_suffix = "a=tagging CLOSED TREE DONTBUILD" - -# -# RELEASE relbranches -# -[[branch_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git" -# __X RELBRANCH to mozilla-release matching branch -branch_pattern = "^((FIREFOX|DEVEDITION|FIREFOX-ANDROID)_(\\d+_\\d+_X)_RELBRANCH)$" -destination_url = "ssh://hg.mozilla.org/releases/mozilla-release/" -destination_branch = "\\1" - - ################# # INFRA-TESTING # #################