From 7520cc46dead08808318434d2401112ae083d432 Mon Sep 17 00:00:00 2001 From: Alexey Bezhan Date: Wed, 24 Apr 2019 11:36:40 +0100 Subject: [PATCH] Stub out SMS providers on staging for the perf tests This points MMG and Firetext on staging to a stub service run on PaaS to avoid text message costs during the load test. --- manifest.yml.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifest.yml.j2 b/manifest.yml.j2 index 5738b70a4..8fb7ab3bf 100644 --- a/manifest.yml.j2 +++ b/manifest.yml.j2 @@ -74,7 +74,13 @@ applications: ZENDESK_API_KEY: '{{ ZENDESK_API_KEY }}' + {% if environment == 'staging' %} + MMG_URL: 'https://notify-sms-provider-stub-staging.cloudapps.digital/mmg' + FIRETEXT_URL: 'https://notify-sms-provider-stub-staging.cloudapps.digital/firetext' + {% else %} MMG_URL: '{{ MMG_URL }}' + {% endif %} + MMG_API_KEY: '{{ MMG_API_KEY }}' MMG_INBOUND_SMS_AUTH: '{{ MMG_INBOUND_SMS_AUTH | tojson }}' MMG_INBOUND_SMS_USERNAME: '{{ MMG_INBOUND_SMS_USERNAME | tojson }}'