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: Full revision of Goreleaser tasks #2672

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

sw360cab
Copy link
Contributor

@sw360cab sw360cab commented Aug 9, 2024

This PR has different purposes:

  • adding Gnofaucet to Goreleaser task (closes [ops] Add release flow for gnofaucet #2557)
  • moving Goreleaser from v 1.26 to v 2.1
  • reducing the verbosity of tasks by merging the different release types (latest, nightly, master) into a single goreleaser file
    • adding a fallbacked env variable called TAG_VERSION, which label the various docker images
    • adding the nightly subtask, which is ignored for latest releases
    • skipping publish for master release (NOTE: this part is the one TBC, because master release is using nightly too, but the variable tag_name unfortunately cannot be templated, let's see if it can make sense or if there is another workaround)
Contributors' checklist...
  • Added new tests, or not needed, or not feasible
  • Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory
  • Updated the official documentation or not needed
  • No breaking changes were made, or a BREAKING CHANGE: xxx message was included in the description
  • Added references to related issues and PRs
  • Provided any useful hints for running manual tests
  • Added new benchmarks to generated graphs, if any. More info here.

@sw360cab
Copy link
Contributor Author

sw360cab commented Aug 9, 2024

cc @ajnavarro

@sw360cab sw360cab changed the title [ops] Full revision of Goreleaser tasks ci: Full revision of Goreleaser tasks Aug 9, 2024
Copy link

codecov bot commented Aug 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.13%. Comparing base (bbcb2f6) to head (ee131f0).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2672      +/-   ##
==========================================
+ Coverage   60.11%   60.13%   +0.01%     
==========================================
  Files         560      560              
  Lines       74918    74918              
==========================================
+ Hits        45039    45049      +10     
+ Misses      26504    26495       -9     
+ Partials     3375     3374       -1     
Flag Coverage Δ
contribs/gnodev 61.40% <ø> (ø)
contribs/gnofaucet 15.31% <ø> (ø)
gno.land 64.17% <ø> (ø)
gnovm 64.13% <ø> (ø)
misc/genstd 80.54% <ø> (ø)
misc/logos 19.88% <ø> (ø)
tm2 61.99% <ø> (-0.05%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zivkovicmilos zivkovicmilos self-requested a review August 9, 2024 09:05
@zivkovicmilos zivkovicmilos added the 📦 ⛰️ gno.land Issues or PRs gno.land package related label Aug 9, 2024
@zivkovicmilos
Copy link
Member

adding a fallbacked env variable called TAG_VERSION, which label the various docker images

How would we use this?

Copy link
Member

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

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

Looks good 💯
Thank you for adding gnofaucet 🙏

Waiting on the final review from the release maestro @ajnavarro

.github/workflows/nightlies.yml Show resolved Hide resolved
.github/workflows/releaser-master.yml Outdated Show resolved Hide resolved
.github/goreleaser.yaml Outdated Show resolved Hide resolved
.github/goreleaser.yaml Outdated Show resolved Hide resolved
.github/workflows/releaser-master.yml Outdated Show resolved Hide resolved
.github/workflows/nightlies.yml Show resolved Hide resolved
@sw360cab
Copy link
Contributor Author

sw360cab commented Aug 9, 2024

How would we use this?

Check
.github/workflows/nightlies.yml
.github/workflows/releaser-master.yml

For tag release, it fallback to latest

@sw360cab sw360cab merged commit ff0c177 into gnolang:master Aug 12, 2024
116 checks passed
@sw360cab sw360cab deleted the fix/goreleaser2 branch August 12, 2024 16:50
MikaelVallenet pushed a commit to MikaelVallenet/gno that referenced this pull request Aug 17, 2024
This PR has different purposes:
* adding Gnofaucet to Goreleaser task (closes gnolang#2557)
* moving Goreleaser from v 1.26 to v 2.1
* reducing the verbosity of tasks by merging the different release types
(latest, nightly, master) into a single goreleaser file
* adding a fallbacked env variable called `TAG_VERSION`, which label the
various docker images
  * adding the `nightly` subtask, which is ignored for latest releases
* skipping publish for master release (NOTE: this part is the one TBC,
because `master` release is using nightly too, but the variable
`tag_name` unfortunately cannot be templated, let's see if it can make
sense or if there is another workaround)

<details><summary>Contributors' checklist...</summary>

- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [x] Provided any useful hints for running manual tests
- [x] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
linhpn99 pushed a commit to linhpn99/gno that referenced this pull request Aug 20, 2024
This PR has different purposes:
* adding Gnofaucet to Goreleaser task (closes gnolang#2557)
* moving Goreleaser from v 1.26 to v 2.1
* reducing the verbosity of tasks by merging the different release types
(latest, nightly, master) into a single goreleaser file
* adding a fallbacked env variable called `TAG_VERSION`, which label the
various docker images
  * adding the `nightly` subtask, which is ignored for latest releases
* skipping publish for master release (NOTE: this part is the one TBC,
because `master` release is using nightly too, but the variable
`tag_name` unfortunately cannot be templated, let's see if it can make
sense or if there is another workaround)

<details><summary>Contributors' checklist...</summary>

- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [x] Provided any useful hints for running manual tests
- [x] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 ⛰️ gno.land Issues or PRs gno.land package related
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[ops] Add release flow for gnofaucet
3 participants