diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69b2e96..4557903 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,9 +35,9 @@ deploy: image: name: bitnami/kubectl:latest entrypoint: [''] + variables: + KUBE_CONTEXT: stare/infra:ovh-cluster 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