*: add "update" target to makefile and use it in automatic updater
Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
committed by
Damien Grisonnet
parent
557dbd1a09
commit
efb33b36d1
4
Makefile
4
Makefile
@@ -36,6 +36,10 @@ vendor: $(JB_BIN) jsonnetfile.json jsonnetfile.lock.json
|
|||||||
crdschemas: vendor
|
crdschemas: vendor
|
||||||
./scripts/generate-schemas.sh
|
./scripts/generate-schemas.sh
|
||||||
|
|
||||||
|
.PHONY: update
|
||||||
|
update: $(JB_BIN)
|
||||||
|
$(JB_BIN) update
|
||||||
|
|
||||||
.PHONY: validate
|
.PHONY: validate
|
||||||
validate: crdschemas manifests $(KUBECONFORM_BIN)
|
validate: crdschemas manifests $(KUBECONFORM_BIN)
|
||||||
# Follow-up on https://github.com/instrumenta/kubernetes-json-schema/issues/26 if validations start failing
|
# Follow-up on https://github.com/instrumenta/kubernetes-json-schema/issues/26 if validations start failing
|
||||||
|
|||||||
Reference in New Issue
Block a user