[CI] Added kubernetes deployment
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
1435e698ca
commit
c2b4279248
16
.drone.yaml
16
.drone.yaml
@ -30,3 +30,19 @@ steps:
|
|||||||
tags:
|
tags:
|
||||||
- 'v1'
|
- 'v1'
|
||||||
- 'latest'
|
- 'latest'
|
||||||
|
|
||||||
|
|
||||||
|
# deploy to kubernetes
|
||||||
|
- image: 'docker.io/bitnami/kubectl'
|
||||||
|
name: 'deploy'
|
||||||
|
pull: 'always'
|
||||||
|
settings:
|
||||||
|
mtu: '1440'
|
||||||
|
|
||||||
|
environment:
|
||||||
|
KUBE_CONFIG:
|
||||||
|
from_secret: 'drone_kube_config'
|
||||||
|
|
||||||
|
commands:
|
||||||
|
- 'echo "$KUBE_CONFIG" > $HOME/.kube/config'
|
||||||
|
- 'kubectl -n simoncor-net rollout restart deployment simoncor-net'
|
||||||
|
Loading…
Reference in New Issue
Block a user