refactor: migrate package installation from pak to uvr #147
1 changed files with 2 additions and 3 deletions
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.
commit
ea3f1e8813
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue