fix(ci): add missing loop closures in deploy workflow
Add the required 'done' keywords at the end of for loops in the Kubernetes deployment steps for both EE and FOSS clusters to ensure proper script execution. Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
3ca6f78bed
commit
029376c3e4
1 changed files with 2 additions and 0 deletions
2
.github/workflows/release-deployment.yaml
vendored
2
.github/workflows/release-deployment.yaml
vendored
|
|
@ -81,6 +81,7 @@ jobs:
|
|||
SERVICE=$(echo $SERVICE | xargs) # Trim whitespace
|
||||
echo "Deploying $SERVICE to EE cluster with image tag: ${IMAGE_TAG}"
|
||||
kubectl set image deployment/$SERVICE-openreplay -n app $SERVICE=${IMAGE_REGISTRY_URL}/$SERVICE:${IMAGE_TAG}-ee
|
||||
done
|
||||
|
||||
- uses: azure/k8s-set-context@v1
|
||||
name: Using foss release cluster
|
||||
|
|
@ -97,3 +98,4 @@ jobs:
|
|||
echo "Deploying $SERVICE to FOSS cluster with image tag: ${IMAGE_TAG}"
|
||||
echo "Deploying $SERVICE to FOSS cluster with image tag: ${IMAGE_TAG}"
|
||||
kubectl set image deployment/$SERVICE-openreplay -n app $SERVICE=${IMAGE_REGISTRY_URL}/$SERVICE:${IMAGE_TAG}
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue