update
This commit is contained in:
parent
f2f5902d79
commit
2dee3e86bd
1 changed files with 51 additions and 12 deletions
39
.drone.yml
39
.drone.yml
|
@ -3,10 +3,28 @@ type: docker
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: restore-cache-with-filesystem
|
||||
image: meltwater/drone-cache:dev
|
||||
pull: true
|
||||
settings:
|
||||
backend: "filesystem"
|
||||
restore: true
|
||||
cache_key: "volume"
|
||||
archive_format: "gzip"
|
||||
debug: true
|
||||
# filesystem_cache_root: "/tmp/cache"
|
||||
mount:
|
||||
- 'vendor'
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /tmp/cache
|
||||
|
||||
- name: build
|
||||
image: gradle:jdk17
|
||||
commands:
|
||||
- gradle assemble --stacktrace
|
||||
- ls
|
||||
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
|
@ -15,3 +33,24 @@ steps:
|
|||
api_key:
|
||||
from_secret: api_key
|
||||
prerelease: true
|
||||
|
||||
- name: rebuild-cache-with-filesystem
|
||||
image: meltwater/drone-cache:dev
|
||||
pull: true
|
||||
settings:
|
||||
backend: "filesystem"
|
||||
rebuild: true
|
||||
cache_key: "volume"
|
||||
archive_format: "gzip"
|
||||
debug: true
|
||||
# filesystem_cache_root: "/tmp/cache"
|
||||
mount:
|
||||
- 'vendor'
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /tmp/cache
|
||||
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
temp: {}
|
Loading…
Reference in a new issue