restart
This commit is contained in:
parent
eebaeada75
commit
c74b7c0625
1 changed files with 16 additions and 10 deletions
|
|
@ -5,16 +5,17 @@ skip_clone: true
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# - PLATFORM: redhat-9
|
- PLATFORM: redhat-9
|
||||||
# BLOCK: 1:1000
|
BLOCK: 1533:3500
|
||||||
# - PLATFORM: redhat-8
|
# NB: build 435 -447
|
||||||
# BLOCK: 1:1000
|
- PLATFORM: redhat-8
|
||||||
|
BLOCK: 1048:2500
|
||||||
- PLATFORM: ubuntu-2404
|
- PLATFORM: ubuntu-2404
|
||||||
BLOCK: 1:1000
|
BLOCK: 1499:1500
|
||||||
# - PLATFORM: ubuntu-2204
|
- PLATFORM: ubuntu-2204
|
||||||
# BLOCK: 1:1000
|
BLOCK: 1533:2500
|
||||||
steps:
|
steps:
|
||||||
- name: "Build binaries (${PLATFORM}: ${BLOCK})"
|
- name: 'Build binaries (${PLATFORM}: ${BLOCK})'
|
||||||
secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token]
|
secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token]
|
||||||
image: docker.io/pats22/arm-binaries-r-${PLATFORM}
|
image: docker.io/pats22/arm-binaries-r-${PLATFORM}
|
||||||
pull: true
|
pull: true
|
||||||
|
|
@ -31,7 +32,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
# download latest package version (avoid having to rebuild image every time)
|
# 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
|
# rscript_startup arg: required to pass down global option to future workers https://github.com/HenrikBengtsson/future/issues/134#issuecomment-2245666169
|
||||||
- git clone https://pat-s:$$git_ro_token@git.devxy.io/devxy/arm64-r-binaries.git .
|
- git clone https://pat-s:$$git_ro_token@git.devxy.io/devxy/arm64-r-binaries.git .
|
||||||
- rm -rf /mnt/cache/R-pkgs/00LOCK-arm64-r-binaries
|
- rm -rf /mnt/cache/R-pkgs/00LOCK-arm64-r-binaries
|
||||||
- R -q -e 'pak::pak("dyfanjones/s3fs")'
|
- R -q -e 'pak::pak("dyfanjones/s3fs")'
|
||||||
- R -q -e 'pak::local_install(); packageVersion("rBinaries")'
|
- R -q -e 'pak::local_install(); packageVersion("rBinaries")'
|
||||||
|
|
@ -45,7 +46,7 @@ steps:
|
||||||
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 6, future.globals.onReference = "error", repos = structure(c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"))); pkgs = tools::CRAN_package_db()[[1]][${BLOCK}]; library(rBinaries); future::plan("multisession", workers = 6, rscript_startup = quote(options(crayon.enabled = TRUE))); foo = lapply(pkgs, function(x) build_binary_package(x, build_for_minor=FALSE, debug = FALSE, force = TRUE, platform = "${PLATFORM}"))'
|
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 6, future.globals.onReference = "error", repos = structure(c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"))); pkgs = tools::CRAN_package_db()[[1]][${BLOCK}]; library(rBinaries); future::plan("multisession", workers = 6, rscript_startup = quote(options(crayon.enabled = TRUE))); foo = lapply(pkgs, function(x) build_binary_package(x, build_for_minor=FALSE, debug = FALSE, force = TRUE, platform = "${PLATFORM}"))'
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
### PROD
|
### PROD
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 25Gi
|
memory: 25Gi
|
||||||
|
|
@ -63,6 +64,11 @@ steps:
|
||||||
# cpu: 2000m
|
# cpu: 2000m
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: 'arm64'
|
kubernetes.io/arch: 'arm64'
|
||||||
|
tolerations:
|
||||||
|
- key: "CI"
|
||||||
|
operator: "Equal"
|
||||||
|
value: "true"
|
||||||
|
effect: "NoSchedule"
|
||||||
# - name: Upload PACKAGES files
|
# - name: Upload PACKAGES files
|
||||||
# secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token]
|
# secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token]
|
||||||
# image: docker.io/pats22/arm-binaries-r-ubi9
|
# image: docker.io/pats22/arm-binaries-r-ubi9
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue