https://pantsbuild.org/ logo
r

red-balloon-89377

04/09/2019, 4:04 PM
Just a random question, what is the
CACHE_NAME
env var used for in
.travis.yml.mustache
? Can I override it if I want to create more shards? (sth like
CACHE_NAME=cronjob{{.}}.with_feature
)
w

witty-crayon-22786

04/09/2019, 4:47 PM
you don't need to override it, but if you do, shards with different cache names will not collide
(the default is that all shards have the same cache name)
r

red-balloon-89377

04/09/2019, 5:03 PM
Cool, thanks!
h

hundreds-father-404

04/09/2019, 5:17 PM
You’re strongly encouraged to use a unique cache name for each shard to avoid cache weirdness / ensure hermetic builds
r

red-balloon-89377

04/09/2019, 5:18 PM
Unique within that travis build, right?
== unique within
.travis.yml
👍 1
3 Views