update drone-ci
This commit is contained in:
parent
e93440886c
commit
ed11a10659
1 changed files with 11 additions and 21 deletions
32
.drone.yml
32
.drone.yml
|
@ -4,20 +4,15 @@ name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache-with-filesystem
|
- name: restore-cache-with-filesystem
|
||||||
image: meltwater/drone-cache:dev
|
image: drillster/drone-volume-cache
|
||||||
pull: true
|
|
||||||
settings:
|
settings:
|
||||||
backend: "filesystem"
|
|
||||||
restore: true
|
restore: true
|
||||||
cache_key: "volume"
|
|
||||||
archive_format: "gzip"
|
|
||||||
debug: true
|
|
||||||
# filesystem_cache_root: "/tmp/cache"
|
|
||||||
mount:
|
mount:
|
||||||
- 'vendor'
|
- ./build
|
||||||
|
- ./gradle
|
||||||
|
# Mount the cache volume, needs "Trusted"
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- /tmp/cache:/cache
|
||||||
path: /tmp/cache
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: gradle:jdk17
|
image: gradle:jdk17
|
||||||
|
@ -37,21 +32,16 @@ steps:
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
- name: rebuild-cache-with-filesystem
|
- name: restore-cache-with-filesystem
|
||||||
image: meltwater/drone-cache:dev
|
image: drillster/drone-volume-cache
|
||||||
pull: true
|
|
||||||
settings:
|
settings:
|
||||||
backend: "filesystem"
|
|
||||||
rebuild: true
|
rebuild: true
|
||||||
cache_key: "volume"
|
|
||||||
archive_format: "gzip"
|
|
||||||
debug: true
|
|
||||||
# filesystem_cache_root: "/tmp/cache"
|
|
||||||
mount:
|
mount:
|
||||||
- 'vendor'
|
- ./build
|
||||||
|
- ./gradle
|
||||||
|
# Mount the cache volume, needs "Trusted"
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- /tmp/cache:/cache
|
||||||
path: /tmp/cache
|
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue