Skip to content

Commit

Permalink
Update gen script
Browse files Browse the repository at this point in the history
  • Loading branch information
corest committed Jun 18, 2024
1 parent e3d6a0e commit b7aaeca
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 49 deletions.
2 changes: 1 addition & 1 deletion deploy/kubernetes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MANIFESTS = $(or $(shell printenv MANIFESTS), manifests)

.PHONY: gen-complete-demo
gen-complete-demo:
awk '{print}' $(shell find ${MANIFESTS} -type f | sort) > complete-demo.yaml
find ${MANIFESTS} -type f -name '*.yaml' | sort | xargs awk 'NR==1{print "---"} FNR==1 && NR!=1{print "---"} {print}' > complete-demo.yaml
.PHONY: check-complete-demo
check-complete-demo:
awk '{print}' $(shell find ${MANIFESTS} -type f | sort) | diff complete-demo.yaml -
Expand Down
Loading

0 comments on commit b7aaeca

Please sign in to comment.