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

Provide e2e testing based on kuttl #154

Merged
merged 13 commits into from
Dec 11, 2023
Merged

Provide e2e testing based on kuttl #154

merged 13 commits into from
Dec 11, 2023

Conversation

1995parham
Copy link
Contributor

@1995parham 1995parham commented Dec 9, 2023

Provide e2e testing using kuttl. Closes #59

@1995parham 1995parham marked this pull request as draft December 9, 2023 14:41
@1995parham
Copy link
Contributor Author

1995parham commented Dec 9, 2023

  • Provide NATS helm chart values
  • Deploy NACK using its helm chart and connect it to the deployed Jetstream cluster
  • Create a stream using NACK and validate the desired state
  • Deploy natsbox pod to validate stream creation using natscli

@1995parham
Copy link
Contributor Author

@wallyqs What do you think about the structure? Right now, it checks stream creation only. If you agree I can create the required Github actions too and then add more cases.

Only issue I need to track down is RBAC. NACK helm chart installs RBAC but they are not removed by helm uninstall so we get error when we run tests multiple times.

@wallyqs
Copy link
Member

wallyqs commented Dec 10, 2023

I think structure looks great, it is easy to follow what is happening in each of the steps.

@1995parham 1995parham marked this pull request as ready for review December 11, 2023 16:05
@1995parham
Copy link
Contributor Author

I think we can consider this finish for at least checking the stream creation. Here is the workflow result for e2e testing.

https://github.com/1995parham/nack/actions/runs/7170032922/job/19521815874

Copy link
Member

@wallyqs wallyqs left a comment

Choose a reason for hiding this comment

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

LGTM! 🙌

@wallyqs wallyqs merged commit f0a2c98 into nats-io:main Dec 11, 2023
2 checks passed
@wallyqs
Copy link
Member

wallyqs commented Dec 11, 2023

This is awesome, thanks @1995parham!

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.

Add e2e tests
2 participants