refactor(ci): use multi-R-version images across workflows #70

Merged
pat-s merged 16 commits from t3code/eb891def into main 2026-05-26 08:51:27 +00:00

2026-05-26

fix(ci): quote parameterized image: values in build-all-versions workflows
Strict YAML parsers reject the colon separating ${OS} and ${OS_VERSION}
in an unquoted scalar (it looks like a mapping value). Wrap the whole
image value in double quotes to make it an unambiguous string.

Mirrors the convention already used by
build-r-minor-sensitive-packages.yaml.
2026-05-26 10:49:16 +02:00
chore: gitignore docs/ and untrack existing files
Stop tracking docs/ — the existing spec and plan files (both this PR's
multi-R-version-images set and the prior weekly-missing-binaries set)
were intermediate working artifacts that don't need to live in the
repo. Files remain on disk locally but are no longer in git.
2026-05-26 10:41:16 +02:00
fix(ci): add missing packageVersion(bincraft) diagnostic in update-package-index-redhat-8-amd64
The amd64 variant of the redhat-8 package-index workflow was missing
the packageVersion("bincraft") diagnostic line that every sibling file
(including its arm64 counterpart) runs after pak install.
2026-05-26 10:40:59 +02:00
fix(ci): correct codename rhel9 -> rhel10 in redhat-10 process-updates
The upload_package_index() call in both process-updates-redhat-10-*
files passed codename = "rhel9", which uploaded the redhat-10 index
to the rhel9 path. The companion update-package-index-redhat-10-*
files already use "rhel10" correctly.
2026-05-26 10:40:53 +02:00

2026-05-25

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.
2026-05-25 23:02:21 +02:00
refactor(justfile): use multi-R-version images in build/process recipes
Drop -{{R_VERSION}} from the image tag and invoke R via the explicit
/opt/R/{{R_VERSION}}/bin/R path in build-all, build-single, and
process-updates. Updates example comments to use current
platform/R combinations.
2026-05-25 23:01:11 +02:00
refactor(ci): use multi-R-version image in build-r-minor-sensitive-packages
Drop -${r_version} from the docker.io/devxygmbh tag and invoke R
via the explicit /opt/R/${r_version}/bin/R path (including
R CMD INSTALL). Bumps the matrix r_version values from 4.5/4.4 to
the full-patch 4.5.3/4.4.3, matching the rest of the refactor's
'always full patch' rule.
2026-05-25 22:58:57 +02:00
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.
2026-05-25 22:57:21 +02:00
refactor(ci): use multi-R-version images in update-package-index 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 repoints every update-package-index workflow at the image that
matches its own platform (was previously pinned to
build-env-ubuntu:noble-4.4 / noble-4.5 regardless of platform).
2026-05-25 22:53:50 +02:00
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.
2026-05-25 22:48:35 +02:00
refactor(ci): use multi-R-version images in weekly-rebuild-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.
2026-05-25 22:42:09 +02:00
refactor(ci): use multi-R-version images in process-updates 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 aligns ubuntu-2404 process-updates from R 4.4 to R 4.4.3,
matching the audit and rebuild counterparts.
2026-05-25 22:35:32 +02:00
docs(ci): correct R_VERSION header annotation to full patch
Header comments described R_VERSION as (4.5) but the new multi-R-version
images only ship full-patch paths (/opt/R/4.5.3/bin/R), so the minor-form
annotation is misleading. The example pipeline-create lines below the
annotation already use 4.5.3 correctly.
2026-05-25 22:31:02 +02:00
refactor(ci): use multi-R-version images in build-all-versions workflows
Drop -${R_VERSION} from the image tag and invoke R/Rscript via the
explicit /opt/R/${R_VERSION}/bin/ path.
2026-05-25 22:27:35 +02:00
docs: add spec for multi-R-version image refactor
Image tag drops the R version (e.g., build-env-alpine:3.23 instead of
:3.23-4.5); workflows pick an R version by calling
/opt/R/${R_VERSION}/bin/R explicitly.
Includes three folded-in bug fixes (alpine audit images, package-index
images, ubuntu-2404 R patch).
2026-05-25 20:08:31 +02:00