mirror of
https://github.com/won-ktds/smarketing-backend.git
synced 2025-12-06 07:06:24 +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
|
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..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user