Make: Add `helm-test` target. (#13652)
Co-authored-by: marcel2012 <13705842+marcel2012@users.noreply.github.com>
This commit is contained in:
parent
d7c33ea648
commit
01d3d80cfd
4
Makefile
4
Makefile
|
|
@ -156,6 +156,10 @@ test: ## Run go unit tests.
|
||||||
GOFLAGS="-buildvcs=false" \
|
GOFLAGS="-buildvcs=false" \
|
||||||
test/test.sh
|
test/test.sh
|
||||||
|
|
||||||
|
.PHONY: helm-test
|
||||||
|
helm-test: ## Run helm unit tests.
|
||||||
|
helm unittest charts/ingress-nginx --file "tests/**/*_test.yaml"
|
||||||
|
|
||||||
.PHONY: lua-test
|
.PHONY: lua-test
|
||||||
lua-test: ## Run lua unit tests.
|
lua-test: ## Run lua unit tests.
|
||||||
@build/run-in-docker.sh \
|
@build/run-in-docker.sh \
|
||||||
|
|
|
||||||
|
|
@ -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)
|
The complete list of tests can be found [here](../e2e-tests.md)
|
||||||
|
|
||||||
|
**Run Helm unit tests**
|
||||||
|
|
||||||
|
```console
|
||||||
|
make helm-test
|
||||||
|
```
|
||||||
|
|
||||||
### Custom docker image
|
### 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.
|
In some cases, it can be useful to build a docker image and publish such an image to a private or custom registry location.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue