[PATCH] Enable Basset in production

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This enables the FAS production hooks for Basset.

Signed-off-by: Patrick Uiterwijk <puiterwijk@xxxxxxxxxx>
---
 roles/fas_server/templates/fas.cfg.j2 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/roles/fas_server/templates/fas.cfg.j2 b/roles/fas_server/templates/fas.cfg.j2
index 2b90ef0..3f293dc 100644
--- a/roles/fas_server/templates/fas.cfg.j2
+++ b/roles/fas_server/templates/fas.cfg.j2
@@ -115,14 +115,20 @@ cla_deprecated_groups = ['cla_fedora']
 # Format: 'group1:a,b,c|group2:d,e,f'
 auto_approve_groups = 'packager:fedorabugs|qa:fedorabugs|security-team:fedorabugs|qa-beaker-user:qa-automation-shell|docs:fedorabugs|cla_fpca:cla_done|cla_redhat:cla_done|cla_dell:cla_done|cla_ibm:cla_done|cla_intel:cla_done'
 
-{% if env == "staging" %}
 # Anti-spam approval check script, which injects in both registration and CLA steps
 # In Fedora, this is provided by the Basset service
+{% if env == "staging" %}
 antispam.api.url = 'http://basset01.stg.phx2.fedoraproject.org/basset'
 antispam.api.username = '{{ basset_stg_frontend_user }}'
 antispam.api.password = '{{ basset_stg_frontend_pass }}'
 antispam.registration.autoaccept = False
 antispam.cla.autoaccept = False
+{% else %}
+antispam.api.url = 'http://basset01.phx2.fedoraproject.org/basset'
+antispam.api.username = '{{ basset_prod_frontend_user }}'
+antispam.api.password = '{{ basset_prod_frontend_pass }}'
+antispam.registration.autoaccept = False
+antispam.cla.autoaccept = False
 {% endif %}
 
 # Some server parameters that you may want to tweak
-- 
1.8.3.1
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux