示例#1
0
def deploy_bop():
    """
    Deploy latest BOP.
    """
    local('rm -rf .bop_html .bop_gzip')
    render.render_bop()
    utils._gzip('.bop_html', '.bop_gzip')
    utils._deploy_to_s3('.bop_gzip', copy_assets=False)
示例#2
0
def deploy_states():
    """
    Deploy latest state slides to S3.
    """
    local('rm -rf .state_slides_html .state_slides_gzip')
    render.render_states()
    utils._gzip('.state_slides_html', '.state_slides_gzip')
    utils._deploy_to_s3('.state_slides_gzip', copy_assets=False)
示例#3
0
def deploy_big_boards():
    """
    Deploy big boards to S3.
    """
    local('rm -rf .big_boards_html .big_boards_gzip')
    render.render_big_boards()
    utils._gzip('.big_boards_html', '.big_boards_gzip')
    utils._deploy_to_s3('.big_boards_gzip', copy_assets=False)
示例#4
0
def deploy_liveblog():
    """
    Deploy latest liveblog slides to S3.
    """
    local('rm -rf .liveblog_slides_html .liveblog_slides_gzip')
    render.render_liveblog()
    utils._gzip('.liveblog_slides_html', '.liveblog_slides_gzip')
    utils._deploy_to_s3('.liveblog_slides_gzip', copy_assets=False)
示例#5
0
def deploy_results():
    """
    Deploy latest results slides to S3.
    """
    local('rm -rf .results_slides_html .results_slides_gzip')
    render.render_results()
    utils._gzip('.results_slides_html', '.results_slides_gzip')
    utils._deploy_to_s3('.results_slides_gzip', copy_assets=False)
示例#6
0
def deploy_bop():
    """
    Deploy latest BOP.
    """
    local('rm -rf .bop_html .bop_gzip')
    render.render_bop()
    utils._gzip('.bop_html', '.bop_gzip')
    utils._deploy_to_s3('.bop_gzip', copy_assets=False)
示例#7
0
def deploy_big_boards():
    """
    Deploy big boards to S3.
    """
    local('rm -rf .big_boards_html .big_boards_gzip')
    render.render_big_boards()
    utils._gzip('.big_boards_html', '.big_boards_gzip')
    utils._deploy_to_s3('.big_boards_gzip', copy_assets=False)
示例#8
0
def deploy_states():
    """
    Deploy latest state slides to S3.
    """
    local('rm -rf .state_slides_html .state_slides_gzip')
    render.render_states()
    utils._gzip('.state_slides_html', '.state_slides_gzip')
    utils._deploy_to_s3('.state_slides_gzip', copy_assets=False)
示例#9
0
def deploy_results():
    """
    Deploy latest results slides to S3.
    """
    local('rm -rf .results_slides_html .results_slides_gzip')
    render.render_results()
    utils._gzip('.results_slides_html', '.results_slides_gzip')
    utils._deploy_to_s3('.results_slides_gzip', copy_assets=False)
示例#10
0
def deploy_liveblog():
    """
    Deploy latest liveblog slides to S3.
    """
    local('rm -rf .liveblog_slides_html .liveblog_slides_gzip')
    render.render_liveblog()
    utils._gzip('.liveblog_slides_html', '.liveblog_slides_gzip')
    utils._deploy_to_s3('.liveblog_slides_gzip', copy_assets=False)
示例#11
0
def deploy_client(remote='origin'):
    """
    Render and deploy app to S3.
    """
    require('settings', provided_by=[production, staging])

    update()
    render.render_all()
    utils._gzip('www', '.gzip')
    utils._deploy_to_s3()
示例#12
0
def deploy_client(remote='origin'):
    """
    Render and deploy app to S3.
    """
    require('settings', provided_by=[production, staging])

    update()
    render.render_all()
    utils._gzip('www', '.gzip')
    utils._deploy_to_s3()
示例#13
0
def deploy():
    """
    Deploy the latest Tumblr theme assets to S3.
    """
    require('settings', provided_by=['production', 'staging'])

    local('rm -rf .gzip_theme')

    render()
    utils._gzip('theme/www/', '.gzip_theme/theme')
    utils._deploy_to_s3('.gzip_theme')
示例#14
0
def deploy():
    """
    Deploy the latest Tumblr theme assets to S3.
    """
    require('settings', provided_by=['production', 'staging'])

    local('rm -rf .gzip_theme')

    render()
    utils._gzip('theme/www/', '.gzip_theme/theme')
    utils._deploy_to_s3('.gzip_theme')