35 lines
660 B
YAML
35 lines
660 B
YAML
---
|
|
when:
|
|
event:
|
|
- push
|
|
branch:
|
|
- main
|
|
|
|
matrix:
|
|
TARGET:
|
|
- openvpn_xor
|
|
- openvpn
|
|
|
|
steps:
|
|
build-${TARGET}:
|
|
name: Build ${TARGET}
|
|
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:9665015b44590b7ce2139f7acbad23af6628fff3
|
|
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
|