refactor: migrate package installation from pak to uvr #147

Merged
pat-s merged 2 commits from t3code/migrate-pak-to-uvr into main 2026-07-31 12:19:27 +00:00
Showing only changes of commit ea3f1e8813 - Show all commits

fix(ci): pin bincraft to its latest release in weekly-audit-missing

The audit step installed bincraft from the default branch, which the
pre-uvr pak call also did. Every other pipeline resolves the newest
vX.Y.Z tag via install-bincraft.R; do the same here so an unreleased
commit cannot change what the weekly audit reports.
Patrick Schratz 2026-07-31 12:19:16 +00:00
No known key found for this signature in database
GPG key ID: 62050D5BC68AB6DC

View file

@ -142,9 +142,8 @@ steps:
- 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/packages /mnt/cache/R-pkgs - mkdir -p /mnt/cache/packages /mnt/cache/R-pkgs
- rm -rf /mnt/cache/R-pkgs/00LOCK-* - rm -rf /mnt/cache/R-pkgs/00LOCK-*
# bincraft is taken from the default branch here (not the latest release - /opt/R/$R_VERSION/bin/Rscript local/install-bincraft.R
# tag), matching what the pak call did before the uvr migration. - UVR_R_BIN=/opt/R/$R_VERSION/bin/R local/uvr-install.sh httr2 jsonlite
- UVR_R_BIN=/opt/R/$R_VERSION/bin/R local/uvr-install.sh forgejo::codefloe.com/rpkgs/bincraft httr2 jsonlite
- /opt/R/$R_VERSION/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")' - /opt/R/$R_VERSION/bin/R -q -e 'source("local/weekly-missing-binaries-audit.R")'
backend_options: backend_options:
docker: docker: