Enable Drone CI cache
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
caad081edb
commit
2ad7977176
26
.drone.yml
26
.drone.yml
|
@ -1,7 +1,18 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: restore-cache
|
||||
image: drillster/drone-volume-cache
|
||||
settings:
|
||||
restore: true
|
||||
mount:
|
||||
- ./caches/
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /root/.gradle
|
||||
|
||||
- name: fetch-tags
|
||||
image: drone/git:latest
|
||||
commands:
|
||||
|
@ -26,3 +37,18 @@ steps:
|
|||
# from_secret: sonar_host
|
||||
# sonar_token:
|
||||
# from_secret: sonar_token
|
||||
|
||||
- name: rebuild-cache
|
||||
image: drillster/drone-volume-cache
|
||||
settings:
|
||||
rebuild: true
|
||||
mount:
|
||||
- ./caches/
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /root/.gradle
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
host:
|
||||
path: /share/CACHEDEV1_DATA/homes/admin/drone/cache/gradle
|
||||
|
|
Loading…
Reference in New Issue
Block a user