Bug 1186915 - Turn off more unnecessary builds on v2.1s. r=catlee
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 23 Jul 2015 11:12:48 -0400 (2015-07-23)
changeset 12701 cc8fc0e35cf5e79fe175386e9218223ad0ac4098
parent 12700 b2b9f113f2b94100018e2d7db25771015033103d
child 12704 b94ced2bb2c668017d9e1c7a5af9606dbc5f20c0
push id9085
push userryanvm@gmail.com
push dateThu, 23 Jul 2015 19:41:30 +0000 (2015-07-23)
reviewerscatlee
bugs1186915
Bug 1186915 - Turn off more unnecessary builds on v2.1s. r=catlee
mozilla/b2g_config.py
--- a/mozilla/b2g_config.py
+++ b/mozilla/b2g_config.py
@@ -43,18 +43,16 @@ GLOBAL_VARS.update({
         'emulator-l': {},
         'emulator-l-debug': {},
         'linux64-b2g-haz': {},
         'flame-kk': {},
         'flame-kk_eng': {},
         'flame-kk_eng-debug': {},
         'dolphin': {},
         'dolphin_eng': {},
-        'dolphin-512': {},
-        'dolphin-512_eng': {},
         # Graphene builds. These are a different app (ie, not B2G) and would
         # have their own config files in an ideal world, but it's not worth
         # the effort at this point.
         'linux64_graphene': {},
         'macosx64_graphene': {},
         'win64_graphene': {},
         # Horizon is a browser variant based on Graphene.
         'linux64_horizon': {},
@@ -1201,16 +1199,30 @@ for platform in PLATFORM_VARS.values():
 # All branches (not in project_branches) that are to be built MUST be listed here, along with their
 # platforms (if different from the default set).
 BRANCHES = {
     'mozilla-central': {
     },
     'mozilla-b2g34_v2_1s': {
         'gecko_version': 34,
         'b2g_version': (2, 1, 0),
+        'lock_platforms': True,
+        'platforms': {
+            'linux64-b2g-haz': {},
+            'linux64_gecko': {},
+            'linux64_gecko-debug': {},
+            'emulator': {},
+            'emulator-debug': {},
+            'emulator-kk': {},
+            'emulator-kk-debug': {},
+            'dolphin': {},
+            'dolphin_eng': {},
+            'dolphin-512': {},
+            'dolphin-512_eng': {},
+        }
     },
     'mozilla-b2g37_v2_2': {
         'gecko_version': 37,
         'b2g_version': (2, 2, 0),
     },
     'mozilla-b2g37_v2_2r': {
         'gecko_version': 37,
         'b2g_version': (2, 2, 0),
@@ -1409,37 +1421,23 @@ BRANCHES['mozilla-b2g37_v2_2r']['platfor
 BRANCHES['mozilla-b2g34_v2_1s']['repo_path'] = 'releases/mozilla-b2g34_v2_1s'
 BRANCHES['mozilla-b2g34_v2_1s']['gaia_l10n_root'] = 'https://hg.mozilla.org/releases/gaia-l10n/v2_1/'
 BRANCHES['mozilla-b2g34_v2_1s']['gecko_l10n_root'] = 'https://hg.mozilla.org/releases/l10n/mozilla-beta'
 BRANCHES['mozilla-b2g34_v2_1s']['start_hour'] = [0]
 BRANCHES['mozilla-b2g34_v2_1s']['start_minute'] = [12]
 BRANCHES['mozilla-b2g34_v2_1s']['periodic_start_minute'] = 30
 BRANCHES['mozilla-b2g34_v2_1s']['platforms']['emulator']['enable_nightly'] = False
 BRANCHES['mozilla-b2g34_v2_1s']['platforms']['emulator-debug']['enable_nightly'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['emulator-jb']['enable_nightly'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['emulator-jb-debug']['enable_nightly'] = False
 BRANCHES['mozilla-b2g34_v2_1s']['platforms']['emulator-kk']['enable_nightly'] = True
 BRANCHES['mozilla-b2g34_v2_1s']['platforms']['emulator-kk-debug']['enable_nightly'] = True
 BRANCHES['mozilla-b2g34_v2_1s']['platforms']['dolphin']['enable_nightly'] = True
 BRANCHES['mozilla-b2g34_v2_1s']['platforms']['dolphin_eng']['enable_nightly'] = True
 BRANCHES['mozilla-b2g34_v2_1s']['platforms']['dolphin-512']['enable_nightly'] = True
 BRANCHES['mozilla-b2g34_v2_1s']['platforms']['dolphin-512_eng']['enable_nightly'] = True
 BRANCHES['mozilla-b2g34_v2_1s']['platforms']['dolphin-512_eng']['enable_dep'] = True
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['macosx64_gecko']['enable_nightly'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['macosx64_gecko-debug']['enable_nightly'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['win32_gecko']['enable_nightly'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['win32_gecko-debug']['enable_nightly'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['flame-kk']['enable_periodic'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['flame-kk_eng']['enable_periodic'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['flame-kk_eng']['enable_dep'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['flame-kk_eng-debug']['enable_periodic'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['nexus-4']['enable_periodic'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['nexus-4_eng']['enable_periodic'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['nexus-5-l']['enable_periodic'] = False
-BRANCHES['mozilla-b2g34_v2_1s']['platforms']['nexus-5-l_eng']['enable_periodic'] = False
 
 ######## try
 # Try-specific configs
 # This is a path, relative to HGURL, where the repository is located
 # HGURL  repo_path should be a valid repository
 BRANCHES['try']['repo_path'] = 'try'
 BRANCHES['try']['gaia_l10n_root'] = 'https://hg.mozilla.org/gaia-l10n'
 BRANCHES['try']['gecko_l10n_root'] = 'https://hg.mozilla.org/l10n-central'
@@ -1530,24 +1528,16 @@ for branch in BRANCHES:
     if branch not in ('mozilla-b2g34_v2_1s', 'mozilla-central',
                       'mozilla-inbound', 'b2g-inbound', 'fx-team',
                       'alder'):
         if 'dolphin' in BRANCHES[branch]['platforms']:
             del BRANCHES[branch]['platforms']['dolphin']
         if 'dolphin_eng' in BRANCHES[branch]['platforms']:
             del BRANCHES[branch]['platforms']['dolphin_eng']
 
-# dolphin-512 is for selected branches only
-for branch in BRANCHES:
-    if branch not in ('mozilla-b2g34_v2_1s',):
-        if 'dolphin-512' in BRANCHES[branch]['platforms']:
-            del BRANCHES[branch]['platforms']['dolphin-512']
-        if 'dolphin-512_eng' in BRANCHES[branch]['platforms']:
-            del BRANCHES[branch]['platforms']['dolphin-512_eng']
-
 # exact rooting was enabled in gecko 32
 for name, branch in items_before(BRANCHES, 'gecko_version', 32):
     if 'linux64-b2g-haz' in branch['platforms']:
         del branch['platforms']['linux64-b2g-haz']
 
 # b2g 2.2+
 for name, branch in items_before(BRANCHES, 'gecko_version', 37):
     for p in ('emulator-l', 'emulator-l-debug'):