grafana-backuper/.woodpecker/.deploy.yaml
Aaron Riedel 2e41d3d004
All checks were successful
ci/woodpecker/pr/gofmt Pipeline was successful
ci/woodpecker/pr/vulncheck Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/vulncheck Pipeline was successful
ci/woodpecker/push/gofmt Pipeline was successful
ci/woodpecker/pr/deploy Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
add woodpecker pipeline
2024-08-20 20:21:17 +02:00

26 lines
No EOL
870 B
YAML

steps:
- name: bump tag in deployment-repo
image: git.ar21.de/aaron/kustomize-ci
commands:
- git clone https://git.ar21.de/yolokube/grafana-backuper-deployment.git deployment-repo
- cd deployment-repo/overlay
- kustomize edit set image git.ar21.de/yolokube/grafana-backuper=git.ar21.de/yolokube/grafana-backuper:${CI_PIPELINE_NUMBER}
when:
- branch: main
event: push
- name: push new tag to deployment-repo
image: appleboy/drone-git-push
settings:
branch: main
remote: ssh://git@git.ar21.de:2222/yolokube/grafana-backuper-deployment.git
path: deployment-repo
force: false
commit: true
commit_message: "GRAFANA-BACKUPER: update image tag to ${CI_PIPELINE_NUMBER} (done automagically via Woodpecker pipeline)"
ssh_key:
from_secret: FORGEJO_SSH_KEY
when:
- branch: main
event: push
depends_on:
- build