updated ci
This commit is contained in:
parent
efcb7f5952
commit
6cf8a35bdf
1 changed files with 6 additions and 3 deletions
|
|
@ -32,10 +32,13 @@ build:
|
|||
# Deploy to production
|
||||
deploy:
|
||||
stage: deploy
|
||||
image: bitnami/kubectl:latest
|
||||
variables:
|
||||
KUBE_CONTEXT: "stare/infra:ovh-cluster"
|
||||
image:
|
||||
name: bitnami/kubectl:latest
|
||||
entrypoint: ['']
|
||||
script:
|
||||
- kubectl config get-contexts
|
||||
- kubectl config use-context stare/infra:ovh-cluster
|
||||
- kubectl get pods
|
||||
- kubectl rollout restart deployment/proxy-detection-api
|
||||
- kubectl rollout status deployment/proxy-detection-api --timeout=300s
|
||||
- kubectl get pods -l app=proxy-detection-api
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue