-
Notifications
You must be signed in to change notification settings - Fork 116
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
Package new chef-analyze
binary
#553
Package new chef-analyze
binary
#553
Conversation
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.
Let's get this through a pipeline build now that the changes are all in, then we're good to merge.
@@ -99,6 +99,11 @@ | |||
dependency "uninstall-scripts" | |||
dependency "ruby-cleanup" | |||
|
|||
dependency "go" |
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.
you shouldn't need the go dependency here if the analyze project config also deps on it
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.
We discussed this and wanted to make it explicit because there's no clear indication of what's installing the go binary, or even if it's installed, at the time we add the cleanup dependency further down. It was more for humans than for omnibus.
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.
What Marc said ☝️ -- Though, I would like to ask @tyler-ball for his point of view. This is just a matter of clarity for the team since now we will be shipping Ruby, Rust and Go binaries.
15fa4e3
to
d0b6fbc
Compare
The usage here is to enable our pipeline to check if the chef-analyze command was built and install and runs. (Minimal check) chef/chef-workstation#553 Signed-off-by: Salim Afiune <afiune@chef.io>
@marcparadise The adhoc build passed! Though we made a mistake with the
I have fixed it and will add a test to verify we are shipping it correctly. 💯 |
Another Build with the right extension: https://buildkite.com/chef/chef-chef-workstation-master-omnibus-adhoc/builds/106#f093266c-5971-4335-bc8b-504b0cd4390d |
Depends on chef/omnibus-software#1098 Signed-off-by: Salim Afiune <afiune@chef.io>
For the chef-analyze software definition, have the command to be similar for both, Unix and Windows. When adding the dependency to the Chef Workstation project, be also explicit to depend on go and then uninstall it. Signed-off-by: Salim Afiune <afiune@chef.io>
Signed-off-by: Salim Afiune <afiune@chef.io>
Signed-off-by: Salim Afiune <afiune@chef.io>
3b45cc7
to
ab26b12
Compare
Description
Package the new
chef-analyze
Go binary. (https://github.com/chef/chef-analyze)Signed-off-by: Salim Afiune afiune@chef.io
Related Issue
GH Issue: #552
Depends on chef/omnibus-software#1098
Types of changes
Checklist: