Try migrating to Woodpecker

This commit is contained in:
2024-05-25 14:33:08 +02:00
parent 9665015b44
commit 984f11e837
2 changed files with 33 additions and 31 deletions

33
.woodpecker.yaml Normal file
View File

@@ -0,0 +1,33 @@
---
when:
event:
- push
steps:
build:
image: alpine
name: Build shoebill operator image
privileged: true
commands:
- ./build
secrets:
- gitea_token
backend_options:
kubernetes:
resources:
requests:
memory: 500Mi
cpu: 200m
limits:
memory: 1000Mi
cpu: 1000m
securityContext:
privileged: true
cleanup:
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:latest
secrets:
- gitea_token
environment:
BUILDAH_REG: git.badhouseplants.net/badhouseplants/badhouseplants-builder
commands:
- cleanup