Esempio n. 1
0
def deploy():
    helpers.deploy(name='darjeeling',
                   app_dir='darjeeling',
                   env=settings.ENV,
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   root=ROOT)
Esempio n. 2
0
def deploy():
    helpers.deploy(name=settings.PROJECT_NAME,
                   app_dir='spartacus',
                   env=settings.ENV,
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   root=ROOT)
def deploy():
    helpers.deploy(name=settings.PROJECT_NAME,
                   app_dir='marketplace-operator-dashboard',
                   env=settings.ENV,
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   root=ROOT)
Esempio n. 4
0
def deploy():
    helpers.deploy(name='trunion',
                   env='{0}-{1}'.format(settings.ENV, settings.APPNAME),
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   root=ROOT,
                   package_dirs=['trunion', 'venv', 'ssl'])
    helpers.restart_uwsgi(getattr(settings, 'UWSGI', []))
Esempio n. 5
0
def deploy():
    helpers.deploy(name=settings.PROJECT_NAME,
                   app_dir='zippy',
                   env=settings.ENV,
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   root=ROOT)
    execute(restart_worker)
Esempio n. 6
0
def deploy():
    helpers.deploy(name='geodude',
                   env=settings.ENV,
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   root=ROOT,
                   package_dirs=['geodude', 'venv'])

    helpers.restart_uwsgi(getattr(settings, 'UWSGI', []))
Esempio n. 7
0
def deploy():
    helpers.deploy(name=settings.PROJECT_NAME,
                   app_dir='fireplace',
                   env=settings.ENV,
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   root=ROOT)

    deploy_build_id('fireplace')
Esempio n. 8
0
def deploy():
    helpers.deploy(
        name=settings.PROJECT_NAME,
        app_dir="fireplace",
        env=settings.ENV,
        cluster=settings.CLUSTER,
        domain=settings.DOMAIN,
        root=ROOT,
    )
Esempio n. 9
0
def deploy():
    helpers.deploy(
        name='monolith',
        env=settings.ENV,
        cluster=settings.CLUSTER,
        domain=settings.DOMAIN,
        root=ROOT,
        deploy_roles=['web'],
        package_dirs=['monolith-aggregator', 'venv'])
Esempio n. 10
0
def deploy_web():
    helpers.deploy(name='olympia',
                   env=settings.ENV,
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   root=ROOT,
                   use_yum=False,
                   package_dirs=['olympia', 'venv'])

    helpers.restart_uwsgi(getattr(settings, 'UWSGI', []))
Esempio n. 11
0
def deploy():
    if settings.ZAMBONI_DIR:
        upload_package()

    helpers.deploy(name=settings.PROJECT_NAME,
                   app_dir='fireplace',
                   env=settings.ENV,
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   root=ROOT)
Esempio n. 12
0
def deploy():
    helpers.deploy(
        name="monolith-aggregator",
        env=settings.ENV,
        cluster=settings.CLUSTER,
        domain=settings.DOMAIN,
        root=ROOT,
        deploy_roles="local",
        package_dirs=["monolith-aggregator", "venv"],
    )
Esempio n. 13
0
def deploy():
    helpers.deploy(name=settings.PROJECT_NAME,
                   app_dir='frappe',
                   env=settings.ENV,
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   package_dirs=['frappe', 'venv'],
                   root=ROOT)

    helpers.restart_uwsgi(getattr(settings, 'UWSGI', []))
Esempio n. 14
0
def deploy():
    helpers.deploy(name='webpay',
                   env=settings.ENV,
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   root=ROOT,
                   deploy_roles=['web', 'celery'],
                   package_dirs=['webpay', 'venv'])

    helpers.restart_uwsgi(getattr(settings, 'UWSGI', []))
    execute(update_celery)
Esempio n. 15
0
def deploy():
    helpers.deploy(
        name='monolith',
        env=settings.ENV,
        cluster=settings.CLUSTER,
        domain=settings.DOMAIN,
        root=ROOT,
        deploy_roles=['web'],
        package_dirs=['monolith', 'venv'])

    helpers.restart_uwsgi(getattr(settings, 'UWSGI', ['monolith']))
Esempio n. 16
0
def deploy():
    with lcd(APP):
        local('GOPATH=$(pwd) GOBIN=$(pwd) go build')
    helpers.deploy(name='pushgo',
                   env=ENV,
                   cluster=CLUSTER,
                   domain=DOMAIN,
                   package_dirs=['pushgo/pushgo'],
                   use_sudo=True,
                   s3_bucket=S3BUCKET,
                   root=ROOT)
    execute(restart_circus)
Esempio n. 17
0
def deploy():
    helpers.deploy(
        name=settings.PROJECT_NAME,
        app_dir="frappe",
        env=settings.ENV,
        cluster=settings.CLUSTER,
        domain=settings.DOMAIN,
        package_dirs=["frappe", "venv"],
        root=ROOT,
    )

    helpers.restart_uwsgi(getattr(settings, "UWSGI", []))
Esempio n. 18
0
def deploy():
    with lcd(MARKETPLACE_STATS):
        ref = local('git rev-parse HEAD', capture=True)

    rpmbuild = helpers.deploy(name='marketplace-stats',
                              env=settings.ENV,
                              cluster=settings.CLUSTER,
                              domain=settings.DOMAIN,
                              root=ROOT,
                              deploy_roles=['web'],
                              package_dirs=['marketplace-stats'])
Esempio n. 19
0
def deploy():
    with lcd(TRANSONIC):
        ref = local('git rev-parse HEAD', capture=True)

    rpmbuild = helpers.deploy(name='transonic',
                              env=settings.ENV,
                              cluster=settings.CLUSTER,
                              domain=settings.DOMAIN,
                              root=ROOT,
                              deploy_roles=['web'],
                              package_dirs=['transonic'])
Esempio n. 20
0
def deploy_web():
    rpmbuild = helpers.deploy(name='zamboni',
                              env=settings.ENV,
                              cluster=settings.CLUSTER,
                              domain=settings.DOMAIN,
                              root=ROOT,
                              use_yum=False,
                              package_dirs=['zamboni', 'venv'])

    execute(restart_workers)
    helpers.restart_uwsgi(getattr(settings, 'UWSGI', []))
Esempio n. 21
0
def deploy():
    with lcd(ROCKETFUEL):
        ref = local('git rev-parse HEAD', capture=True)

    rpmbuild = helpers.deploy(name='rocketfuel',
                              env=settings.ENV,
                              cluster=settings.CLUSTER,
                              domain=settings.DOMAIN,
                              root=ROOT,
                              deploy_roles=['web'],
                              package_dirs=['rocketfuel'])
Esempio n. 22
0
def deploy():
    with lcd(COMMBADGE):
        ref = local('git rev-parse HEAD', capture=True)

    rpmbuild = helpers.deploy(name='commbadge',
                              env=settings.ENV,
                              cluster=settings.CLUSTER,
                              domain=settings.DOMAIN,
                              root=ROOT,
                              deploy_roles=['web'],
                              package_dirs=['commbadge'])
Esempio n. 23
0
def deploy():
    rpmbuild = helpers.deploy(name='olympia',
                              env=settings.ENV,
                              cluster=settings.CLUSTER,
                              domain=settings.DOMAIN,
                              root=ROOT,
                              deploy_roles=['web', 'celery'],
                              package_dirs=['olympia', 'venv'])

    helpers.restart_uwsgi(getattr(settings, 'UWSGI', []))
    execute(update_celery)
    execute(install_cron, rpmbuild.install_to)
    managecmd('cron cleanup_validation_results')
Esempio n. 24
0
def deploy():
    package_dirs = ['solitude', 'venv']
    if os.path.isdir(os.path.join(ROOT, 'aeskeys')):
        package_dirs.append('aeskeys')

    r = helpers.deploy(name='solitude',
                       env=settings.ENV,
                       cluster=settings.CLUSTER,
                       domain=settings.DOMAIN,
                       root=ROOT,
                       package_dirs=package_dirs)

    helpers.restart_uwsgi(getattr(settings, 'UWSGI', []))

    execute(install_cron, r.install_to)
    with lcd(SOLITUDE):
        local('%s manage.py statsd_ping --key=update' % PYTHON)
Esempio n. 25
0
def deploy():
    package_dirs = ['zamboni', 'venv']
    if os.path.isdir(os.path.join(ROOT, 'aeskeys')):
        package_dirs.append('aeskeys')

    rpmbuild = helpers.deploy(name='zamboni',
                              env=settings.ENV,
                              cluster=settings.CLUSTER,
                              domain=settings.DOMAIN,
                              root=ROOT,
                              deploy_roles=['web', 'celery'],
                              package_dirs=package_dirs)

    helpers.restart_uwsgi(getattr(settings, 'UWSGI', []))
    execute(update_celery)
    execute(install_cron, rpmbuild.install_to)
    managecmd('cron cleanup_validation_results')
Esempio n. 26
0
def deploy():
    package_dirs = ["zamboni", "venv"]
    if os.path.isdir(os.path.join(ROOT, "aeskeys")):
        package_dirs.append("aeskeys")

    rpmbuild = helpers.deploy(
        name="zamboni",
        env=settings.ENV,
        cluster=settings.CLUSTER,
        domain=settings.DOMAIN,
        root=ROOT,
        deploy_roles=["web", "celery"],
        package_dirs=package_dirs,
    )

    helpers.restart_uwsgi(getattr(settings, "UWSGI", []))
    execute(update_celery)
    execute(install_cron, rpmbuild.install_to)
    managecmd("cron cleanup_validation_results")
Esempio n. 27
0
def deploy():
    helpers.deploy(name='fireplace',
                   env=settings.ENV,
                   cluster=settings.CLUSTER,
                   domain=settings.DOMAIN,
                   root=ROOT)