fix: check PostgreSQL readiness in deploy CI
This commit is contained in:
1 parent
ffee547b7d
commit
08ec58c7e9
4 files changed
+14
-1
No files matched your search
+1
-1
@@ -97,7 +97,7 @@ deploy:
|
||||
sed -E "s#image: reg.nyan404.ru/cwshed-clone/belki:[^[:space:]]+#image: $DOCKER_IMAGE_REPOSITORY:$CI_COMMIT_SHORT_SHA#g" deploy/k8s/production.yaml | kubectl apply -f -
|
||||
- >
|
||||
sed -E "s#image: reg.nyan404.ru/cwshed:[^[:space:]]+#image: $GATEWAY_IMAGE_REPOSITORY:$CI_COMMIT_SHORT_SHA#g" deploy/k8s/gateway.yaml | kubectl apply -f -
|
||||
- kubectl -n "$KUBE_NAMESPACE" rollout status deployment/belki-postgres --timeout=180s
|
||||
- kubectl -n "$KUBE_NAMESPACE" wait --for=condition=Ready pod -l app.kubernetes.io/name=belki-postgres --timeout=180s
|
||||
- kubectl -n "$KUBE_NAMESPACE" rollout status deployment/belki-web --timeout=180s
|
||||
- kubectl -n "$KUBE_NAMESPACE" rollout status deployment/belki-bot --timeout=180s
|
||||
- kubectl -n "$KUBE_NAMESPACE" rollout status deployment/cwshed --timeout=180s
|
||||
|
||||
Reference in new issue
Block a user