Bug 1313539 - use hg cache on ephemeral drive; r=pmoore
authorRob Thijssen <rthijssen@mozilla.com>
Fri, 28 Oct 2016 10:13:58 +0100
changeset 346789 9803c0158f92e49072019847e5713acd1f0ab7bd
parent 346788 b96b2b49be987aed5d1ffa2dcc1a549b658b458a
child 346790 bb7b2d8063847be1b31867da31218a6d5b6df9db
push id10298
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:33:03 +0000
treeherdermozilla-aurora@7e29173b1641 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspmoore
bugs1313539
milestone52.0a1
Bug 1313539 - use hg cache on ephemeral drive; r=pmoore MozReview-Commit-ID: 3ibLy0Bx6t5
testing/mozharness/configs/builds/taskcluster_firefox_win32_debug.py
testing/mozharness/configs/builds/taskcluster_firefox_win32_opt.py
testing/mozharness/configs/builds/taskcluster_firefox_win64_debug.py
testing/mozharness/configs/builds/taskcluster_firefox_win64_opt.py
--- a/testing/mozharness/configs/builds/taskcluster_firefox_win32_debug.py
+++ b/testing/mozharness/configs/builds/taskcluster_firefox_win32_debug.py
@@ -36,19 +36,17 @@ config = {
             os.path.join(os.getcwd(), 'build', 'src', 'mach'),
             '--log-no-times', 'build', '-v'
         ],
     },
     'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
     # decides whether we want to use moz_sign_cmd in env
     'enable_signing': True,
     'enable_ccache': False,
-    'vcs_share_base': os.path.join(
-        os.environ['SystemDrive'], os.sep, 'builds', 'hg-shared'
-    ),
+    'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
     'objdir': 'obj-firefox',
     'tooltool_script': [
       sys.executable,
       os.path.join(os.environ['MOZILLABUILD'], 'tooltool.py')
     ],
     'tooltool_bootstrap': 'setup.sh',
     'enable_count_ctors': False,
     'max_build_output_timeout': 60 * 80,
@@ -61,19 +59,17 @@ config = {
     'platform': 'win32',
     'stage_platform': 'win32-debug',
     'debug_build': True,
     'publish_nightly_en_US_routes': True,
     'env': {
         'BINSCOPE': os.path.join(
             os.environ['ProgramFiles(x86)'], 'Microsoft', 'SDL BinScope', 'BinScope.exe'
         ),
-        'HG_SHARE_BASE_DIR': os.path.join(
-            os.environ['SystemDrive'], os.sep, 'builds', 'hg-shared'
-        ),
+        'HG_SHARE_BASE_DIR': os.path.join('y:', os.sep, 'hg-shared'),
         'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
         'MOZ_AUTOMATION': '1',
         'MOZ_CRASHREPORTER_NO_REPORT': '1',
         'MOZ_OBJDIR': 'obj-firefox',
         'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
         'TINDERBOX_OUTPUT': '1',
         'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
         'TOOLTOOL_HOME': '/c/builds',
--- a/testing/mozharness/configs/builds/taskcluster_firefox_win32_opt.py
+++ b/testing/mozharness/configs/builds/taskcluster_firefox_win32_opt.py
@@ -36,19 +36,17 @@ config = {
             os.path.join(os.getcwd(), 'build', 'src', 'mach'),
             '--log-no-times', 'build', '-v'
         ],
     },
     'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
     # decides whether we want to use moz_sign_cmd in env
     'enable_signing': True,
     'enable_ccache': False,
-    'vcs_share_base': os.path.join(
-        os.environ['SystemDrive'], os.sep, 'builds', 'hg-shared'
-    ),
+    'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
     'objdir': 'obj-firefox',
     'tooltool_script': [
       sys.executable,
       os.path.join(os.environ['MOZILLABUILD'], 'tooltool.py')
     ],
     'tooltool_bootstrap': 'setup.sh',
     'enable_count_ctors': False,
     'max_build_output_timeout': 60 * 80,
@@ -60,19 +58,17 @@ config = {
     'base_name': 'WINNT_5.2_%(branch)s',
     'platform': 'win32',
     'stage_platform': 'win32',
     'publish_nightly_en_US_routes': True,
     'env': {
         'BINSCOPE': os.path.join(
             os.environ['ProgramFiles(x86)'], 'Microsoft', 'SDL BinScope', 'BinScope.exe'
         ),
-        'HG_SHARE_BASE_DIR': os.path.join(
-            os.environ['SystemDrive'], os.sep, 'builds', 'hg-shared'
-        ),
+        'HG_SHARE_BASE_DIR': os.path.join('y:', os.sep, 'hg-shared'),
         'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
         'MOZ_AUTOMATION': '1',
         'MOZ_CRASHREPORTER_NO_REPORT': '1',
         'MOZ_OBJDIR': 'obj-firefox',
         'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
         'TINDERBOX_OUTPUT': '1',
         'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
         'TOOLTOOL_HOME': '/c/builds',
--- a/testing/mozharness/configs/builds/taskcluster_firefox_win64_debug.py
+++ b/testing/mozharness/configs/builds/taskcluster_firefox_win64_debug.py
@@ -36,19 +36,17 @@ config = {
             os.path.join(os.getcwd(), 'build', 'src', 'mach'),
             '--log-no-times', 'build', '-v'
         ],
     },
     'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
     # decides whether we want to use moz_sign_cmd in env
     'enable_signing': True,
     'enable_ccache': False,
-    'vcs_share_base': os.path.join(
-        os.environ['SystemDrive'], os.sep, 'builds', 'hg-shared'
-    ),
+    'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
     'objdir': 'obj-firefox',
     'tooltool_script': [
       sys.executable,
       os.path.join(os.environ['MOZILLABUILD'], 'tooltool.py')
     ],
     'tooltool_bootstrap': 'setup.sh',
     'enable_count_ctors': False,
     'max_build_output_timeout': 60 * 80,
@@ -58,19 +56,17 @@ config = {
      #########################################################################
      ###### 64 bit specific ######
     'base_name': 'WINNT_6.1_x86-64_%(branch)s',
     'platform': 'win64',
     'stage_platform': 'win64-debug',
     'debug_build': True,
     'publish_nightly_en_US_routes': True,
     'env': {
-        'HG_SHARE_BASE_DIR': os.path.join(
-            os.environ['SystemDrive'], os.sep, 'builds', 'hg-shared'
-        ),
+        'HG_SHARE_BASE_DIR': os.path.join('y:', os.sep, 'hg-shared'),
         'MOZ_AUTOMATION': '1',
         'MOZ_CRASHREPORTER_NO_REPORT': '1',
         'MOZ_OBJDIR': 'obj-firefox',
         'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/srcsrv/pdbstr.exe',
         'TINDERBOX_OUTPUT': '1',
         'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
         'TOOLTOOL_HOME': '/c/builds',
         'XPCOM_DEBUG_BREAK': 'stack-and-abort',
--- a/testing/mozharness/configs/builds/taskcluster_firefox_win64_opt.py
+++ b/testing/mozharness/configs/builds/taskcluster_firefox_win64_opt.py
@@ -36,19 +36,17 @@ config = {
             os.path.join(os.getcwd(), 'build', 'src', 'mach'),
             '--log-no-times', 'build', '-v'
         ],
     },
     'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
     # decides whether we want to use moz_sign_cmd in env
     'enable_signing': True,
     'enable_ccache': False,
-    'vcs_share_base': os.path.join(
-        os.environ['SystemDrive'], os.sep, 'builds', 'hg-shared'
-    ),
+    'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
     'objdir': 'obj-firefox',
     'tooltool_script': [
       sys.executable,
       os.path.join(os.environ['MOZILLABUILD'], 'tooltool.py')
     ],
     'tooltool_bootstrap': 'setup.sh',
     'enable_count_ctors': False,
     'max_build_output_timeout': 60 * 80,
@@ -57,19 +55,17 @@ config = {
 
      #########################################################################
      ###### 64 bit specific ######
     'base_name': 'WINNT_6.1_x86-64_%(branch)s',
     'platform': 'win64',
     'stage_platform': 'win64',
     'publish_nightly_en_US_routes': True,
     'env': {
-        'HG_SHARE_BASE_DIR': os.path.join(
-            os.environ['SystemDrive'], os.sep, 'builds', 'hg-shared'
-        ),
+        'HG_SHARE_BASE_DIR': os.path.join('y:', os.sep, 'hg-shared'),
         'MOZ_AUTOMATION': '1',
         'MOZ_CRASHREPORTER_NO_REPORT': '1',
         'MOZ_OBJDIR': 'obj-firefox',
         'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/srcsrv/pdbstr.exe',
         'TINDERBOX_OUTPUT': '1',
         'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
         'TOOLTOOL_HOME': '/c/builds',
         'MSYSTEM': 'MINGW32',