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

ci: Add goreleaser workflow #2040

Merged
merged 3 commits into from
Nov 15, 2023

Conversation

fredcarle
Copy link
Collaborator

@fredcarle fredcarle commented Nov 11, 2023

Relevant issue(s)

Resolves #2039

Description

This PR adds a Goreleaser workflow to automate the publication of releases on Github and DockerHub.

Note that the release header and the milestone name should be updated manually for every release.

This is what the release would look like on Github:
Screenshot 2023-11-10 at 8 55 10 PM
Screenshot 2023-11-10 at 8 55 57 PM

Tasks

  • I made sure the code is well commented, particularly hard-to-understand areas.
  • I made sure the repository-held documentation is changed accordingly.
  • I made sure the pull request title adheres to the conventional commit style (the subset used in the project can be found in tools/configs/chglog/config.yml).
  • I made sure to discuss its limitations such as threats to validity, vulnerability to mistake and misuse, robustness to invalidation of assumptions, resource requirements, ...

How has this been tested?

With Goreleaser locally and through the CI on my defradb fork.

Specify the platform(s) on which this was tested:

  • Debian Linux
  • MacOS

@fredcarle fredcarle added the ci/build This is issue is about the build or CI system, and the administration of it. label Nov 11, 2023
@fredcarle fredcarle added this to the DefraDB v0.8 milestone Nov 11, 2023
@fredcarle fredcarle requested a review from a team November 11, 2023 01:50
@fredcarle fredcarle self-assigned this Nov 11, 2023
@fredcarle fredcarle force-pushed the fredcarle/feat/goreleaser branch 2 times, most recently from ff72790 to 2d46850 Compare November 11, 2023 02:04
Copy link

codecov bot commented Nov 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (87415d6) 73.84% compared to head (46e0373) 73.90%.
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2040      +/-   ##
===========================================
+ Coverage    73.84%   73.90%   +0.06%     
===========================================
  Files          248      248              
  Lines        24801    24801              
===========================================
+ Hits         18312    18328      +16     
+ Misses        5226     5213      -13     
+ Partials      1263     1260       -3     
Flag Coverage Δ
all-tests 73.90% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 8 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

.goreleaser.yaml Outdated Show resolved Hide resolved
.goreleaser.yaml Outdated Show resolved Hide resolved
.goreleaser.yaml Outdated Show resolved Hide resolved
.goreleaser.yaml Outdated Show resolved Hide resolved
Copy link
Member

@jsimnz jsimnz left a comment

Choose a reason for hiding this comment

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

LGTM

@fredcarle fredcarle merged commit b6f7a10 into sourcenetwork:develop Nov 15, 2023
30 checks passed
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
## Relevant issue(s)

Resolves sourcenetwork#2039 

## Description

This PR adds a Goreleaser workflow to automate the publication of
releases on Github and DockerHub.

Note that the release header and the milestone name should be updated
manually for every release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/build This is issue is about the build or CI system, and the administration of it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automate new version release
3 participants