Update Scripts

This commit is contained in:
Ho Ngoc Hai
2026-01-17 21:50:14 +07:00
parent 8518dade34
commit c9ec3194ba
4 changed files with 140 additions and 48 deletions

View File

@@ -26,6 +26,10 @@ fi
# EN: Apply Kubernetes configurations and wait for rollout
# VI: Áp dụng cấu hình Kubernetes và đợi quá trình rollout hoàn tất
kubectl apply -f deployments/production/kubernetes/
kubectl rollout status deployment/iam-service -n production
echo "⏳ Waiting for rollout..."
# EN: Wait for all deployments in the namespace
# VI: Đợi tất cả deployments trong namespace
kubectl rollout status deployment -n production --timeout=90s || echo "⚠️ Some deployments might still be updating"
echo "✅ Deployment completed!"

View File

@@ -14,6 +14,8 @@ fi
# EN: Apply Kubernetes configurations and wait for rollout
# VI: Áp dụng cấu hình Kubernetes và đợi quá trình rollout hoàn tất
kubectl apply -f deployments/staging/kubernetes/
kubectl rollout status deployment/iam-service -n staging
echo "⏳ Waiting for rollout..."
kubectl rollout status deployment -n staging --timeout=90s || echo "⚠️ Some deployments might still be updating"
echo "✅ Deployment completed!"