Merge pull request #292 from jasonthomas/master
Restart marketplace celery instance on update
This commit is contained in:
Коммит
ef93e5ac6a
|
@ -7,6 +7,7 @@ REMOTE_APP = "/data/www/addons-dev.allizom.org/zamboni"
|
|||
REMOTE_UPDATE_SCRIPT = "/data/bin/update-www.sh"
|
||||
|
||||
CELERY_SERVICE_PREFIX = "celeryd-dev"
|
||||
CELERY_SERVICE_MKT_PREFIX = "celeryd-marketplace-dev"
|
||||
|
||||
UPDATE_REF = "origin/master"
|
||||
UPDATE_VENDOR_REF = None # By default vendor will not update
|
||||
|
|
|
@ -100,6 +100,7 @@ def update_celery(ctx):
|
|||
ctx.remote("/sbin/service %s restart" % settings.CELERY_SERVICE_PREFIX)
|
||||
ctx.remote("/sbin/service %s-devhub restart" % settings.CELERY_SERVICE_PREFIX)
|
||||
ctx.remote("/sbin/service %s-bulk restart" % settings.CELERY_SERVICE_PREFIX)
|
||||
ctx.remote("/sbin/service %s restart" % settings.CELERY_SERVICE_MKT_PREFIX)
|
||||
|
||||
|
||||
@task
|
||||
|
|
Загрузка…
Ссылка в новой задаче