Skip to content

Commit

Permalink
Update prod-deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhilashKD authored Nov 27, 2024
1 parent 5933064 commit 71a74f8
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/prod-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,15 @@ jobs:
run: |
export ECR_REPOSITORY=${{ secrets.ECR_REPOSITORY }}
export IMAGE_TAG=${{ env.TAG }}
envsubst < manifest/backend.yaml > manifest/backend-updated.yaml
cat manifest/backend-updated.yaml
kubectl delete deployment backend
kubectl apply -f manifest/backend-updated.yaml
envsubst < manifest/workspace.yaml > manifest/workspace-updated.yaml
cat manifest/workspace-updated.yaml
rm -rf manifest/workspace-service.yaml
kubectl delete deployment shiksha-workspace
kubectl delete service shiksha-workspace
kubectl delete cm workspace-service-config
kubectl apply -f manifest/workspace-updated.yaml
kubectl apply -f manifest/configmap.yaml
sleep 10
kubectl get pods
kubectl get services
kubectl get deployment
kubectl get deployment

0 comments on commit 71a74f8

Please sign in to comment.