chore(ci): move to woodpecker

This commit is contained in:
Tom Neuber 2024-08-27 01:12:00 +02:00
parent 64b03917ec
commit af3bdc048b
Signed by: tom
GPG key ID: F17EFE4272D89FF6
4 changed files with 28 additions and 56 deletions

25
.woodpecker/.deploy.yaml Normal file
View file

@ -0,0 +1,25 @@
steps:
- name: kustomize build
image: git.ar21.de/aaron/kustomize-ci
commands:
- mv deploy base
- mkdir -p deploy
- kustomize build -o deploy/fail2ban-exporter.yaml
- rm -r base
when:
- branch: main
event: push
- name: kustomize push changes
image: appleboy/drone-git-push
settings:
branch: main
remote: ssh://git@git.ar21.de:2222/yolokube/fail2ban-exporter-deployment.git
path: .
force: false
commit: true
commit_message: "KUSTOMIZE BUILD: build fail2ban-exporter deployment with kustomize ${CI_PIPELINE_NUMBER} (done automagically via Woodpecker pipeline) [CI SKIP]"
ssh_key:
from_secret: FORGEJO_SSH_KEY
when:
- branch: main
event: push