chef-boneyard / delivery-sugar

DEPRECATED: Library cookbook that adds sugar to build cookbooks for Chef Delivery
Apache License 2.0
12 stars 26 forks source link

Allow delivery_github to push to a github branch that doesn't exist in delivery git #1

Open tylercloke opened 9 years ago

tylercloke commented 9 years ago

I am working on a build cookbook for a cookbook that is still being developed in parallel on github, so I do not want to push to master of that cookbook on github yet. I specified the branch delivery, intending to push there on github until the author is using delivery also.

However, when this tries to push you get the following:

error: src refspec delivery does not match any.
error: failed to push some refs to 'git@github.com:tylercloke/qa-chef-server-cluster.git'

This is because the branch delivery does not exist locally. This tool should consider creating the branch locally before pushing to support pushing to branches that exist on github and not in delivery, or use another git method to do so that I am unaware of.

afiune commented 9 years ago

@tylercloke I wonder if you just need to create a pipeline in Delivery. (brain dump)