try warm up logic

This commit is contained in:
Patrick Schratz 2024-09-06 16:14:40 +02:00
commit dcb4336098
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -0,0 +1,51 @@
when:
- event: [cron]
cron: process-cran-updates
skip_clone: true
matrix:
include:
- PLATFORM: redhat-9
PKGS_ID: rhel9
ARCH: arm64
- PLATFORM: redhat-8
PKGS_ID: rhel8
ARCH: arm64
- PLATFORM: ubuntu-2404
PKGS_ID: noble
ARCH: arm64
- PLATFORM: ubuntu-2204
PKGS_ID: jammy
ARCH: arm64
- PLATFORM: alpine-320
PKGS_ID: alpine320
ARCH: arm64
- PLATFORM: alpine-320
PKGS_ID: alpine320
ARCH: amd64
steps:
- name: 'Warming up'
image: busybox:latest
failure: ignore
commands:
- sleep 300
- echo "Warmed Up"
backend_options:
kubernetes:
resources:
requests:
memory: 12Gi
cpu: 700m
limits:
memory: 14Gi
cpu: 4000m
nodeSelector:
kubernetes.io/arch: '${ARCH}'
tolerations:
- key: 'CI'
operator: 'Equal'
value: 'true'
effect: 'NoSchedule'