use mountless update-packages steps

This commit is contained in:
Patrick Schratz 2024-12-25 15:52:06 +01:00
commit 12deb4edd5
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -10,7 +10,7 @@ skip_clone: true
steps:
- name: Upload PACKAGES files
image: docker.io/devxygmbh/amd64-binaries-r-redhat-8
image: docker.io/devxygmbh/amd64-binaries-r-ubuntu-2404
pull: true
environment:
RED_HAT_DEV_PW:
@ -30,15 +30,13 @@ steps:
# 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/pkgcache
R_LIBS_USER: /mnt/cache/R-pkgs
volumes:
- amd64-binaries-r-dep-cache-redhat-8:/mnt/cache
commands:
- git clone https://pat-s:$$GIT_RO_TOKEN@git.devxy.io/devxy/build-binaries.git .
- rm -rf /mnt/cache/packages/*
- R -q -e 'pak::pak("git::https://gitlab.com/devxy/r-package-binaries/bincraftr.git")'
- R -q -e 'pak::pak("pat-s/cranlike@s3")'
- cd /mnt/cache/packages
- R -q -e 'options(crayon.enabled = TRUE); library(bincraftR); future::plan("multisession"); library(progressr); handlers(global = TRUE); handlers("progress"); upload_package_index()'
- R -q -e 'options(crayon.enabled = TRUE); library(bincraftR); future::plan("multisession"); library(progressr); handlers(global = TRUE); handlers("progress"); upload_package_index(codename = "rhel8")'
backend_options:
kubernetes:
resources: