- Renamed auth-service to iam-service across various files for consistency. - Updated deployment workflows, database migration scripts, and documentation to reflect the service name change. - Enhanced bilingual documentation for clarity on the new service structure and usage. - Removed outdated references to auth-service in scripts and configuration files to streamline the project structure.
20 lines
569 B
Bash
Executable File
20 lines
569 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "🚀 Deploying to staging..."
|
|
|
|
# EN: Verify KUBECONFIG environment variable is set
|
|
# VI: Xác minh biến môi trường KUBECONFIG đã được thiết lập
|
|
if [ -z "$KUBECONFIG" ]; then
|
|
echo "❌ KUBECONFIG environment variable not set"
|
|
exit 1
|
|
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 "✅ Deployment completed!"
|