[CI] First attempt of an deployment step
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
b692c1085f
commit
7c74a1dc7d
13
.drone.yml
13
.drone.yml
@ -30,3 +30,16 @@ steps:
|
||||
tags:
|
||||
- 'v1.0'
|
||||
- 'latest'
|
||||
|
||||
|
||||
# deploy to kubernetes
|
||||
- image: 'bitnami/kubectl'
|
||||
name: 'deploy'
|
||||
pull: 'always'
|
||||
environment:
|
||||
KUBE_CONFIG:
|
||||
from_secret: 'kube_config'
|
||||
|
||||
commands:
|
||||
- 'echo $KUBE_CONFIG >> $HOME/.kube/config'
|
||||
- 'kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net '
|
||||
|
Loading…
Reference in New Issue
Block a user