ci: add monitoring_service to deploy binary copy and restart loops
The compile-services job already builds monitoring_service but the deploy job was missing it from the PVC copy loop and rollout restart/wait loops. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user