[PATCH 0/4] Integrate tox-docker

Stephen Finucane stephen at that.guru
Sat May 4 08:21:06 AEST 2019


Testing Patchwork is still way more difficult than it should be. Docker
has massively simplified things but we're still unable to do things like
run 'tox -e py27' like we can most other Python projects. Take another
step towards this by integrating 'tox-docker' so we can do e.g. 'tox -e
py27-django11-mysql'

Stephen Finucane (4):
  forms: Don't attempt to evaluate State at startup
  tox: Integrate tox-docker
  requirements: Switch to PyMySQL
  docker-compose: Massively simplify

 docs/development/contributing.rst | 28 ++++++---------------
 docs/development/installation.rst |  6 -----
 manage.py                         | 12 +++++++--
 patchwork/forms.py                |  3 ++-
 patchwork/settings/dev.py         | 12 +++++++++
 requirements-dev.txt              |  2 ++
 requirements-test.txt             |  2 --
 tools/docker/Dockerfile           | 22 ++--------------
 tools/docker/entrypoint.sh        |  4 +--
 tools/docker/trusty-ports.list    |  3 ---
 tools/docker/trusty.list          |  3 ---
 tools/docker/xenial-ports.list    |  3 ---
 tools/docker/xenial.list          |  3 ---
 tox.ini                           | 42 +++++++++++++++++++++++++++++--
 14 files changed, 77 insertions(+), 68 deletions(-)
 delete mode 100644 tools/docker/trusty-ports.list
 delete mode 100644 tools/docker/trusty.list
 delete mode 100644 tools/docker/xenial-ports.list
 delete mode 100644 tools/docker/xenial.list

-- 
2.20.1



More information about the Patchwork mailing list