From 889c5c993f73cf49e584b48f65ea8a2b0f21bdb7 Mon Sep 17 00:00:00 2001 From: light7734 Date: Mon, 14 Oct 2024 21:23:09 +0330 Subject: [PATCH] cicd: mount .conan2 directory to cache 3rd-party libs --- .drone.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.drone.yml b/.drone.yml index 18bc9be..f0e9f70 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,9 +13,15 @@ volumes: - name: dockersock host: path: /var/run/docker.sock + - name: py temp: {} +- name: conan + host: + path: $HOME/.conan2/ + + services: - name: docker image: docker:dind @@ -41,6 +47,7 @@ steps: volumes: - name: py path: /opt/venv/ + commands: - . /opt/venv/bin/activate - uname -a @@ -59,6 +66,9 @@ steps: volumes: - name: py path: /opt/venv/ + - name: conan + path: $HOME/.conan2 + commands: - . /opt/venv/bin/activate - rm -rvf ./build @@ -78,6 +88,9 @@ steps: volumes: - name: py path: /opt/venv/ + - name: conan + path: $HOME/.conan2 + commands: - . /opt/venv/bin/activate - rm -rvf ./build