add warm_up build
This commit is contained in:
parent
dcb4336098
commit
a29a528086
2 changed files with 56 additions and 0 deletions
|
|
@ -3,6 +3,9 @@ when:
|
||||||
|
|
||||||
skip_clone: true
|
skip_clone: true
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- warm_up_build
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# - PLATFORM: redhat-9
|
# - PLATFORM: redhat-9
|
||||||
|
|
|
||||||
53
.woodpecker/warm_up_build.yaml
Normal file
53
.woodpecker/warm_up_build.yaml
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
when:
|
||||||
|
event: [manual]
|
||||||
|
|
||||||
|
skip_clone: true
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
# - PLATFORM: redhat-9
|
||||||
|
# BLOCK: 20099:21169
|
||||||
|
# ARCH: arm64
|
||||||
|
# - PLATFORM: redhat-8
|
||||||
|
# BLOCK: 20099:21169
|
||||||
|
# ARCH: arm64
|
||||||
|
# - PLATFORM: ubuntu-2404
|
||||||
|
# BLOCK: 20099:21169
|
||||||
|
# ARCH: arm64
|
||||||
|
# - PLATFORM: ubuntu-2204
|
||||||
|
# BLOCK: 20099:21169
|
||||||
|
# ARCH: arm64
|
||||||
|
- PLATFORM: alpine-320
|
||||||
|
BLOCK: 6304:length(pkgs)
|
||||||
|
ARCH: arm64
|
||||||
|
NCPUS: 1
|
||||||
|
STRATEGY: sequential
|
||||||
|
- PLATFORM: alpine-320
|
||||||
|
BLOCK: 309:length(pkgs)
|
||||||
|
ARCH: amd64
|
||||||
|
NCPUS: 1
|
||||||
|
STRATEGY: sequential
|
||||||
|
steps:
|
||||||
|
- name: 'Warming up'
|
||||||
|
image: busybox:latest
|
||||||
|
failure: ignore
|
||||||
|
commands:
|
||||||
|
- sleep 300
|
||||||
|
- echo "Warmed Up"
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
### PROD-sequential
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 13Gi
|
||||||
|
cpu: 1000m
|
||||||
|
limits:
|
||||||
|
memory: 16Gi
|
||||||
|
cpu: 4000m
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/arch: "${ARCH}"
|
||||||
|
tolerations:
|
||||||
|
- key: "CI"
|
||||||
|
operator: "Equal"
|
||||||
|
value: "true"
|
||||||
|
effect: "NoSchedule"
|
||||||
Loading…
Reference in a new issue