This patchset tries to align database configurations between development and production environment, as well as mysql/postgre/sqlite3 database engines.
1. database configurations are now respect environment variables of the same names across all scenarios. 2. drop deprecated startup arguments for docker containers. 3. add tests for supported docker container operations and updated documentation, and finally extends CI test cases for sqlite3 engine. Github workflow in https://github.com/vicamo/patchwork/actions/runs/1554992547. V2: * respect naming convention for DATABASE_PASSWORD. * remove database maintenance stuff from docker entrypoint script. V3: * update documentation. * add testcases for supported docker container operations. You-Sheng Yang (6): settings: unify database connection variables docker: remove deprecated startup arguments ci: test supported docker container operations docker: drop database maintenance stuff ci: add tests for sqlite3 ci: randomize database credentials a bit .github/workflows/ci.yaml | 77 ++++++++---- docker-compose-pg.yml | 15 +-- docker-compose-sqlite3.yml | 19 +++ docker-compose.yml | 12 +- docs/deployment/installation.rst | 4 +- docs/development/installation.rst | 27 ++-- lib/uwsgi/patchwork.ini | 2 +- patchwork/settings/base.py | 39 ++++++ patchwork/settings/dev.py | 28 +---- patchwork/settings/production.example.py | 17 --- ...se-maintenance-stuff-e3317975c1c53ade.yaml | 5 + ...ed-startup-arguments-768425c23b523d1e.yaml | 9 ++ tools/docker/Dockerfile | 2 + tools/docker/entrypoint.sh | 115 ++++++------------ tox.ini | 4 +- 15 files changed, 202 insertions(+), 173 deletions(-) create mode 100644 docker-compose-sqlite3.yml create mode 100644 releasenotes/notes/docker-drop-database-maintenance-stuff-e3317975c1c53ade.yaml create mode 100644 releasenotes/notes/docker-remove-deprecated-startup-arguments-768425c23b523d1e.yaml -- 2.32.0 _______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork