Fix cache configuration for releases
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
ca312ba0ac
commit
1aa2fe6765
30
.drone.yml
30
.drone.yml
|
@ -98,25 +98,26 @@ steps:
|
|||
- name: restore-cache
|
||||
image: meltwater/drone-cache:dev
|
||||
pull: true
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: cache_aws_access_key_id
|
||||
AWS_SECRET_ACCESS_KEY:
|
||||
from_secret: cache_aws_secret_access_key
|
||||
settings:
|
||||
access-key:
|
||||
from_secret: aws_access_key_id
|
||||
secret-key:
|
||||
from_secret: aws_secret_access_key
|
||||
restore: true
|
||||
bucket: kolaente.dev-drone-cache
|
||||
bucket: kolaente.dev-drone-dependency-cache
|
||||
endpoint: https://s3.fr-par.scw.cloud
|
||||
region: fr-par
|
||||
path_style: true
|
||||
mount:
|
||||
- '/cache'
|
||||
- '.cache'
|
||||
|
||||
- name: build
|
||||
image: node:13
|
||||
pull: true
|
||||
group: build-static
|
||||
environment:
|
||||
YARN_CACHE_FOLDER: /cache
|
||||
YARN_CACHE_FOLDER: .cache
|
||||
commands:
|
||||
- yarn --frozen-lockfile --network-timeout 100000
|
||||
- yarn run lint
|
||||
|
@ -166,23 +167,26 @@ steps:
|
|||
- name: restore-cache
|
||||
image: meltwater/drone-cache:dev
|
||||
pull: true
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: cache_aws_access_key_id
|
||||
AWS_SECRET_ACCESS_KEY:
|
||||
from_secret: cache_aws_secret_access_key
|
||||
settings:
|
||||
access-key:
|
||||
from_secret: aws_access_key_id
|
||||
secret-key:
|
||||
from_secret: aws_secret_access_key
|
||||
restore: true
|
||||
bucket: kolaente.dev-drone-cache
|
||||
bucket: kolaente.dev-drone-dependency-cache
|
||||
endpoint: https://s3.fr-par.scw.cloud
|
||||
region: fr-par
|
||||
path_style: true
|
||||
mount:
|
||||
- '/cache'
|
||||
- '.cache'
|
||||
|
||||
- name: build
|
||||
image: node:13
|
||||
pull: true
|
||||
group: build-static
|
||||
environment:
|
||||
YARN_CACHE_FOLDER: .cache
|
||||
commands:
|
||||
- yarn --frozen-lockfile --network-timeout 100000
|
||||
- yarn run lint
|
||||
|
|
Reference in New Issue