minica
minica copied to clipboard
binaries for releases
For future releases, could we include pre-compiled binaries?
I should have asked earlier rather than wait til I needed it. In lieu of this repo currently shipping binaries, I've created a new repo that will house the binaries (currently for linux/macos) for anyone who wants them (plus the CI pipeline to show how they are built).
https://github.com/starkandwayne/minica-binaries/releases
I've also bundled these pre-compiled binaries into homebrew tap + a debian package if they are useful to anyone. See https://github.com/starkandwayne/minica-binaries readme.
If you like these and want them mentioned in the README here, I'll submit a PR.
Thanks for minica!
FYI - I'm using the pre-compiled binaries in my helm-manager up
script to automatically generate TLS certs for Tiller https://github.com/starkandwayne/helm-tiller-manager/blob/master/bin/helm-manager#L47-L61
Thanks very much for the suggestion, and for taking the initiative to build a CI pipeline. I like it, and will aim to incorporate it into the official repo and make binaries available.
Glad you enjoy the tool!
#41 to the rescue? :)
I'm doing this in minica2
. https://github.com/ctrlcctrlv/minica2.go/releases/tag/v1.0.1
I provide these binaries:
find dist -iname '*.tar*' | cut -c 6-
minica2.v1.0.1.arm64.darwin.tar.zstd
minica2.v1.0.1.x86.windows.exe.tar.zstd
minica2.v1.0.1.x86_64.darwin.tar.zstd
minica2.v1.0.1.arm.linux.tar.zstd
minica2.v1.0.1.arm64.linux.tar.zstd
minica2.v1.0.1.x86.linux.tar.zstd
minica2.v1.0.1.x86_64.windows.exe.tar.zstd
minica2.v1.0.1.x86_64.linux.tar.zstd
I do it via Makefile:
.PHONY:
dist:
rm -rf dist && mkdir dist && $(MAKE) -j$(shell nproc) bdist && \
find dist -executable -type f | parallel tar --zstd -c -v -f {}.tar.zstd {}
.PHONY:
bdist:
GOOS=darwin GOARCH=amd64 go build -o dist/$(GOBIN).v$(VERSION).x86_64.darwin
GOOS=linux GOARCH=amd64 go build -o dist/$(GOBIN).v$(VERSION).x86_64.linux
GOOS=windows GOARCH=amd64 go build -o dist/$(GOBIN).v$(VERSION).x86_64.windows.exe
GOOS=linux GOARCH=386 go build -o dist/$(GOBIN).v$(VERSION).x86.linux
GOOS=windows GOARCH=386 go build -o dist/$(GOBIN).v$(VERSION).x86.windows.exe
GOOS=linux GOARCH=arm64 go build -o dist/$(GOBIN).v$(VERSION).arm64.linux
GOOS=darwin GOARCH=arm64 go build -o dist/$(GOBIN).v$(VERSION).arm64.darwin
GOOS=linux GOARCH=arm go build -o dist/$(GOBIN).v$(VERSION).arm.linux
@ctrlcctrlv feel free to use that github action in #41 to get all the assets compiled and published upon tagging like https://github.com/fopina/minica/releases/tag/v1.0.2-1
@fopina Thanks! :) Done in:
- ctrlcctrlv#2.