From 92b138be08b0101c02ccad2628d459ace9a101f4 Mon Sep 17 00:00:00 2001 From: pat-s Date: Wed, 24 Jul 2024 22:28:34 +0200 Subject: [PATCH] use pvc for pkg deps --- .woodpecker/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 1e6c704..f7be1ba 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -20,6 +20,10 @@ steps: pull: true environment: GIT_USER: pat-s + # set the location of the 'pkgcache' cache dir which persists the R package dependencies needed to install the packages themselves + R_PKG_CACHE_DIR: /mnt/cache/ + volumes: + - arm-binaries-r-dep-cache:/mnt/cache commands: # download latest package version (avoid having to rebuild image every time) # rscript_startup arg: required to pass down global option to future workers https://github.com/HenrikBengtsson/future/issues/134#issuecomment-2245666169