Exemplo n.º 1
0
def restart(virtualenv=virtualenv_default):
    if virtualenv is True:
        with hide('stdout', 'stderr'):
            remote.virtualenv_check()
            remote.virtualenv_activate()
    remote.supervisor_restart()
Exemplo n.º 2
0
def rollback(tag=None, supervisor_restart=supervisor_default):
    remote.code_rollback(tag)
    if supervisor_restart is True:
        remote.supervisor_restart()
Exemplo n.º 3
0
def deploy(tag=None, branch=None, supervisor_restart=supervisor_default):
    with hide('stdout', 'stderr'):
        remote.code_deploy(tag, branch)
    remote.minify()
    if supervisor_restart is True:
        remote.supervisor_restart()
Exemplo n.º 4
0
def restart(virtualenv=virtualenv_default):
    if virtualenv is True:
        with hide('stdout', 'stderr'):
            remote.virtualenv_check()
            remote.virtualenv_activate()
    remote.supervisor_restart()
Exemplo n.º 5
0
def rollback(tag=None, supervisor_restart=supervisor_default):
    remote.code_rollback(tag)
    if supervisor_restart is True:
        remote.supervisor_restart()
Exemplo n.º 6
0
def deploy(tag=None, branch=None, supervisor_restart=supervisor_default):
    with hide('stdout', 'stderr'):
        remote.code_deploy(tag, branch)
    remote.minify()
    if supervisor_restart is True:
        remote.supervisor_restart()