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

Automated testing #11

Open
dtuite opened this issue Mar 18, 2020 · 2 comments · Fixed by #14
Open

Automated testing #11

dtuite opened this issue Mar 18, 2020 · 2 comments · Fixed by #14
Assignees
Labels
pipeline Relating to the build pipeline or releases.

Comments

@dtuite
Copy link
Member

dtuite commented Mar 18, 2020

Builds should be automatically tested against a Kubernetes cluster.

  1. Create a cluster
  2. Install KubeWise
  3. Perform Helm operations
  4. Ensure the output is as expected
@dtuite dtuite added the pipeline Relating to the build pipeline or releases. label Mar 18, 2020
@dtuite
Copy link
Member Author

dtuite commented Mar 18, 2020

Two reasonable options for this might be Kind or microk8s.

https://kind.sigs.k8s.io/

https://microk8s.io/

@dtuite dtuite linked a pull request Mar 18, 2020 that will close this issue
@dtuite dtuite self-assigned this Mar 18, 2020
@dtuite
Copy link
Member Author

dtuite commented Mar 18, 2020

Merged one pull request for this to get a basic integration test working. Still more to do.

  • Assert that the output which is sent to Slack is correct. Currently, a manual visual inspection is required and I'm the only person who can see the Slack channel.
  • Perform an upgrade in the tests. Currently I'm just doing install and uninstall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pipeline Relating to the build pipeline or releases.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant