wipe pkgcache dir
Some checks failed
ci/crow/manual/build-all-versions-install-deps Pipeline was successful
ci/crow/manual/build-all-versions/6 Pipeline failed
ci/crow/manual/build-all-versions/7 Pipeline failed
ci/crow/manual/build-all-versions/5 Pipeline failed
ci/crow/manual/build-all-versions/1 Pipeline failed
ci/crow/manual/build-all-versions/3 Pipeline failed
ci/crow/manual/build-all-versions/4 Pipeline failed
ci/crow/manual/build-all-versions/2 Pipeline failed
ci/crow/manual/build-all-versions/8 Pipeline failed
ci/crow/manual/build-all-versions/10 Pipeline failed
ci/crow/manual/build-all-versions/9 Pipeline failed
Some checks failed
ci/crow/manual/build-all-versions-install-deps Pipeline was successful
ci/crow/manual/build-all-versions/6 Pipeline failed
ci/crow/manual/build-all-versions/7 Pipeline failed
ci/crow/manual/build-all-versions/5 Pipeline failed
ci/crow/manual/build-all-versions/1 Pipeline failed
ci/crow/manual/build-all-versions/3 Pipeline failed
ci/crow/manual/build-all-versions/4 Pipeline failed
ci/crow/manual/build-all-versions/2 Pipeline failed
ci/crow/manual/build-all-versions/8 Pipeline failed
ci/crow/manual/build-all-versions/10 Pipeline failed
ci/crow/manual/build-all-versions/9 Pipeline failed
This commit is contained in:
parent
e2493de1e8
commit
1e5042548c
2 changed files with 16 additions and 17 deletions
|
|
@ -29,7 +29,7 @@ steps:
|
|||
commands:
|
||||
- git clone -q https://pat-s:$$GIT_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
|
||||
- mkdir -p /mnt/cache/R-pkgs
|
||||
- rm -rf /mnt/cache/R-pkgs/00LOCK-* /mnt/cache/R-pkgs/bincraft
|
||||
- rm -rf /mnt/cache/R-pkgs/00LOCK-* /mnt/cache/R-pkgs/bincraft /mnt/cache/pkgcache
|
||||
- R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
|
||||
- R -q -e 'pak::pak("git::https://codefloe.com/rpkgs/bincraft.git", dependencies = TRUE)'
|
||||
- R -q -e 'packageVersion("bincraft")'
|
||||
|
|
|
|||
|
|
@ -13,26 +13,26 @@ skip_clone: true
|
|||
|
||||
matrix:
|
||||
include:
|
||||
- SPLIT_INTO: 5
|
||||
- SPLIT_INTO: 10
|
||||
SPLIT_INDEX: 1
|
||||
- SPLIT_INTO: 5
|
||||
- SPLIT_INTO: 10
|
||||
SPLIT_INDEX: 2
|
||||
- SPLIT_INTO: 5
|
||||
- SPLIT_INTO: 10
|
||||
SPLIT_INDEX: 3
|
||||
- SPLIT_INTO: 5
|
||||
- SPLIT_INTO: 10
|
||||
SPLIT_INDEX: 4
|
||||
- SPLIT_INTO: 5
|
||||
- SPLIT_INTO: 10
|
||||
SPLIT_INDEX: 5
|
||||
# - SPLIT_INTO: 5
|
||||
# SPLIT_INDEX: 6
|
||||
# - SPLIT_INTO: 5
|
||||
# SPLIT_INDEX: 7
|
||||
# - SPLIT_INTO: 5
|
||||
# SPLIT_INDEX: 8
|
||||
# - SPLIT_INTO: 5
|
||||
# SPLIT_INDEX: 9
|
||||
# - SPLIT_INTO: 5
|
||||
# SPLIT_INDEX: 10
|
||||
- SPLIT_INTO: 10
|
||||
SPLIT_INDEX: 6
|
||||
- SPLIT_INTO: 10
|
||||
SPLIT_INDEX: 7
|
||||
- SPLIT_INTO: 10
|
||||
SPLIT_INDEX: 8
|
||||
- SPLIT_INTO: 10
|
||||
SPLIT_INDEX: 9
|
||||
- SPLIT_INTO: 10
|
||||
SPLIT_INDEX: 10
|
||||
|
||||
depends_on:
|
||||
- build-all-versions-install-deps
|
||||
|
|
@ -69,7 +69,6 @@ steps:
|
|||
- mkdir -p /mnt/cache/pkgcache /mnt/cache/R-pkgs /mnt/cache/ccache /mnt/cache/packages
|
||||
# Windows-only: 'RInno', 'KeyboardSimulator', 'R2PPT', 'RWinEdt', 'blatr', 'excel.link', 'spectrino', 'taskscheduleR', 'MDSGUI', 'BiplotGUI', 'R2wd', 'rFUSION', 'MediaNews', 'rFUSION', 'MediaNews'
|
||||
- xvfb-run R -q -e "options(crayon.enabled = TRUE, Ncpus = $NCPUS, future.globals.onReference = NULL); pak::sysreqs_db_update(); source('local/packages-to-build.R'); sprintf('Total# of remaining packages:%s', length(pkgs)); pkgs <- split(pkgs, cut(seq_along(pkgs), $SPLIT_INTO, labels = F))[[$SPLIT_INDEX]]; sprintf('# of packages for this job:%s', length(pkgs)); pkgs = setdiff(pkgs, c('RInno', 'KeyboardSimulator', 'R2PPT', 'RWinEdt', 'blatr', 'excel.link', 'spectrino', 'taskscheduleR', 'MDSGUI', 'BiplotGUI', 'R2wd', 'rFUSION', 'MediaNews', 'doBy', 'IDPmisc', 'frailtypack', 'afex', 'FrF2', 'DoE.base', 'agricolae', 'doFuture', 'fscaret', 'PHYLOGR', 'seewave', 'pls', 'relaimpo', 'geepack', 'gggenes', 'NPCirc', 'repmis', 'PNDSIBGE', 'lidR', 'poismf', 'neonstore', 'MachineShop', 'mvst', 'MacBehaviour', 'mcmcderive', 'RGIFT', 'KnowBR', 'netmeta', 'spdep', 'sf', 'Rfast', 'compareGroups')); library(future); plan('multisession'); foo = lapply(pkgs, function(x) bincraft::build_binary_package(x, is_debug = FALSE, force = FALSE, s3_endpoint = 'https://hel1.your-objectstorage.com', s3_region = 'hel1', s3_bucket = 'devxy-r-package-binaries-hel1', s3_access_key_id = Sys.getenv('HETZNER_S3_ACCESS_KEY_K3S'), s3_secret_access_key = Sys.getenv('HETZNER_S3_SECRET_KEY_K3S'), metadata_db_host = 'r-binaries.devxy.io', metadata_db_name = 'build_metadata', metadata_db_table = 'single_builds', metadata_db_user = 'r_binaries', metadata_db_password = Sys.getenv('PGPASS'), metadata_db_sslmode = 'require', metadata_db_port = 15432, archive = TRUE, upload = TRUE, store_build_metadata = TRUE))"
|
||||
# hanging: 'doBy', 'IDPmisc', 'frailtypack', 'afex'
|
||||
backend_options:
|
||||
kubernetes:
|
||||
resources:
|
||||
|
|
|
|||
Loading…
Reference in a new issue