fixed for only latest usages to deploy.
This commit is contained in:
parent
718a4ff1c9
commit
af5d46e4e8
@ -74,11 +74,18 @@ rm "$TEMP_DEPLOYMENT"
|
||||
|
||||
echo "✅ Manifests applied"
|
||||
echo ""
|
||||
echo "⏳ Waiting for rollouts to complete..."
|
||||
|
||||
# Force restart deployments to pull latest images
|
||||
echo "🔄 Restarting deployments to pull new images..."
|
||||
DEPLOYMENTS=("telegram-listener" "text-matcher" "users" "telegram-client")
|
||||
for deployment in "${DEPLOYMENTS[@]}"; do
|
||||
kubectl rollout restart deployment/"$deployment" -n "$NAMESPACE"
|
||||
echo " ↻ Restarted $deployment"
|
||||
done
|
||||
echo ""
|
||||
|
||||
# Wait for each deployment to roll out
|
||||
DEPLOYMENTS=("telegram-listener" "text-matcher" "users" "telegram-client")
|
||||
echo "⏳ Waiting for rollouts to complete..."
|
||||
echo ""
|
||||
TIMEOUT="300s"
|
||||
|
||||
for deployment in "${DEPLOYMENTS[@]}"; do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user