refactor: keep commented build-all-versions-install-deps example in sync
Mirror the multi-R-version image refactor in the commented-out template so the example remains faithful to active .crow workflows.
This commit is contained in:
parent
e221e89119
commit
5c88b2bc37
1 changed files with 6 additions and 6 deletions
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
# steps:
|
# steps:
|
||||||
# - name: 'Install common R deps'
|
# - name: 'Install common R deps'
|
||||||
# image: reg.devxy.io/rpkgs/build-env-${OS}:${OS_VERSION}-${R_VERSION}
|
# image: reg.devxy.io/rpkgs/build-env-${OS}:${OS_VERSION}
|
||||||
# pull: true
|
# pull: true
|
||||||
# environment:
|
# environment:
|
||||||
# REPO_RO_TOKEN:
|
# REPO_RO_TOKEN:
|
||||||
|
|
@ -40,11 +40,11 @@
|
||||||
# - git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
|
# - git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
|
||||||
# - mkdir -p /mnt/cache/R-pkgs
|
# - mkdir -p /mnt/cache/R-pkgs
|
||||||
# - rm -rf /mnt/cache/R-pkgs/00LOCK-* /mnt/cache/R-pkgs/bincraft /mnt/cache/pkgcache
|
# - 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))'
|
# - /opt/R/${R_VERSION}/bin/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)'
|
# - /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak("git::https://codefloe.com/rpkgs/bincraft.git", dependencies = TRUE)'
|
||||||
# - R -q -e 'packageVersion("bincraft")'
|
# - /opt/R/${R_VERSION}/bin/R -q -e 'packageVersion("bincraft")'
|
||||||
# # - R -q -e "future::plan('multisession', workers = 6L); pkgs = bincraft::query_packages_without_historic_versions('alpine322', 'amd64'); saveRDS(pkgs, '/mnt/cache/pkgs_amd64.rds')"
|
# # - /opt/R/${R_VERSION}/bin/R -q -e "future::plan('multisession', workers = 6L); pkgs = bincraft::query_packages_without_historic_versions('alpine322', 'amd64'); saveRDS(pkgs, '/mnt/cache/pkgs_amd64.rds')"
|
||||||
# - R -q -e "future::plan('multisession', workers = 6L); pkgs = bincraft::query_packages_without_historic_versions('alpine323', 'arm64'); saveRDS(pkgs, '/mnt/cache/pkgs_arm64.rds')"
|
# - /opt/R/${R_VERSION}/bin/R -q -e "future::plan('multisession', workers = 6L); pkgs = bincraft::query_packages_without_historic_versions('alpine323', 'arm64'); saveRDS(pkgs, '/mnt/cache/pkgs_arm64.rds')"
|
||||||
# backend_options:
|
# backend_options:
|
||||||
# kubernetes:
|
# kubernetes:
|
||||||
# resources:
|
# resources:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue