diff options
author | Jack Morgan <jack.morgan@intel.com> | 2018-01-08 23:56:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-08 23:56:29 +0000 |
commit | ffc10727531acbb52f87c52f948e0158a18c65c9 (patch) | |
tree | 62905b84bce04e7ef1776888131e6051ba9500f2 /src/pharos_dashboard | |
parent | 6173050b6bfc3d96d3056c5de4c927f1b461fe6e (diff) | |
parent | eb7cb88c62feae0b412f4ecc9a5e62c3f7bdc138 (diff) |
Merge "Implement Notification Framework with Initial Email Support"
Diffstat (limited to 'src/pharos_dashboard')
-rw-r--r-- | src/pharos_dashboard/settings.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pharos_dashboard/settings.py b/src/pharos_dashboard/settings.py index 83ad172..240f68e 100644 --- a/src/pharos_dashboard/settings.py +++ b/src/pharos_dashboard/settings.py @@ -14,7 +14,7 @@ INSTALLED_APPS = [ 'booking', 'account', 'jenkins', - 'notification', + 'notifier', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', @@ -188,3 +188,9 @@ CI_SLAVES_URL = os.environ['JENKINS_URL'] + '/label/ci-pod/api/json?tree=nodes[n ALL_JOBS_URL = os.environ['JENKINS_URL'] + '/api/json?tree=jobs[displayName,url,lastBuild[fullDisplayName,building,builtOn,timestamp,result]' GET_SLAVE_URL = os.environ['JENKINS_URL'] + '/computer/' +# Notifier Settings +EMAIL_HOST = os.environ['EMAIL_HOST'] +EMAIL_PORT = os.environ['EMAIL_PORT'] +EMAIL_HOST_USER = os.environ['EMAIL_HOST_USER'] +EMAIL_HOST_PASSWORD = os.environ['EMAIL_HOST_PASSWORD'] +EMAIL_USE_TLS=True |