I'd be happy to hear from other chef on how they handle this.Not sure if this is the best way, it is fairly simple yet totally manual.What I do is hat production environment contains version restriction.That way when I push a new version of a cookbook, the staging environment start to use it. When I a sure it won't break anything, I update the production environment to the new version.
--
2013/6/19 Jens Skott < " target="_blank"> >Heyas, we have a setup where we develop cookbooks in a branch in git, test them in a local vagrant box. After that we push them to staging branch in git and then to prod and release it. Then its released to staging and prod at the same time, i want an additional testingstep on the staging branch before the pull request to prod.Any tips how to start?Have tought about using chef_solo on all staging machines and have them pull from development branch when run, but i want chef solo to run every 30 mins like the chef client.Or does anyone have any better suggestions?We dont want to use environments since we havnt found a good way to automate the process of bumping versions in the prod environment when releasing cookbooks to prod.Jens SkottTel: +46-8-5142 4396Schibsted Centralen IT
Archive powered by MHonArc 2.6.16.