container-openvpn/.woodpecker.yaml

39 lines
756 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-08-18 19:48:06 +00:00
image: gitea.badhouseplants.net/badhouseplants/badhouseplants-builder:latest
2024-05-24 14:28:59 +00:00
secrets:
- gitea_token
2024-08-18 19:50:48 +00:00
environment:
2024-08-18 19:52:18 +00:00
CONTAINER_REGISTRY: gitea.badhouseplants.net
2024-05-24 14:28:59 +00:00
privileged: true
depends_on: []
backend_options:
kubernetes:
resources:
requests:
memory: 500Mi
cpu: 200m
limits:
memory: 500Mi
cpu: 200m
securityContext:
privileged: true
2024-08-18 19:48:06 +00:00
nodeSelector:
kubernetes.io/arch: "amd64"
2024-05-24 14:28:59 +00:00
commands:
- source ./env/${TARGET}.env
- ./scripts/$SCRIPT