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.
This commit is contained in:
parent
6f1c421434
commit
b25885bae3
1 changed files with 5 additions and 4 deletions
|
|
@ -36,7 +36,7 @@ matrix:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 'Archive missed packages'
|
- name: 'Archive missed packages'
|
||||||
image: reg.devxy.io/rpkgs/build-env-alpine:3.23-4.5
|
image: reg.devxy.io/rpkgs/build-env-alpine:3.23
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
RED_HAT_DEV_PW:
|
RED_HAT_DEV_PW:
|
||||||
|
|
@ -53,10 +53,11 @@ steps:
|
||||||
from_secret: GITHUB_PAT
|
from_secret: GITHUB_PAT
|
||||||
# normal env vars
|
# normal env vars
|
||||||
GIT_USER: pat-s
|
GIT_USER: pat-s
|
||||||
|
R_VERSION: 4.5.3
|
||||||
commands:
|
commands:
|
||||||
- R -q -e 'pak::pak("git::https://codefloe.com/rpkgs/bincraft.git", dependencies = TRUE)'
|
- /opt/R/${R_VERSION}/bin/R -q -e 'pak::pak("git::https://codefloe.com/rpkgs/bincraft.git", dependencies = TRUE)'
|
||||||
- R -q -e 'packageVersion("bincraft")'
|
- /opt/R/${R_VERSION}/bin/R -q -e 'packageVersion("bincraft")'
|
||||||
- R -q -e 'bincraft::process_unarchived_pkgs(Sys.getenv("CODENAME"), Sys.getenv("ARCH"), workers = 2L)'
|
- /opt/R/${R_VERSION}/bin/R -q -e 'bincraft::process_unarchived_pkgs(Sys.getenv("CODENAME"), Sys.getenv("ARCH"), workers = 2L)'
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue