On Monday, 19 August 2013 15:48:38 UTC+2, myeazel wrote:
>
> Git branching and environments is exactly what we did to solve this 
> problem. We are actually using gitolite which allows us to lock down who 
> can push to certain branches. So anyone can create their own branch, push 
> that up (which creates the proper directories through git hooks) and test 
> with --environment [branch_name] and then when they know it works great, 
> request a merge into our permanent environments like production and 
> testing. Once the new code is merged into its final home, the temporary 
> branch is deleted. 
>
> The hard part is the git hooks. We actually have a script that emulates 
> the "Github" WebHook URL functionality and a hook that "catches" that POST 
> and does all the magic. I included the web pages that helped me get our 
> setup working how we wanted it to.
>
> https://github.com/metajack/notify-webhook
> https://puppetlabs.com/blog/git-workflow-and-puppet-environments/
>
>
Thanks a really cool script! Thanks =)



 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to