mirror of
https://github.com/won-ktds/smarketing-backend.git
synced 2025-12-06 15:16:23 +00:00
refactor: Jenkinsfile - 경로 수정
This commit is contained in:
parent
e3d368fcb4
commit
b2aa6341e7
8
smarketing-ai/deployment/Jenkinsfile
vendored
8
smarketing-ai/deployment/Jenkinsfile
vendored
@ -132,19 +132,19 @@ podTemplate(
|
||||
export azure_storage_account_key=\$AZURE_STORAGE_ACCOUNT_KEY
|
||||
|
||||
# manifest 생성
|
||||
envsubst < deployment/${manifest}.template > deployment/${manifest}
|
||||
envsubst < smarketing-ai/deployment/${manifest}.template > smarketing-ai/deployment/${manifest}
|
||||
echo "Generated manifest file:"
|
||||
cat deployment/${manifest}
|
||||
cat smarketing-ai/deployment/${manifest}
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
container('azure-cli') {
|
||||
sh """
|
||||
kubectl apply -f deployment/${manifest}
|
||||
kubectl apply -f smarketing-ai/deployment/${manifest}
|
||||
|
||||
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 "Getting LoadBalancer External IP..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user