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

feat(test): print out glasskube-operator logs when the e2e tests fail #291

Merged
merged 2 commits into from
Sep 5, 2023

Conversation

muecahit94
Copy link
Contributor

No description provided.

@pmig pmig requested a review from kosmoz September 4, 2023 14:05
e2e/Makefile Outdated
@@ -1,3 +1,3 @@
.PHONY: test
test:
kubectl kuttl test --start-kind=false ./kuttl --config=./kuttl/kuttl-test.yaml
kubectl kuttl test --start-kind=false ./kuttl --config=./kuttl/kuttl-test.yaml && echo "test successfully done!" || kubectl logs -n glasskube-operator deployments/glasskube-operator
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this command still exit with code 1 or will we see false positive "successful" GitHub Action?

Copy link
Member

@kosmoz kosmoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@pmig pmig self-requested a review September 5, 2023 08:30
@pmig pmig merged commit 7712317 into glasskube:main Sep 5, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants