update kubecontext
This commit is contained in:
parent
827351d59b
commit
dfbaa22a3e
1 changed files with 2 additions and 3 deletions
|
|
@ -33,15 +33,14 @@ build:
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: alpine/k8s:1.28.4
|
image: alpine/k8s:1.28.4
|
||||||
|
variables:
|
||||||
|
KUBE_CONTEXT: "stare/infra:ovh-cluster"
|
||||||
script:
|
script:
|
||||||
- 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
|
||||||
environment:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
kubernetes:
|
|
||||||
namespace: default
|
|
||||||
agent: "stare/infra:ovh-cluster"
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue