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

--HG--
extra : rebase_source : c3370938364b1e2cc94081d58ba9f35ce1060e5d
This commit is contained in:
Gregory Szorc 2016-08-08 16:27:50 -07:00
parent 8b8d7d6178
commit 13a147d87a
2 changed files with 4 additions and 4 deletions

View File

@ -12,12 +12,12 @@ task:
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

View File

@ -8,12 +8,12 @@ task:
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