forked from maciejmalycha/code_review
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py.test
63 lines (51 loc) · 2.42 KB
/
config.py.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import os
basedir = os.path.abspath(os.path.dirname(__file__))
# Logging settings
ADMIN_EMAILS = ['[email protected]']
# Database settings
SQLALCHEMY_DATABASE_URI = "mysql://ci_test:ChangeMe@localhost/ci_test"
# Flask settings
PROPAGATE_EXCEPTIONS = True # change to False to get email notifications upon app errors
LISTEN_HOST = "0.0.0.0"
ENABLE_THREADS = True
SECRET_KEY = "ChangeMeLater"
PER_PAGE = 10
# Code Collaborator settings
CC_BIN = "/home/ci_test/ccollab-client/ccollab"
CC_REVIEW_URL = "http://rd-w2k8-01.us.int.genesyslab.com:9090/ui#review:id={reviewId}"
CC_RELEASE_MAPPING = {'iwd-8.5.100': '8.5.1', 'iwd-8.5.000': '8.5.0',
'iwd-8.1.101': '8.1.1', 'iwd-8.1.001': '8.1.0',
'iwd-8.0.003': '8.0.0', 'iwd-8.0.002': '8.0.0',
'mgr-cleanup': '8.5.1', 'history-node': '8.5.1',
'cfgaudit': '8.5.1' }
# Jenkins settings
JENKINS_URL = "http://pl-byd-srv01.emea.int.genesyslab.com/jenkins_test"
BRANCH_MAPPING = { "mgr-cleanup": "iwd-8.5.100-ci", "history-node": "iwd-8.5.100-ci", "cfgaudit": "iwd-8.5.100-ci" }
# Mercurial settings
REPO_PATH = "/home/ci_test/repository/iwd8"
HG_PROD = "http://pl-byd-srv01.emea.int.genesyslab.com/hg/iwd8"
PRODUCT_BRANCHES = set(["iwd-8.5.100", "iwd-8.5.000", "iwd-8.1.101", "iwd-8.1.001",
"iwd-8.0.003", "iwd-8.0.002", "mgr-cleanup", "iwd-history",
"cfgaudit"])
IGNORED_BRANCHES = set(["test", "iwd-rest", "iwd-8.0.001", "multi-bp-list", "iwd-8.1.000"])
# Flask-Security
SECURITY_PASSWORD_HASH = "sha512_crypt"
SECURITY_PASSWORD_SALT = "changeme"
SECURITY_EMAIL_SENDER = "Detektyw Test <[email protected]>"
WTF_CSRF_ENABLED = False
SECURITY_FORGOT_PASSWORD_TEMPLATE = "security/forgot_password.html"
SECURITY_LOGIN_USER_TEMPLATE = "security/login_user.html"
SECURITY_REGISTER_USER_TEMPLATE = "security/register_user.html"
SECURITY_RESET_PASSWORD_TEMPLATE = "security/reset_password.html"
SECURITY_SEND_CONFIRMATION_TEMPLATE = "security/send_confirmation.html"
SECURITY_SEND_LOGIN_TEMPLATE = "security/send_login.html"
SECURITY_POST_LOGIN_VIEW = "changes_active"
SECURITY_POST_LOGOUT_VIEW = "login"
SECURITY_POST_REGISTER_VIEW = "changes_active"
SECURITY_POST_RESET_VIEW = "changes_active"
SECURITY_CONFIRMABLE = False
SECURITY_REGISTERABLE = True
SECURITY_RECOVERABLE = True
SECURITY_CHANGEABLE = True
# Session cookie path
SESSION_COOKIE_PATH = "/ci_test"