First shot at cache
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Olivier 'reivilibre' 2021-08-02 11:01:16 +01:00
parent 4b6f1838dd
commit 5451fc492a
1 changed files with 18 additions and 0 deletions

View File

@ -7,6 +7,15 @@ platform:
arch: arm64
steps:
- name: restore cache
image: meltwater/drone-cache:dev
settings:
backend: "sftp"
restore: true
archive_format: "gzip"
mount:
- 'vendor'
- name: unit tests
image: rust:1.49.0-slim
commands:
@ -41,3 +50,12 @@ steps:
- chmod u=rw,go= /tmp/rsync_key
- rsync -e 'ssh -i /tmp/rsync_key -o "UserKnownHostsFile ../.ci/known_hosts"' -vaz --delete ./book/ space_docs_librepush_net@sallie.librepush.net:./public/yama
- rm /tmp/rsync_key
- name: rebuild cache
image: meltwater/drone-cache:dev
settings:
backend: "sftp"
rebuild: true
archive_format: "gzip"
mount:
- 'vendor'