use mountless update-packages steps
This commit is contained in:
parent
16e70f8a11
commit
12deb4edd5
1 changed files with 23 additions and 37 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue