Skip to content

Commit

Permalink
fix(python): scope checkout caches to the specific project
Browse files Browse the repository at this point in the history
Since the template uses the `mozilla` trust domain, it's expected for
workers to run tasks for multiple unrelated projects. Therefore we don't
want to share a checkout cache between them (and especially not call
them all `src`).

This scopes the checkout cache to just the specific project as well as
renames it from `src` -> `${project}`.
  • Loading branch information
ahal committed Oct 25, 2023
1 parent fff6710 commit a52337c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ tasks:
ACTION_CALLBACK: '${action.cb_name}'

cache:
"${trustDomain}-level-${level}-checkouts-sparse-v2": /builds/worker/checkouts
"${trustDomain}-project-${project}-level-${level}-checkouts-sparse-v2": /builds/worker/checkouts

features:
taskclusterProxy: true
Expand Down

0 comments on commit a52337c

Please sign in to comment.