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 to production
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: bitnami/kubectl:latest
|
image:
|
||||||
variables:
|
name: bitnami/kubectl:latest
|
||||||
KUBE_CONTEXT: "stare/infra:ovh-cluster"
|
entrypoint: ['']
|
||||||
script:
|
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 restart deployment/proxy-detection-api
|
||||||
- kubectl rollout status deployment/proxy-detection-api --timeout=300s
|
- kubectl rollout status deployment/proxy-detection-api --timeout=300s
|
||||||
- kubectl get pods -l app=proxy-detection-api
|
- kubectl get pods -l app=proxy-detection-api
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue