I know, I want always more!
I am wondering how I can do something like this in fabric:
def deploy():
local('git pull origin dev')
gitusername = "test"
gitpwd = "testpassword"
# here render credentials to stdin so that no need to type in in console
local('python manage.py collectstatic')
confirm_type = "yes"
# here render 'confirm_type' to stdin so that I dont have to type in console
local('python manage.py migrate')
local('/etc/init.d/nginx restart')
I thought of fabric.operations.prompt
but I dont need prompt. I want that fabric reads the credentials from variables and goes on further without asking me anything..
any ideas?