build rhel8

This commit is contained in:
Patrick Schratz 2024-07-30 17:30:23 +02:00
commit 6b53c9e341
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -5,10 +5,10 @@ skip_clone: true
matrix: matrix:
include: include:
- PLATFORM: rhel-9
BLOCK: 1096:3000
# - PLATFORM: rhel-9 # - PLATFORM: rhel-9
# BLOCK: 1051:1450 # BLOCK: 1096:3000
- PLATFORM: rhel-8
BLOCK: 1:1000
# - PLATFORM: rhel-9 # - PLATFORM: rhel-9
# BLOCK: 1451:1450 # BLOCK: 1451:1450
# - PLATFORM: ubuntu-2204 # - PLATFORM: ubuntu-2204
@ -20,7 +20,7 @@ matrix:
steps: steps:
- name: "Build binaries (${PLATFORM}: ${BLOCK})" - name: "Build binaries (${PLATFORM}: ${BLOCK})"
secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token] secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token]
image: docker.io/pats22/arm-binaries-r-ubi9 image: docker.io/pats22/arm-binaries-r-${PLATFORM}
pull: true pull: true
# to ensure the PACKAGES upload step is being executed # to ensure the PACKAGES upload step is being executed
failure: ignore failure: ignore
@ -31,7 +31,7 @@ steps:
R_LIBS_USER: /mnt/cache/R-pkgs R_LIBS_USER: /mnt/cache/R-pkgs
CCACHE_DIR: /mnt/cache/ccache CCACHE_DIR: /mnt/cache/ccache
volumes: volumes:
- arm-binaries-r-dep-cache-rhel9:/mnt/cache - arm-binaries-r-dep-cache-${PLATFORM}:/mnt/cache
commands: commands:
# download latest package version (avoid having to rebuild image every time) # download latest package version (avoid having to rebuild image every time)
# rscript_startup arg: required to pass down global option to future workers https://github.com/HenrikBengtsson/future/issues/134#issuecomment-2245666169 # rscript_startup arg: required to pass down global option to future workers https://github.com/HenrikBengtsson/future/issues/134#issuecomment-2245666169