[#45] Let's try some other env vars
continuous-integration/drone the build failed Details

pull/72/head
Jef Roosens 2021-05-11 21:38:19 +02:00
parent 81c0d5e00b
commit 2a14703097
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 3 additions and 9 deletions

View File

@ -5,12 +5,10 @@ pipeline:
pull: true pull: true
endpoint: https://s3.roosens.me endpoint: https://s3.roosens.me
access_key: ${S3_USER}
secret_key: ${S3_PASSWORD}
root: build-cache/ root: build-cache/
restore: true restore: true
secrets: [ s3_user, s3_password ] secrets: [ cache_s3_access_key, cache_s3_secret_key ]
# =====LINTING===== # =====LINTING=====
@ -58,15 +56,13 @@ pipeline:
image: plugins/s3-cache image: plugins/s3-cache
endpoint: https://s3.roosens.me endpoint: https://s3.roosens.me
access_key: ${S3_USER}
secret_key: ${S3_PASSWORD}
root: build-cache/ root: build-cache/
rebuild: true rebuild: true
mount: mount:
- target - target
- web/node_modules - web/node_modules
secrets: [ s3_user, s3_password ] secrets: [ cache_s3_access_key, cache_s3_secret_key ]
# Push the cache, even on failure # Push the cache, even on failure
when: when:
status: [ success, failure ] status: [ success, failure ]
@ -75,14 +71,12 @@ pipeline:
image: plugins/s3-cache image: plugins/s3-cache
endpoint: https://s3.roosens.me endpoint: https://s3.roosens.me
access_key: ${S3_USER}
secret_key: ${S3_PASSWORD}
root: build-cache/ root: build-cache/
flush: true flush: true
# Delete cache older than 30 days (might lower this) # Delete cache older than 30 days (might lower this)
flush_age: 30 flush_age: 30
secrets: [ s3_user, s3_password ] secrets: [ cache_s3_access_key, cache_s3_secret_key ]
# Push the cache, even on failure # Push the cache, even on failure
when: when:
status: [ success, failure ] status: [ success, failure ]