moved to use kluster agent

This commit is contained in:
Bojan Kucera 2025-06-06 08:26:34 -04:00
parent 223f426a58
commit 3e44a114e4

View file

@ -32,11 +32,17 @@ build:
# Deploy to production
deploy:
stage: deploy
image: ictu/sshpass
image: bitnami/kubectl:latest
script:
- sshpass -p c4c5f47918a6310d79de188465218b440c69570c ssh -o StrictHostKeyChecking=no kubeuser@stare.gg 'kubectl rollout restart deployments/proxy-detection-api'
- kubectl config get-contexts
- kubectl set image deployment/proxy-detection-api proxy-detection-api=$CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- kubectl rollout status deployment/proxy-detection-api --timeout=300s
- kubectl get pods -l app=proxy-detection-api
environment:
name: production
kubernetes:
namespace: default # or your actual namespace
only:
- master