[PATCH 0/4] Test SQLite configuration

You-Sheng Yang vicamo at gmail.com
Tue Dec 7 19:49:12 AEDT 2021


This patch drops differences of database configuration variables between
production and development environments, and add test cases for sqlite3
as well.

You-Sheng Yang (4):
  settings: unify database connection variables
  ci: test the existence of a patchwork specific table in the database
  ci: add tests for sqlite3
  ci: randomize database credentials a bit

 .github/workflows/ci.yaml                | 46 ++++++++-----
 docker-compose-pg.yml                    | 14 ++--
 docker-compose-sqlite3.yml               | 19 ++++++
 docker-compose.yml                       | 14 ++--
 docs/deployment/installation.rst         |  2 +-
 docs/development/installation.rst        | 13 ++--
 patchwork/settings/base.py               | 39 +++++++++++
 patchwork/settings/dev.py                | 28 +-------
 patchwork/settings/production.example.py | 17 -----
 tools/docker/Dockerfile                  |  1 +
 tools/docker/entrypoint.sh               | 84 +++++++++++++++++-------
 tox.ini                                  |  4 +-
 12 files changed, 175 insertions(+), 106 deletions(-)
 create mode 100644 docker-compose-sqlite3.yml

-- 
2.32.0



More information about the Patchwork mailing list