-
Notifications
You must be signed in to change notification settings - Fork 112
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
[SHACK-143] set the omnibus kitchen config to perform the omnibus build during converge #74
Conversation
omnibus/.kitchen.yml
Outdated
@@ -7,40 +7,32 @@ driver: | |||
cpus: 2 | |||
memory: 2048 | |||
storagectl: | |||
- name: SATA Controller | |||
- name: IDE Controller |
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.
most of the prevailing wisdom prefers SATA here, any specific reason for changing?
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.
My kitchen+vagrant+virtalbox was using IDE. 😬 But I can accept that this is my problem and take out this change.
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 fine with what works, was more curious if that was required/needed for a specific workaround/issue.
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've taken this change out for the moment, leaving SATA. Maybe others using this kitchen will shake out which is the sensible default.
|
||
depends 'omnibus' | ||
depends 'apt', '~> 2.8' | ||
depends 'freebsd', '~> 0.3' |
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.
If we're not supporting FreeBSD do we still need this?
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 do not!
Use a new cookbook to install the omnibus requirements and perform the build in a `kitchen converge <platform>`. Signed-off-by: Robb Kidd <robb@thekidds.org>
* update platforms for linuxes and versions intended to be supported; removes freebsd because it is not a platform supported initially * move the apt/yum default updating to the new builder cookbook default recipe where it can be handled with a case statement for platform * make the log level and build output configurable via attributes in the builder cookbook Signed-off-by: Robb Kidd <robb@thekidds.org>
09cb9db
to
f89ad7e
Compare
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 add's a new cookbook that handles the omnibus install requirements and then perform the build in a single
kitchen test <platform>
orkitchen converge <platform>
.Also: