mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Override postgresc connection for jenkins
If TEST_DATABASE is set then the postgres connection is set to that. Jenkins sets it to the RDS instance that is in that AWS Account
This commit is contained in:
@@ -10,7 +10,7 @@ export INVITATION_EXPIRATION_DAYS=2
|
||||
export NOTIFY_JOB_QUEUE='notify-jobs-queue-test'
|
||||
export NOTIFICATION_QUEUE_PREFIX='notification_development-test'
|
||||
export SECRET_KEY='secret-key'
|
||||
export SQLALCHEMY_DATABASE_URI='postgresql://localhost/test_notification_api'
|
||||
export SQLALCHEMY_DATABASE_URI=${TEST_DATABASE:='postgresql://localhost/test_notification_api'}
|
||||
export VERIFY_CODE_FROM_EMAIL_ADDRESS='no-reply@notify.works'
|
||||
export FIRETEXT_API_KEY="Firetext"
|
||||
export NOTIFY_EMAIL_DOMAIN="test.notify.com"
|
||||
@@ -23,4 +23,4 @@ export STATSD_PORT=1000
|
||||
export STATSD_PREFIX="stats-prefix"
|
||||
export API_HOST_NAME="http://localhost:6011"
|
||||
export FROM_NUMBER='from_number'
|
||||
export MMG_URL="https://api.mmg.co.uk/json/api.php"
|
||||
export MMG_URL="https://api.mmg.co.uk/json/api.php"
|
||||
|
||||
Reference in New Issue
Block a user