Support demo server deployments
User story: I am a Liberty developer. I want to deploy a server application to a DigitalOcean droplet(s), so I can demo it.
Assumptions: The user can manually create a DigitalOcean droplet and ssh onto it.
Out of scope: The demo does not need production-quality stability, security etc.
Suggested solution:
-
Rename the current
shipyard
tool tovm
. Soshipwright shipyard create box
becomesshipwright vm create box
-
Add a new
droplet
tool that accepts the same parameters asvm
(create, ssh, playbook), but manages a droplet using vagrant-digitalocean -
Ensure that both of these sequences function as expected:
shipwright vm create my_vm
shipwright vm playbook my_vm ldh_developer/shop.yml
shipwright droplet create my_droplet
shipwright droplet playbook my_droplet ldh_developer/shop.yml