From 5c88b2bc3762fbb53de7b7a34949108377e02c92 Mon Sep 17 00:00:00 2001 From: pat-s Date: Mon, 25 May 2026 23:02:21 +0200 Subject: [PATCH] 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. --- build-all-versions-install-deps.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build-all-versions-install-deps.yaml b/build-all-versions-install-deps.yaml index d7c0180..afcbb58 100644 --- a/build-all-versions-install-deps.yaml +++ b/build-all-versions-install-deps.yaml @@ -17,7 +17,7 @@ # steps: # - 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 # environment: # REPO_RO_TOKEN: @@ -40,11 +40,11 @@ # - git clone -q https://pat-s:$$REPO_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 /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")' -# # - 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 '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 'pak::pak("git::https://codefloe.com/rpkgs/bincraft.git", dependencies = TRUE)' +# - /opt/R/${R_VERSION}/bin/R -q -e 'packageVersion("bincraft")' +# # - /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')" +# - /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: # kubernetes: # resources: