Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions config-production-thunderbird.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[pulse]
# Those parameters can be overriden by PULSE_* environment variables
host = "pulse.mozilla.org"
port = 5671
ssl = true
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"
# The Consumer declares the queue and binds it to the exchange.
heartbeat = 30
queue = "queue/githgsyncprod/pushes"

[sentry]
sentry_dsn = ""

[clones]
directory = "/clones"

#############################
# 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"
# (BETA|NIGHTLY)_(\d+)_(BASE|END)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need anything for tags prefixed with ESR_, RELEASE_, or THUNDERBIRD? I'm guessing the idea is that we would only test main and beta with infra-testing.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! I missed those.

For infra-testing, yes, we can have a more limited set of tags.

However, it's also a good opportunity to capture the whole list, so we're not surprised that some are missing later.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"