зеркало из https://github.com/mozilla/kitsune.git
Fixup my facepalm
This commit is contained in:
Родитель
03a9925204
Коммит
c4a0dbaaed
|
@ -83,7 +83,7 @@ def deploy_app(ctx):
|
||||||
|
|
||||||
@hostgroups(settings.WEB_HOSTGROUP, remote_kwargs={'ssh_key': settings.SSH_KEY})
|
@hostgroups(settings.WEB_HOSTGROUP, remote_kwargs={'ssh_key': settings.SSH_KEY})
|
||||||
def prime_app(ctx):
|
def prime_app(ctx):
|
||||||
ctx.remote("for i in {1..10}; do curl -so /dev/null -H 'Host: %s' -I http://localhost:81/ & sleep 1; done" % (settings.REMOTE_HOSTNAME, http_port))
|
ctx.remote("for i in {1..10}; do curl -so /dev/null -H 'Host: %s' -I http://localhost:81/ & sleep 1; done" % settings.REMOTE_HOSTNAME)
|
||||||
|
|
||||||
|
|
||||||
@hostgroups(settings.CELERY_HOSTGROUP, remote_kwargs={'ssh_key': settings.SSH_KEY})
|
@hostgroups(settings.CELERY_HOSTGROUP, remote_kwargs={'ssh_key': settings.SSH_KEY})
|
||||||
|
|
Загрузка…
Ссылка в новой задаче