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

Build releases using GoReleaser #375

Merged
merged 2 commits into from
Jul 16, 2022
Merged

Conversation

jmatias
Copy link
Member

@jmatias jmatias commented Jul 11, 2022

No description provided.

@codecov
Copy link

codecov bot commented Jul 11, 2022

Codecov Report

Merging #375 (04598fe) into master (2bd2e0d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #375   +/-   ##
=======================================
  Coverage   69.72%   69.72%           
=======================================
  Files          33       33           
  Lines        1559     1559           
=======================================
  Hits         1087     1087           
  Misses        439      439           
  Partials       33       33           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2bd2e0d...04598fe. Read the comment docs.

@jmatias
Copy link
Member Author

jmatias commented Jul 12, 2022

Fix main.Version reference in goreleaser.yml

@jmatias jmatias force-pushed the goreleaser branch 2 times, most recently from e52c8de to 1ff560e Compare July 12, 2022 19:51
Copy link
Collaborator

@svishwanath-tw svishwanath-tw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be neat to see how UPX fits into this.

.goreleaser-schema.json Outdated Show resolved Hide resolved
Copy link
Collaborator

@svishwanath-tw svishwanath-tw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmatias : Please remove the schema json from the PR.

@svishwanath-tw
Copy link
Collaborator

@jmatias : At this point, the only thing preventing approval/merge is the increased binary size on non arm machines. Talisman build scripts used UPX to make the binary as small as can be.
My worry in going ahead is that a lot of github issues will be created asking to reduce the binary size again. Thoughts ?

@jmatias
Copy link
Member Author

jmatias commented Jul 15, 2022

@jmatias : At this point, the only thing preventing approval/merge is the increased binary size on non arm machines. Talisman build scripts used UPX to make the binary as small as can be.
My worry in going ahead is that a lot of github issues will be created asking to reduce the binary size again. Thoughts ?

Regardless of GoReleaser, the issue would still be there for ARM (though they are working on it, we could try building the source code from their main branch)

That being said, 8 MB nowadays does not feel like a whole lot — I would argue that it's acceptable for now until we find a way to either tap into the build hooks or do it post release. (And by that I mean just doing an empty release and then writing something ourselves that uploads the binaries).

I vote for keeping the 8 MB binaries for now.

@svishwanath-tw svishwanath-tw self-requested a review July 15, 2022 20:28
@jmatias jmatias merged commit 857bab0 into thoughtworks:master Jul 16, 2022
@jmatias jmatias deleted the goreleaser branch July 16, 2022 04:35
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.

2 participants