Compare commits
No commits in common. "bf29b0856437c56fc92c55a77eb58595f474d1bd" and "6224add3da1b7a434f4e5c20f7e42f37d75a66ad" have entirely different histories.
bf29b08564
...
6224add3da
2 changed files with 3 additions and 9 deletions
10
.drone.yml
10
.drone.yml
|
@ -22,16 +22,12 @@ steps:
|
||||||
image: aaronriedel/kustomize-ci
|
image: aaronriedel/kustomize-ci
|
||||||
commands:
|
commands:
|
||||||
- cd /deployment-repo
|
- 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 .
|
- git clone -b $DRONE_BRANCH https://git.ar21.de/yolokube/core-deployments.git .
|
||||||
- cd /staging-repo/dashboard/overlays/staging
|
- cd /deployment-repo/dashboard/overlays/staging
|
||||||
- kustomize build -o /deployment-repo/dashboard/staging/dashboard.yaml
|
- kustomize build -o /deployment-repo/dashboard/staging/dashboard.yaml
|
||||||
volumes:
|
volumes:
|
||||||
- name: deployment-repo
|
- name: deployment-repo
|
||||||
path: /deployment-repo
|
path: /deployment-repo
|
||||||
- name: staging-repo
|
|
||||||
path: /staging-repo
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -65,7 +61,7 @@ steps:
|
||||||
path: /deployment-repo
|
path: /deployment-repo
|
||||||
force: false
|
force: false
|
||||||
commit: true
|
commit: true
|
||||||
commit_message: "KUSTOMIZE BUILD STAGING: rebuild dashboard deployment with kustomize ${DRONE_BUILD_NUMBER} [CI SKIP]"
|
commit_message: "KUSTOMIZE BUILD STAGING: rebuild dashboard deployment with kustomize ${DRONE_BUILD_NUMBER} (done automagically via Drone pipeline)"
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: GITEA_SSH_KEY
|
from_secret: GITEA_SSH_KEY
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -80,8 +76,6 @@ steps:
|
||||||
volumes:
|
volumes:
|
||||||
- name: deployment-repo
|
- name: deployment-repo
|
||||||
temp: {}
|
temp: {}
|
||||||
- name: staging-repo
|
|
||||||
temp: {}
|
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
exclude:
|
exclude:
|
||||||
|
|
|
@ -30,7 +30,7 @@ spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 8080
|
port: 8080
|
||||||
initialDelaySeconds: 4
|
initialDelaySeconds: 3
|
||||||
periodSeconds: 3
|
periodSeconds: 3
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
Loading…
Reference in a new issue