diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a3ea1730c..66446544a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1551,7 +1551,8 @@ deploy: kubectl wait --for=condition=Ready pod/binary-writer -n foxhunt --timeout=120s for bin in trading_service api_gateway broker_gateway_service \ ml_training_service backtesting_service \ - trading_agent_service data_acquisition_service web-gateway; do + trading_agent_service data_acquisition_service web-gateway \ + monitoring_service; do if [ -f "build-out/services/$bin" ]; then kubectl cp "build-out/services/$bin" foxhunt/binary-writer:/binaries/$bin kubectl exec -n foxhunt binary-writer -- chmod +x /binaries/$bin @@ -1636,14 +1637,16 @@ deploy: - | for svc in trading-service api-gateway broker-gateway \ ml-training-service backtesting-service \ - trading-agent-service data-acquisition-service web-gateway; do + trading-agent-service data-acquisition-service web-gateway \ + monitoring-service; do kubectl -n foxhunt rollout restart deployment/$svc echo "Restarted $svc" done - | for svc in trading-service api-gateway broker-gateway \ ml-training-service backtesting-service \ - trading-agent-service data-acquisition-service web-gateway; do + trading-agent-service data-acquisition-service web-gateway \ + monitoring-service; do kubectl -n foxhunt rollout status deployment/$svc --timeout=300s done - echo "All services deployed"