[CI] Specify kubectl version
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
f34938958f
commit
a07925cb85
@ -2,6 +2,9 @@
|
||||
kind: 'pipeline'
|
||||
name: 'build'
|
||||
type: 'kubernetes'
|
||||
environment:
|
||||
KUBE_CONFIG:
|
||||
from_secret: 'drone_kube_config'
|
||||
|
||||
steps:
|
||||
|
||||
@ -11,7 +14,7 @@ steps:
|
||||
pull: 'always'
|
||||
|
||||
commands:
|
||||
- echo $GITEA_KUBE_CONFIG > $HOME/.kube/config
|
||||
- echo $KUBE_CONFIG > $HOME/.kube/config.bin
|
||||
- base64 -d $HOME/.kube/config.bin > $HOME/.kube/config
|
||||
- cat $HOME/.kube/config
|
||||
- env
|
||||
- kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net
|
||||
|
Loading…
Reference in New Issue
Block a user