Change cache key for dependencies

This commit is contained in:
kolaente 2020-12-08 19:21:21 +01:00
parent 935a75cac1
commit b4e0e7e2f6
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -25,6 +25,7 @@ steps:
endpoint: https://s3.fr-par.scw.cloud endpoint: https://s3.fr-par.scw.cloud
region: fr-par region: fr-par
path_style: true path_style: true
cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
mount: mount:
- '.cache' - '.cache'
@ -53,6 +54,7 @@ steps:
endpoint: https://s3.fr-par.scw.cloud endpoint: https://s3.fr-par.scw.cloud
region: fr-par region: fr-par
path_style: true path_style: true
cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
mount: mount:
- '.cache' - '.cache'
depends_on: depends_on:
@ -109,6 +111,7 @@ steps:
endpoint: https://s3.fr-par.scw.cloud endpoint: https://s3.fr-par.scw.cloud
region: fr-par region: fr-par
path_style: true path_style: true
cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
mount: mount:
- '.cache' - '.cache'
@ -178,6 +181,7 @@ steps:
endpoint: https://s3.fr-par.scw.cloud endpoint: https://s3.fr-par.scw.cloud
region: fr-par region: fr-par
path_style: true path_style: true
cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
mount: mount:
- '.cache' - '.cache'