mbox series

[v3,0/5] Integrate tox-docker

Message ID 20190608173622.6711-1-stephen@that.guru
Headers show
Series Integrate tox-docker | expand

Message

Stephen Finucane June 8, 2019, 5:36 p.m. UTC
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 v2:
- Fix issues with '-mysql' environments
- Additional fixes to work around issues highlighted by MySQL 8.0
- General cleanup

Changes since v1:
- Don't switch to PyMySQL since performance is worse

Stephen Finucane (5):
  forms: Don't attempt to evaluate State at startup
  migrations: Correct 'unique_together' order in '0015'
  docker: *Really* don't require rebuilding if unncessary
  tox: Integrate tox-docker
  docker-compose: Massively simplify

 docs/development/contributing.rst             | 28 +++++--------------
 docs/development/installation.rst             |  6 ----
 patchwork/forms.py                            |  3 +-
 .../migrations/0015_add_series_models.py      |  2 +-
 patchwork/settings/dev.py                     | 12 ++++++++
 tools/docker/Dockerfile                       | 27 +++---------------
 tools/docker/entrypoint.sh                    |  6 ++--
 tools/docker/trusty-ports.list                |  3 --
 tools/docker/trusty.list                      |  3 --
 tools/docker/xenial-ports.list                |  3 --
 tools/docker/xenial.list                      |  3 --
 tox.ini                                       | 25 +++++++++++++----
 12 files changed, 50 insertions(+), 71 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