From 67949c5afd365d8f87446ee97b3cdecec68af07a Mon Sep 17 00:00:00 2001 From: pat-s Date: Thu, 29 Aug 2024 20:09:50 +0200 Subject: [PATCH] reduce resources --- .woodpecker/update-package-index.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker/update-package-index.yaml b/.woodpecker/update-package-index.yaml index 1d7d69f..f59fd15 100644 --- a/.woodpecker/update-package-index.yaml +++ b/.woodpecker/update-package-index.yaml @@ -31,15 +31,15 @@ steps: - R -q -e 'devtools::install(); packageVersion("rBinaries")' - R -q -e 'pak::pak(c("dyfanjones/s3fs", "pat-s/desc@description-from-remote", "pat-s/cranlike@s3"))' - cd /mnt/cache/packages - - R -q -e 'options(crayon.enabled = TRUE); library(rBinaries); future::plan("multisession", workers = 15); library(progressr); handlers(global = TRUE); handlers("progress"); upload_package_index()' + - R -q -e 'options(crayon.enabled = TRUE); library(rBinaries); future::plan("multisession", workers = 4); library(progressr); handlers(global = TRUE); handlers("progress"); upload_package_index()' backend_options: kubernetes: resources: requests: - memory: 9000Mi - cpu: 8000m + memory: 5000Mi + cpu: 2000m limits: memory: 15000Mi - cpu: 16000m + cpu: 4000m nodeSelector: kubernetes.io/arch: 'arm64'