18 lines
334 B
YAML
18 lines
334 B
YAML
---
|
|
kind: 'pipeline'
|
|
name: 'build'
|
|
type: 'kubernetes'
|
|
|
|
steps:
|
|
|
|
# deploy to kubernetes
|
|
- image: 'docker.io/bitnami/kubectl'
|
|
name: 'deploy'
|
|
pull: 'always'
|
|
|
|
commands:
|
|
- echo $GITEA_KUBE_CONFIG > $HOME/.kube/config
|
|
- cat $HOME/.kube/config
|
|
- env
|
|
- kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net
|