refactor: Jenkinsfile - 경로 수정

This commit is contained in:
OhSeongRak 2025-06-17 11:32:12 +09:00
parent e3d368fcb4
commit b2aa6341e7

View File

@ -132,19 +132,19 @@ podTemplate(
export azure_storage_account_key=\$AZURE_STORAGE_ACCOUNT_KEY export azure_storage_account_key=\$AZURE_STORAGE_ACCOUNT_KEY
# manifest 생성 # manifest 생성
envsubst < deployment/${manifest}.template > deployment/${manifest} envsubst < smarketing-ai/deployment/${manifest}.template > smarketing-ai/deployment/${manifest}
echo "Generated manifest file:" echo "Generated manifest file:"
cat deployment/${manifest} cat smarketing-ai/deployment/${manifest}
""" """
} }
} }
container('azure-cli') { container('azure-cli') {
sh """ sh """
kubectl apply -f deployment/${manifest} kubectl apply -f smarketing-ai/deployment/${manifest}
echo "Waiting for smarketing deployment to be ready..." echo "Waiting for smarketing deployment to be ready..."
kubectl -n ${namespace} wait --for=condition=available deployment/smarketing --timeout=300s kubectl -n ${namespace} wait --for=condition=available smarketing-ai/deployment/smarketing --timeout=300s
echo "==========================================" echo "=========================================="
echo "Getting LoadBalancer External IP..." echo "Getting LoadBalancer External IP..."