try warm up logic
This commit is contained in:
parent
7e561e24ff
commit
dcb4336098
1 changed files with 54 additions and 2 deletions
51
.woodpecker/warm_up_process_cran_updates.yaml
Normal file
51
.woodpecker/warm_up_process_cran_updates.yaml
Normal 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'
|
||||
Loading…
Reference in a new issue