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

Helm Chart Integration Tests #27

Closed
arm4b opened this issue Oct 9, 2018 · 0 comments · Fixed by #71
Closed

Helm Chart Integration Tests #27

arm4b opened this issue Oct 9, 2018 · 0 comments · Fixed by #71

Comments

@arm4b
Copy link
Member

arm4b commented Oct 9, 2018

See https://github.com/helm/helm/blob/master/docs/chart_tests.md for how to write and run Helm chart integration tests. This will run end-to-end tests on a real deployment and may be used as a way to ensure that installation went well.

helm test:

The test command runs the tests for a release.

The argument this command takes is the name of a deployed release.
The tests to be run are defined in the chart that was installed.

Usage:
  helm test [RELEASE] [flags]

Flags:
      --cleanup               delete test pods upon completion
      --timeout int           time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM_HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM_HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM_HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Global Flags:
      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM_HOME (default "/home/arma/.helm")
      --host string                     address of Tiller. Overrides $HELM_HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")
@arm4b arm4b changed the title Helm Chart tests Helm Chart Integration tests Oct 9, 2018
@arm4b arm4b changed the title Helm Chart Integration tests Helm Chart Integration Tests Oct 9, 2018
@arm4b arm4b added this to the prod (v3.0) milestone Oct 11, 2018
@arm4b arm4b closed this as completed in #71 Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant