core-deployments/.woodpecker/.dashboard.yaml

75 lines
2.3 KiB
YAML
Raw Normal View History

2024-08-07 19:48:12 +02:00
steps:
- name: kustomize build dashboard (prod + staging)
image: git.ar21.de/aaron/kustomize-ci
commands:
- git clone https://git.ar21.de/yolokube/core-deployments.git deployment-repo
- kustomize build -o deployment-repo/dashboard/prod/dashboard.yaml dashboard/overlays/prod
- kustomize build -o deployment-repo/dashboard/staging/dashboard.yaml dashboard/overlays/staging
when:
- branch: main
event: push
2024-08-07 22:18:17 +02:00
path:
2024-09-29 14:36:13 +02:00
include: ['.woodpecker/*']
- branch: main
event: push
path:
include: ['dashboard/*']
2024-08-07 19:48:12 +02:00
- name: kustomize push dashboard changes (prod + staging)
image: appleboy/drone-git-push
settings:
branch: main
remote: ssh://git@git.ar21.de:2222/yolokube/core-deployments.git
2024-08-07 20:56:31 +02:00
path: deployment-repo
2024-08-07 19:48:12 +02:00
force: false
commit: true
2024-08-07 21:08:28 +02:00
commit_message: "KUSTOMIZE BUILD: rebuild dashboard deployment (done automagically via Woodpecker pipeline #${CI_PIPELINE_NUMBER}) [CI SKIP]"
2024-08-07 19:48:12 +02:00
ssh_key:
from_secret: FORGEJO_SSH_KEY
when:
- branch: main
event: push
2024-08-07 22:18:17 +02:00
path:
2024-09-29 14:36:13 +02:00
include: ['dashboard/*']
- branch: main
event: push
path:
include: ['.woodpecker/*']
2024-08-07 21:21:50 +02:00
- name: kustomize build dashboard (staging)
image: git.ar21.de/aaron/kustomize-ci
commands:
- git clone https://git.ar21.de/yolokube/core-deployments.git deployment-repo
- kustomize build -o deployment-repo/dashboard/staging/dashboard.yaml dashboard/overlays/staging
when:
- branch:
exclude: main
event: push
2024-08-07 22:18:17 +02:00
path:
2024-09-29 14:36:13 +02:00
include: ['.woodpecker/*']
- branch:
exclude: main
event: push
path:
include: ['dashboard/*']
2024-08-07 21:21:50 +02:00
- name: kustomize push dashboard changes (staging)
image: appleboy/drone-git-push
settings:
branch: main
remote: ssh://git@git.ar21.de:2222/yolokube/core-deployments.git
path: deployment-repo
force: false
commit: true
commit_message: "KUSTOMIZE BUILD STAGING: rebuild dashboard deployment (done automagically via Woodpecker pipeline #${CI_PIPELINE_NUMBER}) [CI SKIP]"
ssh_key:
from_secret: FORGEJO_SSH_KEY
when:
- branch:
exclude: main
event: push
2024-08-07 22:18:17 +02:00
path:
2024-09-29 14:36:13 +02:00
include: ['.woodpecker/*']
- branch:
exclude: main
event: push
path:
include: ['dashboard/*']