コード例 #1
0
ファイル: fabfile.py プロジェクト: baiyunping333/fabfiles
def restart(virtualenv=virtualenv_default):
    if virtualenv is True:
        with hide('stdout', 'stderr'):
            remote.virtualenv_check()
            remote.virtualenv_activate()
    remote.supervisor_restart()
コード例 #2
0
ファイル: fabfile.py プロジェクト: baiyunping333/fabfiles
def rollback(tag=None, supervisor_restart=supervisor_default):
    remote.code_rollback(tag)
    if supervisor_restart is True:
        remote.supervisor_restart()
コード例 #3
0
ファイル: fabfile.py プロジェクト: baiyunping333/fabfiles
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()
コード例 #4
0
def restart(virtualenv=virtualenv_default):
    if virtualenv is True:
        with hide('stdout', 'stderr'):
            remote.virtualenv_check()
            remote.virtualenv_activate()
    remote.supervisor_restart()
コード例 #5
0
def rollback(tag=None, supervisor_restart=supervisor_default):
    remote.code_rollback(tag)
    if supervisor_restart is True:
        remote.supervisor_restart()
コード例 #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()