From 227eb62a65c766e116800453c1fd3864b5e84713 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Fri, 25 Sep 2015 11:06:27 -0400 Subject: [PATCH] Bug 1208279: use a different cache for static analysis builds; r=ehsan --HG-- extra : commitid : 5bcStOHuhVR extra : rebase_source : e15d9cd80da188f41256d658eebcc1fc9ca9865b --- testing/taskcluster/tasks/builds/opt_linux64_st-an.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/testing/taskcluster/tasks/builds/opt_linux64_st-an.yml b/testing/taskcluster/tasks/builds/opt_linux64_st-an.yml index 7cf43264c804..79805305eda9 100644 --- a/testing/taskcluster/tasks/builds/opt_linux64_st-an.yml +++ b/testing/taskcluster/tasks/builds/opt_linux64_st-an.yml @@ -1,5 +1,6 @@ $inherits: - from: 'tasks/builds/opt_linux64.yml' + # inherit clobber since we want to use a different workspace cache + from: 'tasks/builds/opt_linux64_clobber.yml' variables: build_name: 'linux64-st-an' task: @@ -7,11 +8,16 @@ task: name: '[TC] Linux64 Static Analysis Opt' description: 'Linux64 Static Analysis Opt' + scopes: + - 'docker-worker:cache:build-linux64-st-an-workspace' + routes: - 'index.buildbot.branches.{{project}}.linux64-st-an' - 'index.buildbot.revisions.{{head_rev}}.{{project}}.linux64-st-an' payload: + cache: + build-linux64-st-an-workspace: '/home/worker/workspace' env: MOZHARNESS_SCRIPT: 'mozharness/scripts/fx_desktop_build.py' MOZHARNESS_CONFIG: 'builds/releng_sub_linux_configs/64_stat_and_opt.py balrog/production.py'