-
Notifications
You must be signed in to change notification settings - Fork 46
Updated microbosh.rb to allow update if the deployment exists, or create a new one if it does not exist. #244
Conversation
…ate a new one if it does not exist. Here is the new syntax for bosh micro deploy: micro deploy [<stemcell>] [--update] [--update-if-exists] Deploy a micro BOSH instance to the currently selected deployment --update update existing instance --update-if-exists create new or update existing instance When I ran bosh-bootstrap deploy on an existing instance it fails asking if I meant to update. The newer syntax allows for --update-if-exists in addition to --update and it works very well. I tested it.
Hey mate, there's one unit test to fix up: |
Thanks a lot for the PR on allowing updates! |
I dont know how to run this test from travis-ci, but will try something.
Updated test to pass with the new code. |
Yeah can you go back to the commit before the .travis.yml change and force push it to your branch? Probably something like the following:
ProTip: create new branches when doing PRs - makes it funner and easier to have parallel branches/PRs and keep master in sync with the upstream repo's master. That's my workflow if its helpful. |
Hi Dr Nic Thanks for the tip. Since my repo was pretty new, I killed it and I have a question for you if you dont mind. I thought I would update the Thanks. Please pardon my ignorance in the ways of the opensource. On Sun, Oct 27, 2013 at 3:00 PM, Dr Nic Williams
|
That's a good question about how diff forks can use different .travis.yml I'm always ok with getting build notices from forks. Fun to know if someone Nic |
Okay. Thanks. Sent from my iPhone
|
Poms App sent you an invitation Twitter helps you stay connected with what's happening right now and with the people and organizations you care about.
https://twitter.com/i/46096df8-40fe-4046-9bb2-a136870d8a86 You can unsubscribe from receiving email notifications from Twitter at anytime. For general inquiries, please visit us at Twitter Support. Need help? |
Here is the new syntax for bosh micro deploy:
micro deploy [] [--update] [--update-if-exists]
Deploy a micro BOSH instance to the currently selected deployment
--update update existing instance
--update-if-exists create new or update existing instance
When I ran bosh-bootstrap deploy on an existing instance it fails asking if I meant to update. The newer syntax allows for --update-if-exists in addition to --update and it works very well. I tested it.