[PATCH v2 0/3] Integrate tox-docker
Stephen Finucane
stephen at that.guru
Tue Jun 4 21:47:05 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'
Changes since v1:
- Don't switch to PyMySQL since performance is worse
Stephen Finucane (3):
forms: Don't attempt to evaluate State at startup
tox: Integrate tox-docker
docker-compose: Massively simplify
docs/development/contributing.rst | 28 +++++---------------
docs/development/installation.rst | 6 -----
patchwork/forms.py | 3 ++-
patchwork/settings/dev.py | 12 +++++++++
requirements-dev.txt | 2 ++
requirements-test.txt | 2 --
tools/docker/Dockerfile | 23 ++---------------
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 | 43 +++++++++++++++++++++++++++++--
13 files changed, 68 insertions(+), 67 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.21.0
More information about the Patchwork
mailing list