mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
Mailman: fix deployment
This commit is contained in:
@@ -33,7 +33,7 @@ restorecon -r $BASEDIR/{bin,config,fulltext_index,static,templates}
|
||||
|
||||
# Run unit tests
|
||||
echo "unit tests"
|
||||
django-admin test --pythonpath $CONFDIR --settings settings_test hyperkitty postorius django_mailman3
|
||||
django-admin test --pythonpath $CONFDIR --settings settings_test hyperkitty postorius
|
||||
|
||||
# Restart services
|
||||
systemctl start httpd mailman3 crond
|
||||
|
||||
@@ -45,3 +45,10 @@ HAYSTACK_CONNECTIONS = {
|
||||
HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor'
|
||||
|
||||
LOGGING = {}
|
||||
|
||||
# Disable caching
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user