fix: clean stale R package lock dirs before installing bincraft
Some checks failed
ci/crow/manual/build-all-versions-amd64/1 Pipeline failed
ci/crow/manual/build-all-versions-amd64/2 Pipeline failed
ci/crow/manual/build-all-versions-amd64/4 Pipeline failed
ci/crow/manual/build-all-versions-amd64/3 Pipeline failed
ci/crow/manual/build-all-versions-amd64/5 Pipeline failed
Some checks failed
ci/crow/manual/build-all-versions-amd64/1 Pipeline failed
ci/crow/manual/build-all-versions-amd64/2 Pipeline failed
ci/crow/manual/build-all-versions-amd64/4 Pipeline failed
ci/crow/manual/build-all-versions-amd64/3 Pipeline failed
ci/crow/manual/build-all-versions-amd64/5 Pipeline failed
Parallel matrix jobs sharing /mnt/cache/R-pkgs leave stale 00LOCK-* dirs that block subsequent installs.
This commit is contained in:
parent
1b24fa731a
commit
2f81bd6be5
2 changed files with 2 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ steps:
|
|||
- ${ARCH}-binaries-r-dep-cache-${OS}-${OS_VERSION//./}:/mnt/cache
|
||||
commands:
|
||||
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
|
||||
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
|
||||
- R -q -e 'if (!requireNamespace("remotes", quietly = TRUE)) install.packages("remotes"); remotes::install_git("https://codefloe.com/rpkgs/bincraft.git"); packageVersion("bincraft")'
|
||||
- mkdir -p /mnt/cache/pkgcache /mnt/cache/R-pkgs /mnt/cache/ccache /mnt/cache/packages
|
||||
# Windows-only: 'RInno', 'KeyboardSimulator', 'R2PPT', 'RWinEdt', 'blatr', 'excel.link', 'spectrino', 'taskscheduleR', 'MDSGUI', 'BiplotGUI', 'R2wd', 'rFUSION', 'MediaNews', 'rFUSION', 'MediaNews'
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ steps:
|
|||
STRATEGY: sequential
|
||||
commands:
|
||||
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
|
||||
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
|
||||
- R -q -e 'if (!requireNamespace("remotes", quietly = TRUE)) install.packages("remotes"); remotes::install_git("https://codefloe.com/rpkgs/bincraft.git"); packageVersion("bincraft")'
|
||||
- mkdir -p /mnt/cache/pkgcache /mnt/cache/R-pkgs /mnt/cache/ccache /mnt/cache/packages
|
||||
- XVFB=$(command -v xwfb-run 2>/dev/null || command -v xvfb-run)
|
||||
|
|
|
|||
Loading…
Reference in a new issue