Skip to content

Adds Release Doc#325

Merged
danehans merged 3 commits intoenvoyproxy:mainfrom
danehans:release_doc
Oct 17, 2022
Merged

Adds Release Doc#325
danehans merged 3 commits intoenvoyproxy:mainfrom
danehans:release_doc

Conversation

@danehans
Copy link
Copy Markdown
Contributor

@danehans danehans commented Aug 31, 2022

Adds a doc to guide a release manager through the process of cutting a release.

Requires: #546

Fixes #15

Signed-off-by: danehans daneyonhansen@gmail.com

@danehans danehans requested a review from a team as a code owner August 31, 2022 23:02
@danehans danehans added the documentation Improvements or additions to documentation label Aug 31, 2022
@danehans danehans added this to the 0.2.0-rc2 milestone Aug 31, 2022
@danehans danehans marked this pull request as draft September 1, 2022 16:28
@danehans
Copy link
Copy Markdown
Contributor Author

danehans commented Sep 1, 2022

Need to add a step for managing the changelog that includes higher-level info, API change/deprecation, new feature, etc.

@danehans danehans mentioned this pull request Sep 1, 2022
@danehans
Copy link
Copy Markdown
Contributor Author

danehans commented Sep 1, 2022

Add a step to remove short-lived release branch (if rc or patch release).

@danehans danehans changed the title Adds Release Doc WIP: Adds Release Doc Sep 1, 2022
@danehans danehans modified the milestones: 0.2.0-rc2, 0.2.0 Sep 27, 2022
@danehans danehans force-pushed the release_doc branch 3 times, most recently from 23dfd44 to 2494a06 Compare October 3, 2022 18:41
@danehans danehans changed the title WIP: Adds Release Doc Adds Release Doc Oct 3, 2022
@danehans danehans marked this pull request as ready for review October 3, 2022 21:52
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do we need 4. atm ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I believe we need a release branch for minor releases so we can a) backport bug fixes b) push PRs for release-specific changes, e.g. quickstart guide.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if 4. is not needed, the release branch language will need to be rm'd
also helpful to share an example here #481

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

See #325 (comment). Added an example with an xref to #481.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can this be combined with the above section with a note for line 4, saying if Release candidate add the rc.X suffix to the tag ?

Copy link
Copy Markdown
Contributor Author

@danehans danehans Oct 12, 2022

Choose a reason for hiding this comment

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

I did have both workflows initially combined, but I thought it started to get a bit convoluted as the steps began to deviate so I decided to create separate sections.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think it should have the .0. Once a n x.y.z comes out, any necessary patch releases to it will be x.y.(z+1), so they'd still be in the same x.y release train. And it'd be misleading for z≠0 patch releases to be on a release/vX.Y.0 branch.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@LukeShu this process is for a minor release. I would expect a patch release to be a separate documented process where we cherry-pick bug fixes to the release branch, tag the release branch with a new patch version and push the new tag to trigger the CI release process. Thoughts?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree with what you're saying @danehans, but in that case, I think it makes sense to name the release branches release/vx.y rather than release/vx.y.0, since vx.y.0 and any other vx.y.z versions will be tags inside the relese/vx.y branch.

Signed-off-by: danehans <daneyonhansen@gmail.com>
Signed-off-by: danehans <daneyonhansen@gmail.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Oct 14, 2022

Codecov Report

Merging #325 (c4bf1c3) into main (d36d140) will increase coverage by 0.65%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #325      +/-   ##
==========================================
+ Coverage   60.22%   60.87%   +0.65%     
==========================================
  Files          45       46       +1     
  Lines        5564     5570       +6     
==========================================
+ Hits         3351     3391      +40     
+ Misses       2006     1971      -35     
- Partials      207      208       +1     
Impacted Files Coverage Δ
internal/provider/kubernetes/tlsroute.go 53.02% <0.00%> (-0.69%) ⬇️
internal/provider/kubernetes/httproute.go 58.51% <0.00%> (-0.62%) ⬇️
internal/message/watchutil.go 100.00% <0.00%> (ø)
internal/xds/server/runner/runner.go 23.65% <0.00%> (+0.49%) ⬆️
internal/provider/kubernetes/gateway.go 51.53% <0.00%> (+0.76%) ⬆️
internal/provider/kubernetes/gatewayclass.go 75.36% <0.00%> (+2.89%) ⬆️
internal/xds/translator/runner/runner.go 86.20% <0.00%> (+86.20%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Signed-off-by: danehans <daneyonhansen@gmail.com>
@danehans danehans requested review from LukeShu and arkodg October 16, 2022 19:34
Copy link
Copy Markdown
Contributor

@youngnick youngnick left a comment

Choose a reason for hiding this comment

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

Aside from the small change about not including the patch version in the release branch name, this LGTM.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree with what you're saying @danehans, but in that case, I think it makes sense to name the release branches release/vx.y rather than release/vx.y.0, since vx.y.0 and any other vx.y.z versions will be tags inside the relese/vx.y branch.

@danehans
Copy link
Copy Markdown
Contributor Author

@youngnick thanks for the review. I'm going to merge this PR and resolve #325 (comment) shortly in a follow-up PR.

@danehans danehans merged commit 6a387d3 into envoyproxy:main Oct 17, 2022
@danehans danehans deleted the release_doc branch October 17, 2022 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a Release Plan

5 participants