From 681a3a97a8cec69d557610005bc42d5a0f88d7ae Mon Sep 17 00:00:00 2001 From: pat-s Date: Sat, 7 Sep 2024 10:52:08 +0200 Subject: [PATCH] 2 cores --- .woodpecker/build.yaml | 16 +++++++++------- .woodpecker/warm_up_build.yaml | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 9259967..6c61321 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -21,14 +21,16 @@ matrix: # BLOCK: 20099:21169 # ARCH: arm64 - PLATFORM: alpine-320 - BLOCK: 6547:length(pkgs) + BLOCK: 6570:length(pkgs) ARCH: arm64 - NCPUS: 1 + NCPUS: 2 + MEMORY: 28Gi STRATEGY: sequential - PLATFORM: alpine-320 - BLOCK: 663:length(pkgs) + BLOCK: 684:length(pkgs) ARCH: amd64 - NCPUS: 1 + NCPUS: 2 + MEMORY: 28Gi STRATEGY: sequential steps: - name: 'Build binaries (${PLATFORM}: ${BLOCK})' @@ -74,10 +76,10 @@ steps: ### PROD-sequential resources: requests: - memory: 13Gi - cpu: 1000m + memory: ${MEMORY} + cpu: 2000m limits: - memory: 16Gi + memory: 30Gi cpu: 4000m # DEBUG # resources: diff --git a/.woodpecker/warm_up_build.yaml b/.woodpecker/warm_up_build.yaml index a1db5f2..6f5c47b 100644 --- a/.woodpecker/warm_up_build.yaml +++ b/.woodpecker/warm_up_build.yaml @@ -18,14 +18,16 @@ matrix: # BLOCK: 20099:21169 # ARCH: arm64 - PLATFORM: alpine-320 - BLOCK: 6304:length(pkgs) + BLOCK: 6547:length(pkgs) ARCH: arm64 - NCPUS: 1 + NCPUS: 2 + MEMORY: 28Gi STRATEGY: sequential - PLATFORM: alpine-320 - BLOCK: 309:length(pkgs) + BLOCK: 663:length(pkgs) ARCH: amd64 - NCPUS: 1 + NCPUS: 2 + MEMORY: 28Gi STRATEGY: sequential steps: - name: 'Warming up' @@ -39,10 +41,10 @@ steps: ### PROD-sequential resources: requests: - memory: 13Gi - cpu: 1000m + memory: ${MEMORY} + cpu: 2000m limits: - memory: 16Gi + memory: 30Gi cpu: 4000m nodeSelector: kubernetes.io/arch: "${ARCH}"