feat: parallelize package index update
This commit is contained in:
parent
37a48b8b81
commit
a90d6b8431
1 changed files with 47 additions and 47 deletions
|
|
@ -27,16 +27,16 @@ steps:
|
|||
# - rm -rf /mnt/cache/packages/*
|
||||
- R -q -e 'pak::pak("git::https://gitlab.com/devxy/r-package-binaries/bincraftr.git")'
|
||||
- cd /mnt/cache/packages
|
||||
- R -q -e 'options(crayon.enabled = TRUE); library(bincraftR); future::plan("multisession", workers = 2); library(progressr); handlers(global = TRUE); handlers("progress"); upload_package_index()'
|
||||
- R -q -e 'options(crayon.enabled = TRUE); library(bincraftR); future::plan("multisession", workers = future::availableCores()); library(progressr); handlers(global = TRUE); handlers("progress"); upload_package_index()'
|
||||
backend_options:
|
||||
kubernetes:
|
||||
resources:
|
||||
requests:
|
||||
memory: 2000Mi
|
||||
memory: 3000Mi
|
||||
cpu: 2000m
|
||||
limits:
|
||||
memory: 2000Mi
|
||||
cpu: 2000m
|
||||
memory: 3000Mi
|
||||
cpu: 8000m
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: 'amd64'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue