24 lines
596 B
Makefile
24 lines
596 B
Makefile
.PHONY: prepare-environment
|
|
prepare-environment:
|
|
npm install
|
|
|
|
.PHONY: readme
|
|
readme: prepare-environment
|
|
npm run readme:parameters
|
|
npm run readme:lint
|
|
|
|
.PHONY: unittests
|
|
unittests: unittests-helm unittests-bash
|
|
|
|
.PHONY: unittests-helm
|
|
unittests-helm:
|
|
helm unittest --strict -f 'unittests/helm/**/*.yaml' -f 'unittests/helm/dependency-major-image-check.yaml' -f 'unittests/helm/values-conflicting-checks.yaml' ./
|
|
|
|
.PHONY: unittests-bash
|
|
unittests-bash:
|
|
./unittests/bash/bats/bin/bats --pretty ./unittests/bash/tests/**/*.bats
|
|
|
|
.PHONY: helm
|
|
update-helm-dependencies:
|
|
helm dependency update
|
|
|