-
Notifications
You must be signed in to change notification settings - Fork 107
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
A first cut of automated releases using goreleaser #226
Conversation
This commit enables keyless signatures via the Github Actions workload identity. The pipeline will run on a new tag and will generate a compiled cli and server version of TUF and a signed source tarball. The keys are ephemeral and valid for 30min and strictly coupled to the workload identity of the Github Actions workflow. Transparency logs will be automatically uploaded to the public rekor instance
Pull Request Test Coverage Report for Build 1891098152
💛 - Coveralls |
@trishankatdatadog: Thanks again for working on that! 🥳 About the 2nd point, Changelog, does what we have in #215 cover what you have in mind for stating any incompatible changes in the PR description or we need something more detailed? |
Thank you for working on this! Which of the checklist items must happen before we merge this PR, and which can be filed as separate issues? Do we need to tag current state before we merge this, so that there's a baseline to compare against?
Can you expand on this a bit? Is the goal to be able to make pre-releases with a tagging convention?
Isn't SemVer the convention, i.e., we have not made a commitment to any kind of stable API. We aim to highlight backwards incompatible changes in the Changlog, but until such a time as we make a 1.0 release those changes may happen at any arbitrary release.
We can/should test on a personal fork. |
I suppose it does if every PR's description in its entirety is copied into the changelog, no? |
Yes we should
Yes
The last bit must have slipped my mind. So, perfect, we can stick to 0.MINOR.PATCH for now and still make breaking releases
👍🏽 So are we nearly done here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we're nearly done here. Someone (happy to do it Thursday/Friday if no one else volunteers) should tag the current state (as 0.1.0 or some other version?) and then we can merge this.
cc @theupdateframework/go-tuf-maintainers please take a look!
contents: write | ||
runs-on: ubuntu-latest | ||
needs: test | ||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: might be simpler to have this in a separate workflow with on: push: tags
?
@trishankatdatadog - Oh, I see. Well, from what I found A possible solution is to leverage the |
Ok, sounds good. @joshuagl @rdimitrov can you both pls help finish this PR? I'm afraid I don't have the time this week or the next... |
I just tagged v0.1.0. @rdimitrov and/or myself will finish up this PR early next week. |
Note: @developer-guy reached out to help, but he doesn't have collaborator access to this repo. It's ok, Joshua and Radoslav can take over. Thanks, everyone! |
Closed by #234 |
Thanks to #157 for inspiration (dropped SBOMs and signing now for simplicity).
Checklist:
Deferred: