Skip to content
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

Merged
merged 2 commits into from
Apr 12, 2018

Conversation

robbkidd
Copy link
Contributor

This add's a new cookbook that handles the omnibus install requirements and then perform the build in a single kitchen test <platform> or kitchen converge <platform>.

Also:

  • update platforms for linuxes and versions we intend to support
  • 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
  • I think IDE is the default controller type in Vagrant/Virtualbox, so use that.

@robbkidd robbkidd requested a review from a team April 11, 2018 20:26
@robbkidd robbkidd changed the title set the omnibus kitchen config to perform the omnibus build during converge [SHACK-143] set the omnibus kitchen config to perform the omnibus build during converge Apr 11, 2018
@@ -7,40 +7,32 @@ driver:
cpus: 2
memory: 2048
storagectl:
- name: SATA Controller
- name: IDE Controller

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?

Copy link
Contributor Author

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.

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.

Copy link
Contributor Author

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'

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?

Copy link
Contributor Author

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>
@robbkidd robbkidd force-pushed the robb/kitchen-auto-builds-a-pkg branch from 09cb9db to f89ad7e Compare April 12, 2018 14:10
Copy link
Contributor

@tyler-ball tyler-ball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tenor-146279955

@tyler-ball tyler-ball merged commit fa284e3 into master Apr 12, 2018
@tyler-ball tyler-ball deleted the robb/kitchen-auto-builds-a-pkg branch April 12, 2018 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants