Skip to content

Commit 7c6ce40

Browse files
committedMar 19, 2025
config: add prod mapping (bug 1954877)
1 parent 9e909cf commit 7c6ce40

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed
 

‎config-prod.toml

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# This should be set via the environment
2+
#[pulse]
3+
#userid = "guest"
4+
#host = "pulse"
5+
#port = 5672
6+
#exchange = "exchange/git-hg-sync/test"
7+
#routing_key = "git-hg-sync"
8+
#queue = "queue/git-hg-sync/sync"
9+
#password = "guest"
10+
#ssl = false
11+
12+
[sentry]
13+
sentry_url = "FIXME"
14+
15+
[clones]
16+
directory = "/clones"
17+
18+
[[tracked_repositories]]
19+
name = "firefox"
20+
url = "https://github.com/mozilla-firefox/firefox"
21+
22+
# M-C
23+
[[branch_mappings]]
24+
source_url = "https://github.com/mozilla-firefox/firefox"
25+
branch_pattern = "main"
26+
destination_url = "https://hg.mozilla.org/releases/mozilla-central/"
27+
destination_branch = "default"
28+
29+
[[tag_mappings]]
30+
source_url = "https://github.com/mozilla-firefox/firefox"
31+
# BETA_<M> and NIGHTLY_<M> tags to m-c
32+
tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_(BETA|NIGHTLY)_(\\d+)_(BASE|END)$"
33+
destination_url = "https://hg.mozilla.org/releases/mozilla-central/"
34+
tags_destination_branch = "tags"
35+
36+
# BETA
37+
[[branch_mappings]]
38+
source_url = "https://github.com/mozilla-firefox/firefox"
39+
branch_pattern = "beta"
40+
destination_url = "https://hg.mozilla.org/releases/mozilla-beta/"
41+
destination_branch = "default"
42+
43+
[[tag_mappings]]
44+
source_url = "https://github.com/mozilla-firefox/firefox"
45+
# <M>_<m>(_<p>...)b<n> BUILD and RELEASE tags to mozilla-beta
46+
tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_(\\d+(_\\d+)+)b\\d+_(BUILD\\d+|RELEASE)$"
47+
destination_url = "https://hg.mozilla.org/releases/mozilla-beta/"
48+
tags_destination_branch = "tags"
49+
50+
# RELEASE
51+
[[branch_mappings]]
52+
source_url = "https://github.com/mozilla-firefox/firefox"
53+
branch_pattern = "release"
54+
destination_url = "https://hg.mozilla.org/releases/mozilla-release/"
55+
destination_branch = "default"
56+
57+
[[tag_mappings]]
58+
source_url = "https://github.com/mozilla-firefox/firefox"
59+
# <M>_<m>(_<p>...) BUILD and RELEASE tags to mozilla-release
60+
tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_(\\d+(_\\d+)+)_(BUILD\\d+|RELEASE)$"
61+
destination_url = "https://hg.mozilla.org/releases/mozilla-release/"
62+
tags_destination_branch = "tags"
63+
64+
# ESRs
65+
[[branch_mappings]]
66+
source_url = "https://github.com/mozilla-firefox/firefox"
67+
# esr<M> branches to mozilla-esr<M>
68+
branch_pattern = "^(esr\\d+)$"
69+
destination_url = "https://hg.mozilla.org/releases/mozilla-\\1/"
70+
destination_branch = "default"
71+
72+
[[tag_mappings]]
73+
source_url = "https://github.com/mozilla-firefox/firefox"
74+
# <M>_<m>(_<p>...)esr BUILD and RELEASE tags to mozilla-esr<M>
75+
tag_pattern = "^(FIREFOX|DEVEDITION|FIREFOX-ANDROID)_(\\d+)(_\\d+)+esr_(BUILD\\d+|RELEASE)$"
76+
destination_url = "https://hg.mozilla.org/releases/mozilla-esr\\2/"
77+
tags_destination_branch = "tags"
78+
79+
# AUTOLAND
80+
[[branch_mappings]]
81+
source_url = "https://github.com/mozilla-firefox/firefox"
82+
branch_pattern = "autoland"
83+
destination_url = "https://hg.mozilla.org/integration/autoland/"
84+
destination_branch = "default"

0 commit comments

Comments
 (0)
Failed to load comments.