Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile help #246

Merged
merged 1 commit into from
Jan 10, 2021
Merged

Makefile help #246

merged 1 commit into from
Jan 10, 2021

Conversation

ytsarev
Copy link
Member

@ytsarev ytsarev commented Jan 9, 2021

Looks like this:

$ make help
debug-test-etcd      Run temporary etcd pod for debug
demo-failover        Execute failover demo
demo-roundrobin      Execute round-robin demo
deploy-full-local-setup Deploy full local multicluster setup
deploy-gslb-cr       Apply Gslb Custom Resources
deploy-gslb-operator Deploy k8gb operator
deploy-test-apps     Deploy testing workloads
destroy-full-local-setup Destroy full local multicluster setup
dns-tools            Run temporary dnstools pod for debugging DNS issues
help                 Show this help

Signed-off-by: Yury Tsarev [email protected]

* Document developer facing make targets in convenient `make help`
* Inspired by https://victoria.dev/blog/how-to-create-a-self-documenting-makefile/

Looks like this:
```
$ make help
debug-test-etcd      Run temporary etcd pod for debug
demo-failover        Execute failover demo
demo-roundrobin      Execute round-robin demo
deploy-full-local-setup Deploy full local multicluster setup
deploy-gslb-cr       Apply Gslb Custom Resources
deploy-gslb-operator Deploy k8gb operator
deploy-test-apps     Deploy testing workloads
destroy-full-local-setup Destroy full local multicluster setup
dns-tools            Run temporary dnstools pod for debugging DNS issues
help                 Show this help
```

Signed-off-by: Yury Tsarev <[email protected]>
@kuritka
Copy link
Collaborator

kuritka commented Jan 10, 2021

good idea 👍

@ytsarev ytsarev merged commit d1d7329 into master Jan 10, 2021
@ytsarev ytsarev deleted the makehelp branch January 10, 2021 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants