Bug 1290282 - Add build type to cache name; r=jonasfj
authorGregory Szorc <gps@mozilla.com>
Mon, 08 Aug 2016 16:27:50 -0700
changeset 308616 147b245de1223d4c2893cb3bf288acaa7fbfeb9b
parent 308615 8f2224b00d749462acc44d18334d8a33c742d7a3
child 308617 7545a33148f1b87ed695ed67ee880f0c36817e7d
push id30545
push usercbook@mozilla.com
push dateTue, 09 Aug 2016 13:42:31 +0000
treeherdermozilla-central@643a67968688 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonasfj
bugs1290282
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1290282 - Add build type to cache name; r=jonasfj Without this, "debug" and "opt" builds share the same cache. This causes builds to randomly fail in automation. MozReview-Commit-ID: Fend6GGmhFk
taskcluster/ci/legacy/tasks/builds/base_linux32.yml
taskcluster/ci/legacy/tasks/builds/base_linux64.yml
--- a/taskcluster/ci/legacy/tasks/builds/base_linux32.yml
+++ b/taskcluster/ci/legacy/tasks/builds/base_linux32.yml
@@ -7,22 +7,22 @@ task:
 
   routes:
     - 'index.buildbot.branches.{{project}}.linux'
     - 'index.buildbot.revisions.{{head_rev}}.{{project}}.linux'
 
   scopes:
     - 'docker-worker:cache:tooltool-cache'
     - 'docker-worker:relengapi-proxy:tooltool.download.public'
-    - 'docker-worker:cache:level-{{level}}-{{project}}-build-linux32-workspace'
+    - 'docker-worker:cache:level-{{level}}-{{project}}-build-linux32-{{build_type}}-workspace'
 
   payload:
     cache:
       tooltool-cache: '/home/worker/tooltool-cache'
-      level-{{level}}-{{project}}-build-linux32-workspace: '/home/worker/workspace'
+      level-{{level}}-{{project}}-build-linux32-{{build_type}}-workspace: '/home/worker/workspace'
 
     features:
       relengAPIProxy: true
 
     env:
       MOZHARNESS_SCRIPT: 'mozharness/scripts/fx_desktop_build.py'
       MOZHARNESS_CONFIG: 'builds/releng_base_linux_32_builds.py balrog/production.py'
       MOZHARNESS_ACTIONS: 'get-secrets build check-test generate-build-stats update'
--- a/taskcluster/ci/legacy/tasks/builds/base_linux64.yml
+++ b/taskcluster/ci/legacy/tasks/builds/base_linux64.yml
@@ -3,22 +3,22 @@
   variables:
     build_name: 'linux64'
 task:
   #workerType: ..
 
   scopes:
     - 'docker-worker:cache:tooltool-cache'
     - 'docker-worker:relengapi-proxy:tooltool.download.public'
-    - 'docker-worker:cache:level-{{level}}-{{project}}-build-{{build_name}}-workspace'
+    - 'docker-worker:cache:level-{{level}}-{{project}}-build-linux64-{{build_type}}-workspace'
 
   payload:
     cache:
       tooltool-cache: '/home/worker/tooltool-cache'
-      level-{{level}}-{{project}}-build-{{build_name}}-workspace: '/home/worker/workspace'
+      level-{{level}}-{{project}}-build-linux64-{{build_type}}-workspace: '/home/worker/workspace'
 
     features:
       relengAPIProxy: true
 
     env:
       MOZHARNESS_SCRIPT: 'mozharness/scripts/fx_desktop_build.py'
       MOZHARNESS_CONFIG: 'builds/releng_base_linux_64_builds.py balrog/production.py'
       MOZHARNESS_ACTIONS: 'get-secrets build check-test generate-build-stats update'