29 lines
731 B
Makefile
29 lines
731 B
Makefile
ACTIONS := \
|
|
docker \
|
|
node \
|
|
git/create_tag \
|
|
helm/diff \
|
|
helm/template \
|
|
helm/upgrade \
|
|
infisical/fetch-secret \
|
|
infra/update_version \
|
|
kubectl/configure \
|
|
test/npm \
|
|
trivy/image_scan \
|
|
trivy/namespace_scan
|
|
|
|
.PHONY: help docs
|
|
|
|
help: ## Show this help
|
|
@awk 'BEGIN {FS = ":.*##"; printf "Usage: make \033[36m<target>\033[0m [REGION=us-east-2]\n"} \
|
|
/^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0,5) } \
|
|
/^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-16s\033[0m %s\n", $$1, $$2 }' \
|
|
$(MAKEFILE_LIST)
|
|
|
|
##@ Setup
|
|
docs: ## Create litellm-secrets (prompts for master_key)
|
|
@for dir in $(ACTIONS); do \
|
|
echo "Generating docs for $$dir"; \
|
|
(cd $$dir && action-docs --no-banner --update-readme README.md); \
|
|
done
|