pingcap / failpoint

An implementation of failpoints for Golang.
Apache License 2.0
817 stars 63 forks source link

Create Release Binary amd and Darwin #57

Closed rahul8590 closed 1 year ago

rahul8590 commented 4 years ago

Feature Request

Is your feature request related to a problem? Please describe:

Yes

Describe the feature you'd like:

Release tags and binary for failpoint.

Describe alternatives you've considered:

Create git tags and release binary for both linux and mac builds? Its easier for download the builds directly from github and include in CI/CD pipelines as apposed to clone the entire repo and make builds.

Teachability, Documentation, Adoption, Optimization:

Users wanting to include failopint in their build pipelines , could directly curl/wget the tar files from github and use failpoint-ctl enable in their repository. Its much simpler that way , instead of cloning the entire repo and making builds manually.

bjwang112006 commented 2 years ago

go build -o failpoint-ctl.exe failpoint-ctl/main.go

tisonkun commented 1 year ago

I can install on Mac M1 with:

go install github.com/pingcap/failpoint/failpoint-ctl@latest

Golang is portable so here should not be any barrier.