Enable Drone CI cache
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Amab 2023-10-21 18:03:56 +02:00
parent caad081edb
commit 2ad7977176

View File

@ -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