Make: Add `helm-test` target. (#13652)

Co-authored-by: marcel2012 <13705842+marcel2012@users.noreply.github.com>
This commit is contained in:
Marcel 2025-07-23 10:30:28 +02:00 committed by GitHub
parent d7c33ea648
commit 01d3d80cfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -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 \

View File

@ -88,6 +88,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.