[chef] Re: Re: Re: application builds/ci involving Chef


Chronological Thread 
  • From: Jesse Campbell < >
  • To: chef < >
  • Subject: [chef] Re: Re: Re: application builds/ci involving Chef
  • Date: Sun, 27 Jan 2013 08:53:17 -0500

I have the same problems on my team, and I think for me the best thing I can aim to do over the next few months is to get my app deployment scripts to function in chef solo on a developer's machine. Maybe even get the local installer team to use it instead of the complicated combination of ant scripts and installanywhere.

If they can see how deploying their own app is a one command process, as opposed to the 50+ commands they have in their wiki now, then they may use it.
And if they use it, they are much more likely to adopt it as part of their code.

Unfortunately its all in ruby, and we are a java shop...

Thanks. I'm in an environment where we use jenkins and maven for a lot of this at the moment. There's also some Vagrant/vbox in the mix as well as Eclipse/STS. I'm not looking for pointers so much as being interested in what others have found to be successful.

One of the problems I see is that Chef code and Application code are decoupled: different repos, different teams managing collections of cookbooks, diverse environments. Dev teams don't think of Chef as part of the code base and I believe that this has led to some dysfunctional attitudes and behaviors. At the moment I'm noodling on methodology for introducing a tool like Chef that decouples configuration code from application logic. 

So I guess I'm maybe not looking for deployment solutions so much as wondering what people are doing to get their chef and app code working together and how it's working out for them.




Sascha Bates | " target="_blank"> | 612 850 0444 | | |
On 1/26/13 9:59 PM, Gourav Shah wrote:


Is anyone here doing application builds (either yourself or for devs) that involve any of the following:

-Local (workstation) testing of a developed app with Chef housing configuration files

For local development with chef managing configs, you could try using vagrant + chef 
 
-Application bundling with ant, maven, groovy, scripts, whatever that also includes parallel check-ins to Chef code?
-CI testing of an application that builds an artifact but also has configurations in Chef?
I have used Jenkins + chef.  You could also add capistrano in the mix for deployment. 

Thanks
Gourav




Archive powered by MHonArc 2.6.16.

§