Add Docker setup for lightweight local testing

This commit is contained in:
Jan Dittberner 2020-03-04 18:32:39 +01:00
parent 2caf218885
commit b72f5847da
5 changed files with 62 additions and 1 deletions

View file

@ -1,6 +1,7 @@
Changelog
=========
* :support:`-` add Docker setup for lightweight local testing
* :support:`-` update Vagrant setup to libvirt and Debian Buster
* :support:`-` move pgsqltasks to top level to keep the task names when
using Python 3

View file

@ -21,6 +21,7 @@ import os
sys.path.insert(0, os.path.abspath(os.path.join('..', 'gvapgsql')))
os.environ['GVAPGSQL_BROKER_URL'] = 'amqp://localhost'
os.environ['GVAPGSQL_RESULTS_REDIS_URL'] = 'redis://'
os.environ['GVAPGSQL_DBADMIN_HOST'] = 'localhost'
os.environ['GVAPGSQL_DBADMIN_PORT'] = '5432'
os.environ['GVAPGSQL_DBADMIN_USER'] = 'gvapgsql'
@ -37,7 +38,7 @@ extensions = ['releases', 'sphinx.ext.autodoc', 'celery.contrib.sphinx']
# configuration for releases extension
releases_issue_uri = 'https://git.dittberner.info/gnuviech/gvapgsql/issues/%s'
releases_release_uri = 'https://git.dittberner.info/gnuviech/gvapgsql/stc/tag/%s'
releases_release_uri = 'https://git.dittberner.info/gnuviech/gvapgsql/src/tag/%s'
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']