improved docker images
This commit is contained in:
parent
36d95cf5d9
commit
893afd4d98
2 changed files with 146 additions and 22 deletions
|
|
@ -2,6 +2,9 @@ when:
|
|||
- event: cron
|
||||
cron: images
|
||||
|
||||
depends_on:
|
||||
- warm_up_images
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- PLATFORM: redhat-9
|
||||
|
|
|
|||
44
.woodpecker/warm_up_images.yaml
Normal file
44
.woodpecker/warm_up_images.yaml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
when:
|
||||
event: [manual]
|
||||
|
||||
skip_clone: true
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- PLATFORM: redhat-9
|
||||
ARCH: arm64
|
||||
- PLATFORM: redhat-8
|
||||
ARCH: arm64
|
||||
- PLATFORM: ubuntu-2404
|
||||
ARCH: arm64
|
||||
- PLATFORM: ubuntu-2204
|
||||
ARCH: arm64
|
||||
- PLATFORM: alpine-320
|
||||
ARCH: arm64
|
||||
- PLATFORM: alpine-320
|
||||
ARCH: amd64
|
||||
|
||||
steps:
|
||||
- name: 'Warming up'
|
||||
image: busybox:latest
|
||||
failure: ignore
|
||||
commands:
|
||||
- sleep 300
|
||||
- echo "Warmed Up"
|
||||
backend_options:
|
||||
kubernetes:
|
||||
### PROD-sequential
|
||||
resources:
|
||||
requests:
|
||||
memory: 500Mi
|
||||
cpu: 1000m
|
||||
limits:
|
||||
memory: 800Mi
|
||||
cpu: 1000m
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: "${ARCH}"
|
||||
tolerations:
|
||||
- key: "CI"
|
||||
operator: "Equal"
|
||||
value: "true"
|
||||
effect: "NoSchedule"
|
||||
Loading…
Reference in a new issue