diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 542bde4..15fbff5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,15 +33,14 @@ build: deploy: stage: deploy image: alpine/k8s:1.28.4 + variables: + KUBE_CONTEXT: "stare/infra:ovh-cluster" script: - kubectl rollout restart deployment/proxy-detection-api - kubectl rollout status deployment/proxy-detection-api --timeout=300s - kubectl get pods -l app=proxy-detection-api environment: name: production - kubernetes: - namespace: default - agent: "stare/infra:ovh-cluster" only: - master