Skip to content

[FEATURE] Use goreleaser for build workflows #224

Open

Description

@jeffreyaven

Feature Description
Current build and test workflows in GitHub Action use go.yml and lint.yml. We would like to move to goreleaser as a build and test framework, to automatically generate releases from tags.

Builds should include:

  • Windows AMD64
  • Darwin Universal (Fat) binary - ARM and AMD
  • Linux AMD64 and ARM64
  • Docker

Package artefacts should include:

  • Docker images pushed to dockerhub (see existing workflows)
  • Linux packages .deb, .rpm, .apk, and Archlinux packages
  • Chocolatey Windows packages

other artefacts are built offline (such as the Windows MSI file and MacOS PKG artefacts as these require external signing or notarization)

Example(s)
The following workflow file .github/workflows/goreleaser.yml has been created but not completed or implemented.

Activity

  1. Iqbalabdi commented on Oct 23, 2023

    @Iqbalabdi
    Contributor

    hey, may i take this issue?

  2. jeffreyaven commented on Oct 23, 2023

    @jeffreyaven
    MemberAuthor

    definitely @Iqbalabdi, I would be happy to work with you on the requirements for this one if you need any clarification, can you ⭐ the repo as well 🙏

  3. Iqbalabdi commented on Oct 24, 2023

    @Iqbalabdi
    Contributor

    got it. thank you @jeffreyaven. I will leave the comment here if I require any additional details.

  4. jeffreyaven commented on Nov 6, 2023

    @jeffreyaven
    MemberAuthor

    how are things going with this @Iqbalabdi let us know what you need

  5. Iqbalabdi commented on Nov 7, 2023

    @Iqbalabdi
    Contributor

    sorry @jeffreyaven, been busy lately. give me a week to put a progress on this issue

  6. Iqbalabdi commented on Nov 17, 2023

    @Iqbalabdi
    Contributor

    Hi @jeffreyaven , sorry for the delay. I'm wondering if it's really necessary to enable CGO, as it involves additional steps such as using Docker image from goreleaser-cross for cross-compiling the binary. Thanks in advance.

  7. general-kroll-4-life commented on Nov 18, 2023

    @general-kroll-4-life
    Contributor

    Hi @jeffreyaven , sorry for the delay. I'm wondering if it's really necessary to enable CGO, as it involves additional steps such as using Docker image from goreleaser-cross for cross-compiling the binary. Thanks in advance.

    @Iqbalabdi thanks for taking this on. I don't know much at all about goreleaser, however for stackql, we do need CGO for our embedded sqlite relational algebra engine. There are also some upcoming modules that will probably use CGO for lower level stuff. TL;DR because we effectively are a relational database management system, we need access to low lever primitives, ergo CGO.

  8. Iqbalabdi commented on Nov 27, 2023

    @Iqbalabdi
    Contributor

    Please review this PR. Thanks

  9. melihemreguler commented on Aug 19, 2024

    @melihemreguler

    Hello, what is the latest status on adding a build download option for Linux ARM64 at stackql releases.? Is there any progress?

  10. general-kroll-4-life commented on Aug 19, 2024

    @general-kroll-4-life
    Contributor

    @melihemreguler good question will look into it ASAP and come back

  11. general-kroll-4-life commented on Aug 19, 2024

    @general-kroll-4-life
    Contributor

    @melihemreguler this is step one: #453

    Wil take us a little while to get it published smoothly; shall update when possible 😎

  12. melihemreguler commented on Aug 20, 2024

    @melihemreguler

    @general-kroll-4-life Thank you for your quick action, I look forward to using it. 🏎️

  13. jeffreyaven commented on Aug 20, 2024

    @jeffreyaven
    MemberAuthor

    Hey @melihemreguler we will start including this build in each new release starting from the next one

  14. general-kroll-4-life commented on Aug 20, 2024

    @general-kroll-4-life
    Contributor

    @melihemreguler cheers 😎 Please give it a try and let us know any difficulties you experience

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions