parent
63316314aa
commit
81c0d5e00b
|
@ -7,7 +7,7 @@ pipeline:
|
||||||
endpoint: https://s3.roosens.me
|
endpoint: https://s3.roosens.me
|
||||||
access_key: ${S3_USER}
|
access_key: ${S3_USER}
|
||||||
secret_key: ${S3_PASSWORD}
|
secret_key: ${S3_PASSWORD}
|
||||||
root: /build-cache
|
root: build-cache/
|
||||||
restore: true
|
restore: true
|
||||||
|
|
||||||
secrets: [ s3_user, s3_password ]
|
secrets: [ s3_user, s3_password ]
|
||||||
|
@ -60,14 +60,13 @@ pipeline:
|
||||||
endpoint: https://s3.roosens.me
|
endpoint: https://s3.roosens.me
|
||||||
access_key: ${S3_USER}
|
access_key: ${S3_USER}
|
||||||
secret_key: ${S3_PASSWORD}
|
secret_key: ${S3_PASSWORD}
|
||||||
root: build-cache
|
root: build-cache/
|
||||||
rebuild: true
|
rebuild: true
|
||||||
path_style: true
|
|
||||||
mount:
|
mount:
|
||||||
- target
|
- target
|
||||||
- web/node_modules
|
- web/node_modules
|
||||||
|
|
||||||
secrets: [ s3_endpoint, s3_user, s3_password ]
|
secrets: [ s3_user, s3_password ]
|
||||||
# Push the cache, even on failure
|
# Push the cache, even on failure
|
||||||
when:
|
when:
|
||||||
status: [ success, failure ]
|
status: [ success, failure ]
|
||||||
|
@ -75,16 +74,15 @@ pipeline:
|
||||||
flush-cache:
|
flush-cache:
|
||||||
image: plugins/s3-cache
|
image: plugins/s3-cache
|
||||||
|
|
||||||
endpoint: ${S3_ENDPOINT}
|
endpoint: https://s3.roosens.me
|
||||||
access_key: ${S3_USER}
|
access_key: ${S3_USER}
|
||||||
secret_key: ${S3_PASSWORD}
|
secret_key: ${S3_PASSWORD}
|
||||||
root: build-cache
|
root: build-cache/
|
||||||
flush: true
|
flush: true
|
||||||
path_style: 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_endpoint, s3_user, s3_password ]
|
secrets: [ s3_user, s3_password ]
|
||||||
# Push the cache, even on failure
|
# Push the cache, even on failure
|
||||||
when:
|
when:
|
||||||
status: [ success, failure ]
|
status: [ success, failure ]
|
||||||
|
|
Loading…
Reference in New Issue