bug 1422740 - Define and use a sparse profile for upload-symbols tasks. r=gps

The upload-symbols task simply runs an in-tree Python script with
`mach python` so using a sparse profile will make this a bit faster.

MozReview-Commit-ID: 5HzwMf1FZLU

--HG--
extra : rebase_source : 74046b7917ee2e2ea7be0ec24f777f5fe819ef58
This commit is contained in:
Ted Mielczarek 2017-12-07 06:08:42 -05:00
parent df253cc5c7
commit 5d703076d0
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,4 @@
%include build/sparse-profiles/mach
[include]
path:toolkit/crashreporter/tools/upload_symbols.py

View File

@ -48,6 +48,7 @@ job-template:
cd /builds/worker/checkouts/gecko &&
wget https://queue.taskcluster.net/v1/task/${ARTIFACT_TASKID}/artifacts/public/build/target.crashreporter-symbols-full.zip &&
./mach python toolkit/crashreporter/tools/upload_symbols.py target.crashreporter-symbols-full.zip
sparse-profile: upload-symbols
optimization:
only-if-dependencies-run: null
scopes: