From d9b3b31a6a0c1af683830452ab31e2fee7fd5d63 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Mon, 27 Apr 2020 17:05:40 +0100 Subject: [PATCH] add loadtesting to manifest so we can deploy a separate app --- manifest.yml.j2 | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/manifest.yml.j2 b/manifest.yml.j2 index 80c991309..42a21862d 100644 --- a/manifest.yml.j2 +++ b/manifest.yml.j2 @@ -25,6 +25,23 @@ }, }, + 'notify-api-loadtesting': { + 'comments': 'DELETE ME LATER', + 'NOTIFY_APP_NAME': 'api', + 'disk_quota': '2G', + 'sqlalchemy_pool_size': 30, + 'routes': { + 'staging': [], + }, + 'health-check-type': 'port', + 'health-check-invocation-timeout': 3, + 'instances': { + 'preview': None, + 'staging': 4, + 'production': None + }, + }, + 'notify-delivery-celery-beat': {'memory': '128M'}, 'notify-delivery-worker-jobs': {}, 'notify-delivery-worker-research': {}, @@ -70,7 +87,7 @@ applications: services: - notify-db - logit-ssl-syslog-drain - {% if CF_APP == 'notify-api' %} + {% if CF_APP in ('notify-api', 'notify-api-loadtesting') %} - notify-prometheus {% endif %}