The shiva command-line tool from #4 knows only that the deploy.py script exists, that it takes a bootstrap option, and that it returns a path (or two, or whatever). The contents of deploy.py is otherwise opaque. Let's implement a helpful framework to make deploy.py as easy to write and think about as possible. A good starting point is shiva.deployment.Deployment, though it was written before the concept of the "bootstrap" phase.
The
shiva
command-line tool from #4 knows only that thedeploy.py
script exists, that it takes abootstrap
option, and that it returns a path (or two, or whatever). The contents of deploy.py is otherwise opaque. Let's implement a helpful framework to make deploy.py as easy to write and think about as possible. A good starting point is shiva.deployment.Deployment, though it was written before the concept of the "bootstrap" phase.