index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2020-04-02 19:24:58.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2020-04-02 19:24:58.0 +00:00:00
commit
debb38b9c26e74c6f3024fadd1ccc05b8ebddce9 [patch]
tree
34ce15d30812433f0d4245680f4cfa36b6a4a269
parent
bb15a6da197d24094dd85875c91cc0e117f647cf
download
debb38b9c26e74c6f3024fadd1ccc05b8ebddce9.tar.gz

refactor: add cache volume for cargo



Diff

 .drone.yml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/.drone.yml b/.drone.yml
index a5762a9..39a17fd 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -13,6 +13,8 @@ steps:
  volumes:
    - name: cache
      path: /cache
    - name: cargo-cache
      path: /home/rust/.cargo
  settings:
    restore: true
    mount:
@@ -30,6 +32,8 @@ steps:
  volumes:
    - name: cache
      path: /cache
    - name: cargo-cache
      path: /home/rust/.cargo
  settings:
    rebuild: true
    mount:
@@ -41,6 +45,9 @@ volumes:
  - name: cache
    host:
      path: /tmp/cache
  - name: cargo-cache
    host:
      path: /tmp/cargo-cache

trigger:
  event:
@@ -57,6 +64,22 @@ trigger:
---
kind: pipeline
type: docker
name: production

platform:
  os: linux
  arch: amd64

steps:
- name: release
  image: joseluisq/rust-linux-darwin-builder:1.41.1
  commands:
    - make test


---
kind: pipeline
type: docker
name: notification

platform: