chore: use geeklab wp plugin
This commit is contained in:
parent
b105839354
commit
7bd2e345ce
2 changed files with 9 additions and 59 deletions
|
|
@ -2,9 +2,6 @@ when:
|
|||
- event: cron
|
||||
cron: images
|
||||
|
||||
depends_on:
|
||||
- warm_up_images
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- PLATFORM: redhat-9
|
||||
|
|
@ -30,7 +27,7 @@ matrix:
|
|||
|
||||
steps:
|
||||
- name: 'Build image'
|
||||
image: woodpeckerci/plugin-docker-buildx:4.2.0
|
||||
image: woodpeckerci/plugin-docker-buildx:5.0.0
|
||||
secrets: [RED_HAT_DEV_PW, GITHUB_PAT]
|
||||
settings:
|
||||
platforms: linux/${ARCH}
|
||||
|
|
@ -41,9 +38,15 @@ steps:
|
|||
password:
|
||||
from_secret: dockerhub_token_devxygmbh
|
||||
build_args_from_env:
|
||||
- ARCH
|
||||
- RED_HAT_DEV_PW
|
||||
- GITHUB_PAT
|
||||
- ARCH
|
||||
# FIMXE: https://codeberg.org/woodpecker-plugins/docker-buildx/issues/184#issuecomment-2425171
|
||||
# build_args:
|
||||
# RED_HAT_DEV_PW:
|
||||
# from_secret: RED_HAT_DEV_PW
|
||||
# GITHUB_PAT:
|
||||
# from_secret: GITHUB_PAT
|
||||
backend_options:
|
||||
kubernetes:
|
||||
resources:
|
||||
|
|
@ -51,7 +54,7 @@ steps:
|
|||
memory: 800Mi
|
||||
cpu: 1000m
|
||||
limits:
|
||||
memory: 130000Mi
|
||||
memory: 3000Mi
|
||||
cpu: 1000m
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: '${ARCH}'
|
||||
|
|
|
|||
|
|
@ -1,53 +0,0 @@
|
|||
when:
|
||||
- event: cron
|
||||
cron: images
|
||||
|
||||
skip_clone: true
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- PLATFORM: redhat-9
|
||||
ARCH: arm64
|
||||
- PLATFORM: redhat-9
|
||||
ARCH: amd64
|
||||
- PLATFORM: redhat-8
|
||||
ARCH: arm64
|
||||
- PLATFORM: redhat-8
|
||||
ARCH: amd64
|
||||
- PLATFORM: ubuntu-2404
|
||||
ARCH: arm64
|
||||
- PLATFORM: ubuntu-2404
|
||||
ARCH: amd64
|
||||
- PLATFORM: ubuntu-2204
|
||||
ARCH: arm64
|
||||
- PLATFORM: ubuntu-2204
|
||||
ARCH: amd64
|
||||
- PLATFORM: alpine-320
|
||||
ARCH: arm64
|
||||
- PLATFORM: alpine-320
|
||||
ARCH: amd64
|
||||
|
||||
steps:
|
||||
- name: 'Warming up'
|
||||
image: busybox:latest
|
||||
failure: ignore
|
||||
commands:
|
||||
- sleep 1
|
||||
- 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