-
Notifications
You must be signed in to change notification settings - Fork 214
Drop chef gem dependency from oc-chef-pedant #4122
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
Conversation
👷 Deploy Preview for chef-server processing.
|
552bbd7 to
59d15c5
Compare
…s dependency, add activesupport as direct dependency which used to pulled in via chef since it is widely using concern implementation Signed-off-by: neha-p6 <[email protected]>
3b29270 to
07a733a
Compare
|
|
|
Verify https://buildkite.com/chef/chef-chef-server-main-verify/builds/12292 Errors in verify pipeline are also being seen on main adhoc https://buildkite.com/chef/chef-chef-server-main-omnibus-adhoc/builds/7847 |
sreepuramsudheer
left a comment
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.
Looks good to me.








Description
Remove
chefgem fromoc-chef-pedantGemfile as the only reason chef gem was being used is to get KNIFE::VERSION via chef version but this ended up pulling entire chef dependency chain just get version number of chef (which was anyway hardcoded in Gemfile) did not make sense. This also ended up causing a circular dependency between chef -> chef-zero -> oc-chef-pedant also pulling chef18 in chef19 via oc-chef-pedant. So we will remove the chef gem dependency from here, getting rid of all the nested dependencies.Removing chef gem will also remove
activesupportdependency fromoc-chef-pedant. Butoc-chef-pedantinternally is usingactivesupport/concerta lot in specs, even though activesupport was not a direct dependency for it. So we will addactivesupportas direct dependency of oc-chef-pedant so that specs continue to work. Later on team can look into getting rid of activesupport which requires modifications to specs as activesupport/concert implementation will need to be replaced.Pull chef-zero from github main branch instead of gem since there are fixes in there which are not released yet so that pipelines here continue to work
[Please describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussions that are relevant]
Check List