This commit is contained in:
parent
4dfbd4de76
commit
f34938958f
@ -6,14 +6,12 @@ type: 'kubernetes'
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
# deploy to kubernetes
|
# deploy to kubernetes
|
||||||
- image: 'docker.io/bitnami/kubectl:1.26.3'
|
- image: 'docker.io/bitnami/kubectl'
|
||||||
name: 'deploy'
|
name: 'deploy'
|
||||||
pull: 'always'
|
pull: 'always'
|
||||||
environment:
|
|
||||||
DRONE_KUBECONFIG:
|
|
||||||
from_secret: 'drone_kube_config'
|
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- echo $DRONE_KUBECONFIG > $HOME/.kube/config
|
- echo $GITEA_KUBE_CONFIG > $HOME/.kube/config
|
||||||
- cat $HOME/.kube/config
|
- cat $HOME/.kube/config
|
||||||
|
- env
|
||||||
- kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net
|
- kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net
|
||||||
|
Loading…
Reference in New Issue
Block a user