This patch drops differences of database configuration variables between production and development environments, and add test cases for sqlite3 as well.
Github workflow in https://github.com/vicamo/patchwork/actions/runs/1549479234. V2: * respect naming convention for DATABASE_PASSWORD. * remove database maintenance stuff from docker entrypoint script. You-Sheng Yang (4): settings: unify database connection variables docker: drop database maintenance stuff ci: add tests for sqlite3 ci: randomize database credentials a bit .github/workflows/ci.yaml | 46 +++++---- docker-compose-pg.yml | 15 +-- docker-compose-sqlite3.yml | 19 ++++ docker-compose.yml | 12 ++- docs/deployment/installation.rst | 4 +- docs/development/installation.rst | 13 ++- lib/uwsgi/patchwork.ini | 2 +- patchwork/settings/base.py | 39 ++++++++ patchwork/settings/dev.py | 28 +----- patchwork/settings/production.example.py | 17 ---- tools/docker/Dockerfile | 2 + tools/docker/entrypoint.sh | 115 ++++++++--------------- tox.ini | 4 +- 13 files changed, 156 insertions(+), 160 deletions(-) create mode 100644 docker-compose-sqlite3.yml -- 2.32.0 _______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork