From b25885bae3edb381cd1e8146ef39ce0711ec1eaf Mon Sep 17 00:00:00 2001 From: pat-s Date: Mon, 25 May 2026 22:57:21 +0200 Subject: [PATCH] refactor(ci): use multi-R-version image in archive-missed-packages Drop the R-version suffix from the image tag and invoke R via the explicit /opt/R/${R_VERSION}/bin/R path. The image OS does not matter for this workflow; it stays on alpine:3.23. --- .crow/archive-missed-packages.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.crow/archive-missed-packages.yaml b/.crow/archive-missed-packages.yaml index 1077b7d..e033f88 100644 --- a/.crow/archive-missed-packages.yaml +++ b/.crow/archive-missed-packages.yaml @@ -36,7 +36,7 @@ matrix: steps: - name: 'Archive missed packages' - image: reg.devxy.io/rpkgs/build-env-alpine:3.23-4.5 + image: reg.devxy.io/rpkgs/build-env-alpine:3.23 pull: true environment: RED_HAT_DEV_PW: @@ -53,10 +53,11 @@ steps: from_secret: GITHUB_PAT # normal env vars GIT_USER: pat-s + R_VERSION: 4.5.3 commands: - - R -q -e 'pak::pak("git::https://codefloe.com/rpkgs/bincraft.git", dependencies = TRUE)' - - R -q -e 'packageVersion("bincraft")' - - R -q -e 'bincraft::process_unarchived_pkgs(Sys.getenv("CODENAME"), Sys.getenv("ARCH"), workers = 2L)' + - /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 'bincraft::process_unarchived_pkgs(Sys.getenv("CODENAME"), Sys.getenv("ARCH"), workers = 2L)' backend_options: kubernetes: resources: