8000 binaries for releases · Issue #31 · jsha/minica · GitHub
[go: up one dir, main page]

Skip to content

binaries for releases #31

Open
Open

Description

@drnic

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

Activity

  1. jsha commented on Nov 12, 2019

    @jsha
    Owner

    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!

  2. fopina commented on May 16, 2020

    @fopina

    #41 to the rescue? :)

  3. ctrlcctrlv commented on Dec 17, 2022

    @ctrlcctrlv

    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
  4. fopina commented on Dec 17, 2022

    @fopina

    @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

  5. ctrlcctrlv commented on Dec 17, 2022

    @ctrlcctrlv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0