From f9eedd77c35a49111490f5c070afee9532877f58 Mon Sep 17 00:00:00 2001 From: Olivier Mehani Date: Fri, 20 Mar 2026 16:08:19 +1100 Subject: [PATCH 1/2] config: merge all prod config back into a single file (bug 2024547) Workload selection is now done via the `PULSE_ROUTING_KEY` set in the environment of each deployment. We retain the -firefox and -thunderbird configuration files as noop for now, so as no to create unexpected failures with current deployments that may still be looking for them. --- config-production-firefox.toml | 8 ++-- config-production-thunderbird.toml | 46 ++++----------------- config-production.toml | 66 ++++++++++++++++++++++++++++-- 3 files changed, 75 insertions(+), 45 deletions(-) diff --git a/config-production-firefox.toml b/config-production-firefox.toml index fe7a914..5e54c82 100644 --- a/config-production-firefox.toml +++ b/config-production-firefox.toml @@ -7,7 +7,7 @@ userid = "SET THIS IN PULSE_USERID ENV VARIABLE" password = "SET THIS IN PULSE_PASSWORD ENV VARIABLE" # The exchange is declared by the Producer. exchange = "exchange/landoprod/pushes" -routing_key = "gitpushes" +routing_key = "gitpushes.firefox" # The Consumer declares the queue and binds it to the exchange. heartbeat = 30 queue = "queue/githgsyncprod/pushes" @@ -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_NOT_IN_USE" # @@ -34,13 +34,13 @@ 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_NOT_IN_USE" branch_pattern = "THIS_SHOULD_MATCH_NOTHING" destination_url = "https://hg.mozilla.org/mozilla-unified/" destination_branch = "NOT_A_VALID_BRANCH" [[tag_mappings]] -source_url = "https://github.com/mozilla-firefox/firefox.git_NOT_YET_IN_USE" +source_url = "https://github.com/mozilla-firefox/firefox.git_NOT_IN_USE" tag_pattern = "THIS_SHOULD_MATCH_NOTHING" destination_url = "https://hg.mozilla.org/mozilla-unified/" tags_destination_branch = "NOT_A_VALID_BRANCH" diff --git a/config-production-thunderbird.toml b/config-production-thunderbird.toml index c94dd5d..d3386b6 100644 --- a/config-production-thunderbird.toml +++ b/config-production-thunderbird.toml @@ -7,7 +7,7 @@ userid = "SET THIS IN PULSE_USERID ENV VARIABLE" password = "SET THIS IN PULSE_PASSWORD ENV VARIABLE" # The exchange is declared by the Producer. exchange = "exchange/landoprod/pushes" -routing_key = "gitpushes" +routing_key = "gitpushes.thunderbird" # The Consumer declares the queue and binds it to the exchange. heartbeat = 30 queue = "queue/githgsyncprod/pushes" @@ -24,7 +24,8 @@ directory = "/clones" [[tracked_repositories]] name = "thunderbird-infra-testing" -url = "https://github.com/thunderbird/infra-testing.git" +url = "https://github.com/thunderbird/infra-testing.git_NOT_IN_USE" + # # COMM-UNIFIED @@ -33,46 +34,15 @@ url = "https://github.com/thunderbird/infra-testing.git" # references early, with the benefit of bundles. # [[branch_mappings]] -source_url = "https://github.com/thunderbird/infra-testing.git" +source_url = "https://github.com/thunderbird/infra-testing.git_NOT_IN_USE" branch_pattern = "THIS_SHOULD_MATCH_NOTHING" destination_url = "https://hg.mozilla.org/comm-unified/" destination_branch = "NOT_A_VALID_BRANCH" -[[branch_mappings]] -source_url = "https://github.com/thunderbird/infra-testing.git" -branch_pattern = "main" -destination_url = "ssh://hg.mozilla.org/conduit-testing/comm-infra-testing/" -destination_branch = "default" - [[tag_mappings]] -source_url = "https://github.com/thunderbird/infra-testing.git" - -# comm-central: -# tag_pattern = ".+" -# destination_url = "ssh://hg.mozilla.org/comm-central" -# tags_destination_branch = "tags-testing" - -# comm-beta: -# tag_pattern = "(^THUNDERBIRD|NIGHTLY|BETA|RELEASE)_.*$" -# destination_url = "ssh://hg.mozilla.org/releases/comm-beta/" -# tags_destination_branch = "tags-unified" - -# comm-release: -# tag_pattern = "(^THUNDERBIRD|NIGHTLY|BETA|RELEASE)_.*$" -# destination_url = "ssh://hg.mozilla.org/releases/comm-release/" -# tags_destination_branch = "tags-unified" - -# comm-esrXXX -# tag_pattern = "^(THUNDERBIRD)_(\\d+)(_\\d+)+esr_(BUILD\\d+|RELEASE)$" -# destination_url = "ssh://hg.mozilla.org/releases/comm-esr\\2/" -# tags_destination_branch = "tags-unified" -# ... -# tag_pattern = "^ESR_(\\d+)_BASE$" -# destination_url = "ssh://hg.mozilla.org/releases/comm-esr\\1/" -# tags_destination_branch = "tags-unified" - -tag_pattern = ".+" -destination_url = "ssh://hg.mozilla.org/conduit-testing/comm-infra-testing/" -tags_destination_branch = "tags-testing" +source_url = "https://github.com/thunderbird/infra-testing.git_NOT_IN_USE" +tag_pattern = "THIS_SHOULD_MATCH_NOTHING" +destination_url = "https://hg.mozilla.org/comm-unified/" +tags_destination_branch = "NOT_A_VALID_BRANCH" # Default #tag_message_suffix = "a=tagging CLOSED TREE DONTBUILD" diff --git a/config-production.toml b/config-production.toml index 1d5a307..8dccb3c 100644 --- a/config-production.toml +++ b/config-production.toml @@ -146,9 +146,9 @@ destination_url = "ssh://hg.mozilla.org/releases/mozilla-release/" destination_branch = "\\1" -################# -# INFRA-TESTING # -################# +########################### +# (FIREFOX) INFRA-TESTING # +########################### [[tracked_repositories]] name = "infra-testing" @@ -191,6 +191,66 @@ tags_destination_branch = "tags-testing" #tag_message_suffix = "a=tagging CLOSED TREE DONTBUILD" +############################# +# THUNDERBIRD-INFRA-TESTING # +############################# + +[[tracked_repositories]] +name = "thunderbird-infra-testing" +url = "https://github.com/thunderbird/infra-testing.git" + +# +# COMM-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/thunderbird/infra-testing.git" +branch_pattern = "THIS_SHOULD_MATCH_NOTHING" +destination_url = "https://hg.mozilla.org/comm-unified/" +destination_branch = "NOT_A_VALID_BRANCH" + +[[branch_mappings]] +source_url = "https://github.com/thunderbird/infra-testing.git" +branch_pattern = "main" +destination_url = "ssh://hg.mozilla.org/conduit-testing/comm-infra-testing/" +destination_branch = "default" + +[[tag_mappings]] +source_url = "https://github.com/thunderbird/infra-testing.git" + +# comm-central: +# tag_pattern = ".+" +# destination_url = "ssh://hg.mozilla.org/comm-central" +# tags_destination_branch = "tags-testing" + +# comm-beta: +# tag_pattern = "(^THUNDERBIRD|NIGHTLY|BETA|RELEASE)_.*$" +# destination_url = "ssh://hg.mozilla.org/releases/comm-beta/" +# tags_destination_branch = "tags-unified" + +# comm-release: +# tag_pattern = "(^THUNDERBIRD|NIGHTLY|BETA|RELEASE)_.*$" +# destination_url = "ssh://hg.mozilla.org/releases/comm-release/" +# tags_destination_branch = "tags-unified" + +# comm-esrXXX +# tag_pattern = "^(THUNDERBIRD)_(\\d+)(_\\d+)+esr_(BUILD\\d+|RELEASE)$" +# destination_url = "ssh://hg.mozilla.org/releases/comm-esr\\2/" +# tags_destination_branch = "tags-unified" +# ... +# tag_pattern = "^ESR_(\\d+)_BASE$" +# destination_url = "ssh://hg.mozilla.org/releases/comm-esr\\1/" +# tags_destination_branch = "tags-unified" + +tag_pattern = ".+" +destination_url = "ssh://hg.mozilla.org/conduit-testing/comm-infra-testing/" +tags_destination_branch = "tags-testing" +# Default +#tag_message_suffix = "a=tagging CLOSED TREE DONTBUILD" + + ##################### # REVIEW (MOZ-PHAB) # ##################### From 50c60183a6fc1c563e2eace6488625545cea1f1b Mon Sep 17 00:00:00 2001 From: Olivier Mehani Date: Mon, 30 Mar 2026 18:03:03 +1100 Subject: [PATCH 2/2] config: change queue name for other workers --- config-production-firefox.toml | 2 +- config-production-thunderbird.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config-production-firefox.toml b/config-production-firefox.toml index 5e54c82..d3eca8a 100644 --- a/config-production-firefox.toml +++ b/config-production-firefox.toml @@ -10,7 +10,7 @@ exchange = "exchange/landoprod/pushes" routing_key = "gitpushes.firefox" # The Consumer declares the queue and binds it to the exchange. heartbeat = 30 -queue = "queue/githgsyncprod/pushes" +queue = "queue/githgsyncprod/pushes.firefox" [sentry] sentry_dsn = "" diff --git a/config-production-thunderbird.toml b/config-production-thunderbird.toml index d3386b6..9563b25 100644 --- a/config-production-thunderbird.toml +++ b/config-production-thunderbird.toml @@ -10,7 +10,7 @@ exchange = "exchange/landoprod/pushes" routing_key = "gitpushes.thunderbird" # The Consumer declares the queue and binds it to the exchange. heartbeat = 30 -queue = "queue/githgsyncprod/pushes" +queue = "queue/githgsyncprod/pushes.thunderbird" [sentry] sentry_dsn = ""