feat: speed up pre-commit (#12)
- move kubeconform job to makefile - add CI job to run make kubeconform Reviewed-on: #12
This commit was merged in pull request #12.
This commit is contained in:
@@ -6,6 +6,11 @@ build:
|
||||
@mkdir -p manifests/$(filter-out $@,$(MAKECMDGOALS))
|
||||
@kustomize build --enable-helm $(filter-out $@,$(MAKECMDGOALS)) --output manifests/$(filter-out $@,$(MAKECMDGOALS))
|
||||
|
||||
# kubeconform
|
||||
kubeconform:
|
||||
@ci/validate-apps.sh && \
|
||||
ci/validate-clusters.sh
|
||||
|
||||
# Clean all generated manifests
|
||||
clean:
|
||||
@rm -rf manifests/
|
||||
|
||||
Reference in New Issue
Block a user