Skip to content

CICD-165 · Run Helm test hooks ​

Encyclopedia · Helm release engineering · All snippets

Previous · CICD-164 · Next · CICD-166

1. Where it fits ​

  • Placement Bash run step following checkout, or equivalent lab terminal.
  • Prerequisites Helm 3, reviewed values and staging cluster when applying charts.
  • Platforms kubernetes, local-lab.

2. Copy the snippet ​

bash
helm test web -n staging --logs --timeout 3m

3. How it works ​

The command runs the release's declared test hooks, which need to exercise the actual deployed Service.

4. Verify the result ​

Provide chart test hooks that target the actual Service and clean up finished Pods.

Validation syntax-validated (Bash parse). Status definitions.