remove deploy folder before cloning it
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
37c7cd4046
commit
c10f23da58
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ steps:
|
|||
- git clone https://git.ar21.de/yolokube/fail2ban-prometheus-exporter.git .
|
||||
- cd /deployment-repo
|
||||
- git clone https://git.ar21.de/yolokube/fail2ban-exporter-deployment.git .
|
||||
- rm -r /deployment-repo/deploy/* || true
|
||||
- cp -rv /source-repo/deploy /deployment-repo/base
|
||||
- mkdir -p /deployment-repo/deploy
|
||||
- kustomize build -o /deployment-repo/deploy/fail2ban-exporter.yaml
|
||||
|
|
Reference in a new issue