prevent-staging-leak #24

Merged
aaron merged 3 commits from prevent-staging-leak into main 2024-02-02 11:48:02 +01:00
Showing only changes of commit 7451356aec - Show all commits

View file

@ -22,12 +22,16 @@ steps:
image: aaronriedel/kustomize-ci
commands:
- cd /deployment-repo
- git clone https://git.ar21.de/yolokube/core-deployments.git .
- cd /staging-repo
- git clone -b $DRONE_BRANCH https://git.ar21.de/yolokube/core-deployments.git .
- cd /deployment-repo/dashboard/overlays/staging
- cd /staging-repo/dashboard/overlays/staging
- kustomize build -o /deployment-repo/dashboard/staging/dashboard.yaml
volumes:
- name: deployment-repo
path: /deployment-repo
- name: staging-repo
path: /staging-repo
when:
branch:
exclude:
@ -76,6 +80,8 @@ steps:
volumes:
- name: deployment-repo
temp: {}
- name: staging-repo
temp: {}
when:
event:
exclude: