PageRenderTime 53ms CodeModel.GetById 26ms RepoModel.GetById 1ms app.codeStats 0ms

/mozilla-tests/project_branches.py

https://github.com/catlee/buildbot-configs
Python | 390 lines | 380 code | 0 blank | 10 comment | 0 complexity | ea9644b69398e9052996ef9b59df0681 MD5 | raw file
  1. # noinspection PyInterpreter
  2. PROJECT_BRANCHES = {
  3. ### PLEASE ADD NEW BRANCHES ALPHABETICALLY (twigs at the bottom, also alphabetically)
  4. # 'build-system': {}, # Bug 1010674
  5. 'fx-team': {
  6. 'merge_builds': False,
  7. 'enable_perproduct_builds': True,
  8. 'repo_path': 'integration/fx-team',
  9. 'mozconfig_dir': 'mozilla-central',
  10. 'enable_nightly': False,
  11. 'pgo_strategy': 'periodic',
  12. 'periodic_start_hours': range(2, 24, 3),
  13. },
  14. 'mozilla-inbound': {
  15. 'merge_builds': False,
  16. 'repo_path': 'integration/mozilla-inbound',
  17. 'enable_perproduct_builds': True,
  18. 'mozconfig_dir': 'mozilla-central',
  19. 'pgo_strategy': 'periodic',
  20. 'periodic_start_hours': range(1, 24, 3),
  21. 'talos_suites': {
  22. 'xperf': 1,
  23. },
  24. 'branch_projects': ['spidermonkey_tier_1', 'spidermonkey_info'],
  25. },
  26. 'b2g-inbound': {
  27. 'merge_builds': False,
  28. 'repo_path': 'integration/b2g-inbound',
  29. 'enable_perproduct_builds': True,
  30. 'mozconfig_dir': 'mozilla-central',
  31. 'pgo_strategy': None,
  32. 'talos_suites': {
  33. 'xperf': 1,
  34. },
  35. 'platforms': {
  36. 'win32': {
  37. 'enable_checktests': False,
  38. 'slave_platforms': ['win7-ix'],
  39. 'talos_slave_platforms': ['win7-ix'],
  40. },
  41. 'win32-debug': {
  42. 'enable_checktests': False,
  43. 'slave_platforms': ['win7-ix'],
  44. },
  45. 'macosx64': {
  46. 'enable_checktests': False,
  47. 'slave_platforms': ['snowleopard'],
  48. 'talos_slave_platforms': ['snowleopard'],
  49. },
  50. 'macosx64-debug': {
  51. 'enable_checktests': False,
  52. 'slave_platforms': ['snowleopard'],
  53. },
  54. },
  55. },
  56. #'services-central': {}, # Bug 1010674
  57. # 'alder': {},
  58. # Bug 1252292 - Schedule e10s tests on Ash for all desktop platforms
  59. 'ash': {
  60. 'enable_talos': False,
  61. 'enable_valgrind': False,
  62. 'lock_platforms': True,
  63. 'merge_builds': False,
  64. 'periodic_start_hours': range(9, 0, 12),
  65. 'pgo_strategy': 'periodic',
  66. 'platforms': {
  67. 'linux': {
  68. 'slave_platforms': ['ubuntu32_vm'],
  69. },
  70. 'linux-debug': {
  71. 'slave_platforms': ['ubuntu32_vm'],
  72. },
  73. 'linux64': {
  74. 'slave_platforms': ['ubuntu64_vm'],
  75. },
  76. 'linux64-asan': {
  77. 'slave_platforms': ['ubuntu64-asan_vm'],
  78. },
  79. 'linux64-debug': {
  80. 'slave_platforms': ['ubuntu64_vm'],
  81. },
  82. 'macosx64': {
  83. 'slave_platforms': ['yosemite_r7'],
  84. },
  85. 'macosx64-debug': {
  86. 'slave_platforms': ['yosemite_r7'],
  87. },
  88. 'win32': {},
  89. 'win32-debug': {},
  90. 'win64': {},
  91. 'win64-debug': {},
  92. },
  93. },
  94. #'birch': {}, # Bug 1010674
  95. 'cedar': {
  96. 'enable_perproduct_builds': False,
  97. 'mozharness_tag': 'default',
  98. 'enable_talos': True,
  99. 'talos_suites': {
  100. 'xperf': 1,
  101. },
  102. 'enable_opt_unittests': True,
  103. 'mobile_platforms': {
  104. 'android-x86': {
  105. 'enable_opt_unittests': True,
  106. },
  107. },
  108. },
  109. 'cypress': {
  110. 'lock_platforms': True,
  111. 'platforms': {
  112. # Limit Firefox to none for Bug 787208
  113. },
  114. },
  115. 'date': {
  116. 'desktop_mozharness_builds_enabled': True,
  117. 'use_mozharness_repo_cache': False,
  118. 'branch_projects': [],
  119. 'enable_opt_unittests': True,
  120. 'enable_debug_unittests': True,
  121. 'lock_platforms': True,
  122. 'platforms': {
  123. 'linux': {
  124. 'dep_signing_servers': 'release-signing',
  125. },
  126. 'linux64': {
  127. 'dep_signing_servers': 'release-signing',
  128. },
  129. 'macosx64': {
  130. 'dep_signing_servers': 'release-signing',
  131. },
  132. 'win32': {
  133. 'dep_signing_servers': 'release-signing',
  134. },
  135. 'win64': {
  136. 'dep_signing_servers': 'release-signing',
  137. },
  138. 'linux-debug': {},
  139. 'linux64-debug': {},
  140. 'linux64-asan': {},
  141. 'linux64-asan-debug': {},
  142. 'macosx64-debug': {},
  143. 'win32-debug': {},
  144. 'win64-debug': {},
  145. },
  146. 'enable_valgrind': False,
  147. 'pgo_strategy': 'per-checkin',
  148. 'enable_release_promotion': True,
  149. 'build_tools_repo_path': 'users/raliiev_mozilla.com/tools',
  150. 'partners_repo_path': 'build/partner-repacks',
  151. 'partner_repack_platforms': ('linux', 'linux64', 'win32', 'win64', 'macosx64'),
  152. "release_platforms": ("linux", "linux64", "win32", "win64", "macosx64"),
  153. "l10n_release_platforms": ("linux", "linux64", "win32", "win64", "macosx64"),
  154. "single_locale_branch_config": "dev-mozilla-beta",
  155. "release_channel_mappings": [["^.*$", ["beta-dev"]]],
  156. # temp balrog
  157. 'balrog_api_root': 'http://ec2-54-241-39-23.us-west-1.compute.amazonaws.com:443/api',
  158. 'funsize_balrog_api_root': 'http://ec2-54-241-39-23.us-west-1.compute.amazonaws.com:443/api',
  159. 'tuxedoServerUrl': 'https://admin-bouncer.stage.mozaws.net/api',
  160. 'bouncer_submitter_config': {
  161. "firefox": "releases/bouncer_firefox_beta.py",
  162. # TODO - fennec
  163. "fennec": "",
  164. },
  165. 'bouncer_enabled': True,
  166. 'postrelease_version_bump_enabled': True,
  167. 'postrelease_version_bump_config': {
  168. "firefox": 'releases/dev_postrelease_firefox_beta.py',
  169. # TODO - fennec
  170. "fennec": "",
  171. },
  172. 'postrelease_bouncer_aliases_enabled': True,
  173. 'postrelease_bouncer_aliases_config': {
  174. "firefox": 'releases/dev_bouncer_firefox_beta.py',
  175. # TODO - fennec
  176. "fennec": "",
  177. },
  178. 'push_to_candidates_enabled': True,
  179. 'updates_config': {
  180. "firefox": 'releases/dev_updates_firefox_beta.py',
  181. # TODO - fennec
  182. "fennec": "",
  183. },
  184. 'update_verify_chunks': 6,
  185. 'beetmover_credentials': '/builds/dev-beetmover-s3.credentials',
  186. 'beetmover_buckets': {
  187. 'firefox': 'net-mozaws-stage-delivery-firefox',
  188. # TODO - add fennec support
  189. # 'fennec': 'net-mozaws-stage-delivery-archive',
  190. },
  191. 'stage_product': {
  192. 'firefox': 'firefox',
  193. 'fennec': 'mobile',
  194. },
  195. 'push_to_releases_automatic': False,
  196. 'merge_builds': False,
  197. 'partner_repacks_platforms': ("linux", "linux64", "win32", "win64", "macosx64"),
  198. 'partner_repack_config': {
  199. "firefox": {
  200. "script_name": "scripts/desktop_partner_repacks.py",
  201. "extra_args": [
  202. "--cfg", "partner_repacks/release_mozilla-release_desktop.py",
  203. "--s3cfg", "/builds/partners-s3cfg",
  204. ],
  205. },
  206. # TODO - add fennec support
  207. # 'fennec': {}
  208. },
  209. },
  210. 'elm': {
  211. 'branch_projects': [],
  212. 'enable_talos': True,
  213. 'enable_valgrind': False,
  214. 'lock_platforms': True,
  215. 'platforms': {
  216. # dep signing with nightly key, see bug 1176152
  217. 'linux': {
  218. 'dep_signing_servers': 'nightly-signing',
  219. },
  220. 'linux64': {
  221. 'dep_signing_servers': 'nightly-signing',
  222. },
  223. 'linux-debug': {},
  224. 'linux64-debug': {},
  225. },
  226. },
  227. # Disabled by Bug 1135702
  228. # 'fig': {},
  229. # Disabled by Bug 1206269
  230. # 'gum': {},
  231. # disabled in bug 1215527
  232. # 'holly': {},
  233. 'jamun': {
  234. 'desktop_mozharness_builds_enabled': True,
  235. 'use_mozharness_repo_cache': False,
  236. 'branch_projects': [],
  237. ## TODO - enabled tests.
  238. # note - to enable tests you must also remove:
  239. # platforms[platform]["slave_platforms"] item override below
  240. 'enable_opt_unittests': False,
  241. 'enable_debug_unittests': False,
  242. 'enable_talos': False,
  243. ##
  244. 'lock_platforms': True,
  245. 'platforms': {
  246. # use default 'dep-signing' for now while in development
  247. 'linux': {
  248. # 'dep_signing_servers': 'release-signing',
  249. "slave_platforms": [],
  250. },
  251. 'linux64': {
  252. # 'dep_signing_servers': 'release-signing',
  253. "slave_platforms": [],
  254. },
  255. 'win32': {
  256. # 'dep_signing_servers': 'release-signing',
  257. "slave_platforms": [],
  258. },
  259. 'win64': {
  260. # 'dep_signing_servers': 'release-signing',
  261. "slave_platforms": [],
  262. },
  263. 'macosx64': {
  264. # 'dep_signing_servers': 'release-signing',
  265. "slave_platforms": [],
  266. },
  267. 'linux-debug': {
  268. "slave_platforms": [],
  269. },
  270. 'linux64-debug': {
  271. "slave_platforms": [],
  272. },
  273. 'linux64-asan': {
  274. "slave_platforms": [],
  275. },
  276. 'linux64-asan-debug': {
  277. "slave_platforms": [],
  278. },
  279. 'macosx64-debug': {
  280. "slave_platforms": [],
  281. },
  282. 'win32-debug': {
  283. "slave_platforms": [],
  284. },
  285. 'win64-debug': {
  286. "slave_platforms": [],
  287. },
  288. },
  289. 'enable_valgrind': False,
  290. 'pgo_strategy': 'per-checkin',
  291. 'enable_release_promotion': True,
  292. 'build_tools_repo_path': 'users/raliiev_mozilla.com/tools',
  293. 'partners_repo_path': 'build/partner-repacks',
  294. 'partner_repack_platforms': ('linux', 'linux64', 'win32', 'win64', 'macosx64'),
  295. "release_platforms": ("linux", "linux64", "win32", "win64", "macosx64"),
  296. "l10n_release_platforms": ("linux", "linux64", "win32", "win64", "macosx64"),
  297. "single_locale_branch_config": "dev-mozilla-release",
  298. "release_channels_mappings": [
  299. [r"^\d+\.0$", ["beta-dev", "release-dev"]], # RC, 45.0
  300. [r"^\d+\.\d+\.\d+$", ["release-dev"]], # Other (dot releaseas), 45.0.4
  301. ],
  302. # TODO - define only one place that dictates which channels require mirrors.
  303. # in other words - pass this to releasetasks mozharness updates.py call in task def and
  304. # remove mozharness config's 'requires_mirrors' item.
  305. "mirror_requiring_channels": ['release-dev'],
  306. # temp balrog
  307. 'balrog_api_root': 'http://ec2-54-241-39-23.us-west-1.compute.amazonaws.com:443/api',
  308. 'funsize_balrog_api_root': 'http://ec2-54-241-39-23.us-west-1.compute.amazonaws.com:443/api',
  309. 'tuxedoServerUrl': 'https://admin-bouncer.stage.mozaws.net/api',
  310. 'bouncer_submitter_config': {
  311. "firefox": "releases/bouncer_firefox_release.py",
  312. # TODO - fennec
  313. "fennec": "",
  314. },
  315. 'bouncer_enabled': True,
  316. 'postrelease_version_bump_enabled': True,
  317. 'postrelease_version_bump_config': {
  318. "firefox": 'releases/dev_postrelease_firefox_release.py',
  319. # TODO - fennec
  320. "fennec": "",
  321. },
  322. 'postrelease_bouncer_aliases_enabled': True,
  323. 'postrelease_bouncer_aliases_config': {
  324. "firefox": 'releases/dev_bouncer_firefox_beta.py',
  325. # TODO - fennec
  326. "fennec": "",
  327. },
  328. 'push_to_candidates_enabled': True,
  329. 'updates_config': {
  330. "firefox": 'releases/dev_updates_firefox_release.py',
  331. # TODO - fennec
  332. "fennec": "",
  333. },
  334. 'update_verify_chunks': 6,
  335. 'beetmover_credentials': '/builds/dev-beetmover-s3.credentials',
  336. 'beetmover_buckets': {
  337. 'firefox': 'net-mozaws-stage-delivery-firefox',
  338. # TODO - add fennec support
  339. # 'fennec': 'net-mozaws-stage-delivery-archive',
  340. },
  341. 'stage_product': {
  342. 'firefox': 'firefox',
  343. 'fennec': 'mobile',
  344. },
  345. 'push_to_releases_automatic': False,
  346. 'merge_builds': False,
  347. },
  348. 'larch': {
  349. 'lock_platforms': True,
  350. 'platforms': {
  351. },
  352. },
  353. # disabled in bug 1215527
  354. # 'maple': {},
  355. # customizations for integration work for bugs 481815 and 307181
  356. 'oak': {
  357. 'enable_nightly': True,
  358. 'updates_enabled': True,
  359. 'create_partial': True,
  360. 'enable_talos': False,
  361. 'pgo_strategy': 'periodic',
  362. 'platforms': {
  363. 'linux': {
  364. 'nightly_signing_servers': 'nightly-signing',
  365. },
  366. 'linux64': {
  367. 'nightly_signing_servers': 'nightly-signing',
  368. },
  369. 'macosx64': {
  370. 'nightly_signing_servers': 'nightly-signing',
  371. },
  372. 'win32': {
  373. 'nightly_signing_servers': 'nightly-signing',
  374. },
  375. 'win64': {
  376. 'nightly_signing_servers': 'nightly-signing',
  377. },
  378. },
  379. },
  380. # Not needed whilst booked for bug 929203.
  381. #'pine': {}
  382. }
  383. # All is the default
  384. ACTIVE_PROJECT_BRANCHES = PROJECT_BRANCHES.keys()
  385. # Load up project branches' local values
  386. for branch in PROJECT_BRANCHES.keys():
  387. PROJECT_BRANCHES[branch]['tinderbox_tree'] = PROJECT_BRANCHES[branch].get('tinderbox_tree', branch.title())
  388. PROJECT_BRANCHES[branch]['mobile_tinderbox_tree'] = PROJECT_BRANCHES[branch].get('mobile_tinderbox_tree', branch.title())