container-openvpn/.woodpecker.yaml

35 lines
626 B
YAML
Raw Normal View History

2024-05-24 14:28:59 +00:00
---
when:
event:
- push
branch:
- main
matrix:
TARGET:
- openvpn_xor
- openvpn
2024-05-24 14:28:59 +00:00
steps:
build-${TARGET}:
name: Build ${TARGET}
2024-07-14 09:01:23 +00:00
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:latest
2024-05-24 14:28:59 +00:00
secrets:
- gitea_token
privileged: true
depends_on: []
backend_options:
kubernetes:
resources:
requests:
memory: 500Mi
cpu: 200m
limits:
memory: 500Mi
cpu: 200m
securityContext:
privileged: true
commands:
- source ./env/${TARGET}.env
- ./scripts/$SCRIPT