build alpine-321
This commit is contained in:
parent
722e0477dd
commit
9b4f69a79a
1 changed files with 2922 additions and 130 deletions
|
|
@ -10,12 +10,24 @@ skip_clone: true
|
|||
|
||||
steps:
|
||||
- name: 'Build binaries'
|
||||
secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token, GITHUB_PAT]
|
||||
image: docker.io/devxygmbh/amd64-binaries-r-ubuntu-2404
|
||||
pull: true
|
||||
# to ensure the PACKAGES upload step is being executed
|
||||
failure: ignore
|
||||
environment:
|
||||
RED_HAT_DEV_PW:
|
||||
from_secret: red_hat_dev_pw
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: aws_access_key_id
|
||||
AWS_SECRET_ACCESS_KEY:
|
||||
from_secret: aws_secret_access_key
|
||||
PGPASS:
|
||||
from_secret: pgpass
|
||||
GIT_RO_TOEN:
|
||||
from_secret: git_ro_token
|
||||
GITHUB_PAT:
|
||||
from_secret: github_pat
|
||||
# normal env vars
|
||||
GIT_USER: pat-s
|
||||
# set the location of the 'pkgcache' cache dir which persists the R package dependencies needed to install the packages themselves
|
||||
R_PKG_CACHE_DIR: /mnt/cache/pkgcache
|
||||
|
|
@ -31,11 +43,9 @@ steps:
|
|||
# volumes:
|
||||
# - amd64-binaries-r-dep-cache-ubuntu-2404:/mnt/cache
|
||||
commands:
|
||||
- git clone https://pat-s:$$git_ro_token@git.devxy.io/devxy/r-pkg-binaries.git .
|
||||
- git clone https://pat-s:$$GIT_RO_TOKEN@git.devxy.io/devxy/r-pkg-binaries.git .
|
||||
- rm -rf /mnt/cache/R-pkgs/00LOCK-r-pkg-binaries /mnt/cache/R-pkgs/00LOCK-bincraftR
|
||||
# for some reason paks pkgcache is often corrupt
|
||||
- rm -rf /mnt/cache/R-pkgs/pkgcache/ /mnt/cache/pkgcache/ /root/.cache/R/
|
||||
- R -q -e 'pak::pak("git::https://gitlab.com/devxy/r-package-binaries/bincraftr.git")'
|
||||
# for some reason paks pkgcache is often corrupt- R -q -e 'pak::pak("git::https://gitlab.com/devxy/r-package-binaries/bincraftr.git")'
|
||||
- R -q -e 'packageVersion("bincraftR")'
|
||||
- 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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue