Compare commits
4 commits
6224add3da
...
bf29b08564
Author | SHA1 | Date | |
---|---|---|---|
bf29b08564 | |||
6e75545b6c | |||
fe857442b7 | |||
7451356aec |
2 changed files with 9 additions and 3 deletions
10
.drone.yml
10
.drone.yml
|
@ -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:
|
||||
|
@ -61,7 +65,7 @@ steps:
|
|||
path: /deployment-repo
|
||||
force: false
|
||||
commit: true
|
||||
commit_message: "KUSTOMIZE BUILD STAGING: rebuild dashboard deployment with kustomize ${DRONE_BUILD_NUMBER} (done automagically via Drone pipeline)"
|
||||
commit_message: "KUSTOMIZE BUILD STAGING: rebuild dashboard deployment with kustomize ${DRONE_BUILD_NUMBER} [CI SKIP]"
|
||||
ssh_key:
|
||||
from_secret: GITEA_SSH_KEY
|
||||
volumes:
|
||||
|
@ -76,6 +80,8 @@ steps:
|
|||
volumes:
|
||||
- name: deployment-repo
|
||||
temp: {}
|
||||
- name: staging-repo
|
||||
temp: {}
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
|
|
|
@ -30,7 +30,7 @@ spec:
|
|||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
initialDelaySeconds: 3
|
||||
initialDelaySeconds: 4
|
||||
periodSeconds: 3
|
||||
---
|
||||
apiVersion: v1
|
||||
|
|
Loading…
Reference in a new issue