updated ci

This commit is contained in:
Bojan Kucera 2025-06-06 08:47:26 -04:00
parent efcb7f5952
commit 6cf8a35bdf

View file

@ -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