-
Notifications
You must be signed in to change notification settings - Fork 23
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
CHEF-14475-Hab path changes for chef-cli #238
Conversation
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Simplecov Report
|
Signed-off-by: nikhil2611 <[email protected]>
lib/chef-cli/helpers.rb
Outdated
dir = File.expand_path(File.join(paths)) | ||
raise OmnibusInstallNotFound.new unless dir && File.directory?(dir) | ||
def get_pkg_prefix | ||
pkg_name = "ngupta26/chef-cli" # Your origin and package name |
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.
This could potentially be various origins for the chef-cli pkg?
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.
Yeah correct, right now I have pushed this under my private origin ngupta26 for testing and installing from there. Going forward It should be something like chef/chef-cli, we will be needing to update these few things once we we publish our packages to the builder through pipelines. Thats why I kept this in draft state as of now.
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Quality Gate passedIssues Measures |
Quality Gate failedFailed conditions |
Description
Since moving to habitat component of chef-cli the omnibus_env will not be existing anymore. I have update and created habitat_env and fixed some commands like exec, env to pick hab env instead of omnibus.
Related Issue
https://progresssoftware.atlassian.net/browse/CHEF-14475
Types of changes
Checklist:
Gemfile.lock
has changed, I have used--conservative
to do it and included the full output in the Description above.