Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the verify-serverless target logging #633

Merged
merged 2 commits into from
Jan 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions components/operator/hack/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,14 @@ verify-serverless: ## Wait for Serverless CR to be in Ready state.
# wait some time to make sure operator starts the reconciliation first
sleep 5

kubectl wait --for condition=Available -n kyma-system deployment serverless-operator --timeout=60s
@./verify_serverless_status.sh
kubectl wait --for condition=Available -n kyma-system deployment serverless-ctrl-mngr --timeout=60s
kubectl wait --for condition=Available -n kyma-system deployment serverless-operator --timeout=60s || \
(kubectl get -n kyma-system deployment serverless-operator -oyaml && false)

@./verify_serverless_status.sh || \
(kubectl get -n kyma-system serverless default -oyaml && false)

kubectl wait --for condition=Available -n kyma-system deployment serverless-ctrl-mngr --timeout=60s || \
(kubectl get -n kyma-system deployment serverless-ctrl-mngr -oyaml && false)

.PHONY: verify-kyma
verify-kyma: ## Wait for Kyma CR to be in Ready state.
Expand Down