update
This commit is contained in:
parent
f2f5902d79
commit
2dee3e86bd
1 changed files with 51 additions and 12 deletions
43
.drone.yml
43
.drone.yml
|
@ -3,11 +3,29 @@ type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- 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
|
image: gradle:jdk17
|
||||||
commands:
|
commands:
|
||||||
- gradle assemble --stacktrace
|
- gradle assemble --stacktrace
|
||||||
- name: gitea_release
|
- ls
|
||||||
|
|
||||||
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
base_url: https://git.unurled.me
|
base_url: https://git.unurled.me
|
||||||
|
@ -15,3 +33,24 @@ steps:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: api_key
|
from_secret: api_key
|
||||||
prerelease: true
|
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