Some checks failed
ci/crow/manual/alpine-322-arm64-install-deps Pipeline was successful
ci/crow/manual/alpine-322-amd64-install-deps Pipeline was successful
ci/crow/manual/build-alpine-322-amd64-3 Pipeline failed
ci/crow/manual/build-alpine-322-amd64-2 Pipeline failed
ci/crow/manual/build-alpine-322-amd64-1 Pipeline failed
ci/crow/manual/build-alpine-322-amd64-5 Pipeline failed
ci/crow/manual/build-alpine-322-arm64-3 Pipeline failed
ci/crow/manual/build-alpine-322-arm64-1 Pipeline failed
ci/crow/manual/build-alpine-322-arm64-2 Pipeline failed
ci/crow/manual/build-alpine-322-amd64-4 Pipeline failed
59 lines
2.1 KiB
YAML
59 lines
2.1 KiB
YAML
when:
|
|
- event: manual
|
|
evaluate: 'build == "all"'
|
|
- event: manual
|
|
evaluate: 'build == "alpine-322-arm64"'
|
|
- event: manual
|
|
evaluate: 'build == "all-arm64"'
|
|
|
|
skip_clone: true
|
|
|
|
steps:
|
|
- name: 'Install common R deps'
|
|
image: docker.io/devxygmbh/arm64-binaries-r-alpine-322
|
|
pull: true
|
|
environment:
|
|
GIT_RO_TOKEN:
|
|
from_secret: GIT_RO_TOKEN
|
|
GITHUB_PAT:
|
|
from_secret: GITHUB_PAT
|
|
# normal env vars
|
|
GIT_USER: pat-s
|
|
NTFY_SERVER:
|
|
from_secret: NTFY_SERVER
|
|
NTFY_TOPIC:
|
|
from_secret: NTFY_TOPIC
|
|
NTFY_AUTH: TRUE
|
|
NTFY_PASSWORD:
|
|
from_secret: ntfy_token
|
|
# 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
|
|
R_LIBS_USER: /mnt/cache/R-pkgs
|
|
CCACHE_DIR: /mnt/cache/ccache
|
|
PLATFORM: alpine-322
|
|
volumes:
|
|
- arm64-binaries-r-dep-cache-alpine-322:/mnt/cache
|
|
commands:
|
|
- git clone -q https://pat-s:$$GIT_RO_TOKEN@git.devxy.io/devxy/build-binaries.git .
|
|
- mkdir -p /mnt/cache/R-pkgs
|
|
- rm -rf /mnt/cache/R-pkgs/00LOCK-r-pkg-binaries /mnt/cache/R-pkgs/00LOCK-bincraftR /mnt/cache/R-pkgs/00LOCK-pak /mnt/cache/pkgcache/R/pkgcache /mnt/cache/pkgcache/R/pkgcache /mnt/cache/R-pkgs/pkgcache /mnt/cache/R-pkgs/bincraftR /mnt/cache/pkgcache/R/pkgcache /mnt/cache/R-pkgs/pkgcache
|
|
- R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/devel/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
|
|
- R -q -e 'pak::pak("git::https://codefloe.com/rpkgs/bincraftr.git")'
|
|
- R -q -e 'packageVersion("bincraftR")'
|
|
backend_options:
|
|
kubernetes:
|
|
resources:
|
|
requests:
|
|
memory: 1000Mi
|
|
cpu: 1000m
|
|
limits:
|
|
memory: 1500Mi
|
|
cpu: 2000m
|
|
nodeSelector:
|
|
kubernetes.io/arch: arm64
|
|
node.kubernetes.io/instance-type: cax41
|
|
tolerations:
|
|
- key: 'CI'
|
|
operator: 'Equal'
|
|
value: 'true'
|
|
effect: 'NoSchedule'
|