Skip to content

Make: Add helm-test target. #13652

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

Merged
merged 1 commit into from
Jul 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ test: ## Run go unit tests.
GOFLAGS="-buildvcs=false" \
test/test.sh

.PHONY: helm-test
helm-test: ## Run helm unit tests.
helm unittest charts/ingress-nginx --file "tests/**/*_test.yaml"

.PHONY: lua-test
lua-test: ## Run lua unit tests.
@build/run-in-docker.sh \
Expand Down
6 changes: 6 additions & 0 deletions docs/developer-guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ Valid values are defined in the describe definition of the e2e tests like [Defau

The complete list of tests can be found [here](../e2e-tests.md)

**Run Helm unit tests**

```console
make helm-test
```

### Custom docker image

In some cases, it can be useful to build a docker image and publish such an image to a private or custom registry location.
Expand Down