update drone-ci

This commit is contained in:
unurled 2022-06-26 18:59:55 +02:00
parent e93440886c
commit ed11a10659

View file

@ -4,20 +4,15 @@ name: default
steps:
- name: restore-cache-with-filesystem
image: meltwater/drone-cache:dev
pull: true
image: drillster/drone-volume-cache
settings:
backend: "filesystem"
restore: true
cache_key: "volume"
archive_format: "gzip"
debug: true
# filesystem_cache_root: "/tmp/cache"
mount:
- 'vendor'
- ./build
- ./gradle
# Mount the cache volume, needs "Trusted"
volumes:
- name: cache
path: /tmp/cache
- /tmp/cache:/cache
- name: build
image: gradle:jdk17
@ -37,21 +32,16 @@ steps:
when:
event: tag
- name: rebuild-cache-with-filesystem
image: meltwater/drone-cache:dev
pull: true
- name: restore-cache-with-filesystem
image: drillster/drone-volume-cache
settings:
backend: "filesystem"
rebuild: true
cache_key: "volume"
archive_format: "gzip"
debug: true
# filesystem_cache_root: "/tmp/cache"
mount:
- 'vendor'
- ./build
- ./gradle
# Mount the cache volume, needs "Trusted"
volumes:
- name: cache
path: /tmp/cache
- /tmp/cache:/cache
volumes: