remove cache volume mounts

This commit is contained in:
Patrick Schratz 2025-02-15 19:34:30 +01:00
commit 536f0a695f
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -9,30 +9,6 @@ when:
skip_clone: true
steps:
# - name: 'Warming up'
# image: busybox:latest
# failure: ignore
# commands:
# - sleep 300
# - echo "Warmed Up"
# backend_options:
# kubernetes:
# resources:
# requests:
# memory: 14Gi
# cpu: 3000m
# limits:
# memory: 14Gi
# cpu: 3000m
# nodeSelector:
# kubernetes.io/arch: arm64
# node.kubernetes.io/instance-type: cax31
# tolerations:
# - key: 'CI'
# operator: 'Equal'
# value: 'true'
# effect: 'NoSchedule'
- name: 'Build binaries'
image: docker.io/devxygmbh/arm64-binaries-r-ubuntu-2404
pull: true
@ -64,8 +40,8 @@ steps:
MEMORY: 14Gi
INSTANCE_TYPE: cax31
STRATEGY: multisession
volumes:
- arm64-binaries-r-dep-cache-ubuntu-2404:/mnt/cache
# volumes:
# - arm64-binaries-r-dep-cache-ubuntu-2404:/mnt/cache
commands:
- git clone -q https://pat-s:$$GIT_RO_TOKEN@git.devxy.io/devxy/build-binaries.git .
- 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