refactor(ci): use multi-R-version images in weekly-audit-missing workflows

Drop the R-version suffix from each image tag, add an explicit
R_VERSION env var per file, and invoke R via
/opt/R/${R_VERSION}/bin/R at every call site.

Also fixes the alpine-322 audit image, which was previously pointing
at alpine:3.23 instead of alpine:3.22. The alpine-321 audits stay on
alpine:3.23 since no 3.21 image exists in the new scheme — they only
query S3/CRAN, so the container OS does not affect correctness.
This commit is contained in:
Patrick Schratz 2026-05-25 22:48:35 +02:00
commit 816b99cfaf
Signed by: pat-s
GPG key ID: 3C6318841EF78925
16 changed files with 64 additions and 48 deletions

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
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:
B2_S3_ACCESS_KEY:
@ -27,12 +27,13 @@ steps:
PLATFORM: alpine-321
ARCH: amd64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.5.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
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:
B2_S3_ACCESS_KEY:
@ -27,12 +27,13 @@ steps:
PLATFORM: alpine-321
ARCH: arm64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.5.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -7,7 +7,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-alpine:3.23-4.5
image: reg.devxy.io/rpkgs/build-env-alpine:3.22
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -26,12 +26,13 @@ steps:
PLATFORM: alpine-322
ARCH: amd64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.5.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -7,7 +7,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-alpine:3.23-4.5
image: reg.devxy.io/rpkgs/build-env-alpine:3.22
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -25,12 +25,13 @@ steps:
PLATFORM: alpine-322
ARCH: arm64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.5.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -7,7 +7,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
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:
B2_S3_ACCESS_KEY:
@ -26,12 +26,13 @@ steps:
PLATFORM: alpine-323
ARCH: amd64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.5.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -7,7 +7,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
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:
B2_S3_ACCESS_KEY:
@ -26,12 +26,13 @@ steps:
PLATFORM: alpine-323
ARCH: arm64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.5.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-redhat:10-4.5.3
image: reg.devxy.io/rpkgs/build-env-redhat:10
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -26,12 +26,13 @@ steps:
PLATFORM: redhat-10
ARCH: amd64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.5.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-redhat:10-4.5.3
image: reg.devxy.io/rpkgs/build-env-redhat:10
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -26,12 +26,13 @@ steps:
PLATFORM: redhat-10
ARCH: arm64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.5.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-redhat:8-4.4.3
image: reg.devxy.io/rpkgs/build-env-redhat:8
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -27,12 +27,13 @@ steps:
PLATFORM: redhat-8
ARCH: amd64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.4.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-redhat:8-4.4.3
image: reg.devxy.io/rpkgs/build-env-redhat:8
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -27,12 +27,13 @@ steps:
PLATFORM: redhat-8
ARCH: arm64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.4.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-redhat:9-4.4.3
image: reg.devxy.io/rpkgs/build-env-redhat:9
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -27,12 +27,13 @@ steps:
PLATFORM: redhat-9
ARCH: amd64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.4.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-redhat:9-4.4.3
image: reg.devxy.io/rpkgs/build-env-redhat:9
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -27,12 +27,13 @@ steps:
PLATFORM: redhat-9
ARCH: arm64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.4.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-ubuntu:jammy-4.4.3
image: reg.devxy.io/rpkgs/build-env-ubuntu:jammy
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -27,12 +27,13 @@ steps:
PLATFORM: ubuntu-2204
ARCH: amd64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.4.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-ubuntu:jammy-4.4.3
image: reg.devxy.io/rpkgs/build-env-ubuntu:jammy
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -27,12 +27,13 @@ steps:
PLATFORM: ubuntu-2204
ARCH: arm64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.4.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-ubuntu:noble-4.4.3
image: reg.devxy.io/rpkgs/build-env-ubuntu:noble
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -27,12 +27,13 @@ steps:
PLATFORM: ubuntu-2404
ARCH: amd64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.4.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources:

View file

@ -8,7 +8,7 @@ skip_clone: true
steps:
- name: 'Audit missing binaries'
image: reg.devxy.io/rpkgs/build-env-ubuntu:noble-4.4.3
image: reg.devxy.io/rpkgs/build-env-ubuntu:noble
pull: true
environment:
B2_S3_ACCESS_KEY:
@ -27,12 +27,13 @@ steps:
PLATFORM: ubuntu-2404
ARCH: arm64
R_LIBS_USER: /mnt/cache/R-pkgs
R_VERSION: 4.4.3
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- R -q -e 'source("local/weekly-missing-binaries-audit.R")'
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak(c("git::https://codefloe.com/rpkgs/bincraft.git", "httr2", "jsonlite"))'
- /opt/R/${R_VERSION}/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options:
kubernetes:
resources: