-
Notifications
You must be signed in to change notification settings - Fork 210
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
expand release process doc post-release steps, includes pin of Chef Client #722
Conversation
…lient These changes to post-release process will ensure the various components and dependencies bundled with Chef Server are kept up to date with the latest security and fixes. This will also ensure that these updates are done before work on the new release begins, so that we work through a full release cycle is done with the updates in place. This also locks the bundled Chef Client to the currently released stable version at the start of development for a new release.
- [ ] Perform `berks update` in `omnibus/` | ||
- [ ] Perform `bundle update` in: | ||
- [ ] `oc-chef-pedant/` | ||
- [ ] `src/oc-id/` |
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.
@smith How do you feel about this?
I think that is done implicitly with the bundle update in omnibus?
|
@marcparadise Darn I thought I had deleted my comment before you would see it. Yes, it does, I just failed to read :D :D |
@chef/chef-server-maintainers Thoughts? @mmzyk Is there a github SPOOL team, this would likely affect them too. |
@marcparadise Hrm, I have concerns about doing it right at release time. If we pull a bug in, we might not catch it before it goes out the door? We should consider pulling things in constantly if we are just gonna pull them all in when we release. Seems safer. |
To be clear, I generally agree we should be updating our deps regularly, I just think right before we release is exactly the wrong time to do so. |
Yeah, client teams moved to a model where no version bumps occur inside the omnibus software/project definitions right before a release because right before release, we kept pulling in a new bundler or rubygems or berkshelf or rubocop or something that had a regression that we then needed to patch and baby sit the builds through. I do like the part where we do berks update/bundle update in the omnibus directory though. We do need to regularly keep up with upstream changes to software definitions. I personally prefer letting it float and constantly get updates (like automatically picking up openssl or cacert or other security updates) but pulling it before a release should work too. |
- [ ] Bump the Chef Server version number for development to the next logical | ||
version number. | ||
- [ ] Update chef client to the latest stable chef-client version via | ||
`override :chef`. This may include updates to major and minor |
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.
Maybe this is implicit, but we should also override ohai. The default for both of these is to pull from master of chef/chef and chef/ohai and ohai has a circular dependency on the chef repo (to pull chef-config). Only during chef-client releases is there a good guarantee that all the versions agree without random duplicate gems.
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'm not actually seeing chef locked atm. Is that coming in a separate PR @marcparadise?
@chef/chef-server-maintainers Let's decide on the path forward for versioning and pinning. To me the main question is: What policy has the lowest support burden for the SPOOL team or other feature teams who need to release chef-server. |
|
||
- [ ] in `omnibus/config/projects/chef-server.rb`: | ||
- [ ] Bump the Chef Server version number for development to the next logical | ||
version number. |
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.
Might wanna note that people can just look on downloads.chef.io/chef-dk
to see what the latest version is.
@chef/chef-server-maintainers Let's figure out what part of these updates we still want and get it merged. Personally, right now I'm feeling kinda 👎 on the automatic |
I'm going to close this out since the release process docs are supposed to cover the currently-followed release process and many of the edits here don't apply anymore. If we want to pursue post-release version bumping, we should look into creating an expeditor trigger for them. |
These changes to post-release process will ensure the various components
and dependencies bundled with Chef Server are kept up to date with the
latest security and bug fixes. Making these part of the post-release process
also ensures that the changes are in place before work on the new release begins,
so that we work through a full release with the updates in place.
This also locks the bundled Chef Client to the currently released stable
version at the start of development for a new release.