[PATCH 0/4] PostgreSQL fixes and test support
Daniel Axtens
dja at axtens.net
Mon Sep 4 01:14:40 AEST 2017
Hi all,
Apologies for the radio silence from me - I've been working mostly on
this:
Production deployments of Patchwork often use postgres instead of
mysql. So far we haven't been testing that very well, and so when
OzLabs was upgraded some bugs were discovered. jk has kindly sent
patches to fix the fuzztest failures. I also see a bundles test
failure that is due to assumptions the test makes about ordering, so
patch 1 fixes that up.
Patches 2-4 support better testing for postgres. Patch 3 allows local
testing, and patch 4 does automatic testing in Travis with a nice
recent version.
Regards,
Daniel
Daniel Axtens (4):
Enforce ordering of bundles in REST test
Simplify docker-compose MySQL setup
Support testing with PostgreSQL
Test postgresql support in Travis CI
.travis.yml | 10 +++++++-
docker-compose-pg.yml | 30 ++++++++++++++++++++++
docker-compose.yml | 9 +++++--
patchwork/tests/test_rest_api.py | 2 +-
requirements-test.txt | 3 ++-
tools/docker/Dockerfile | 3 ++-
tools/docker/db/Dockerfile | 10 --------
tools/docker/entrypoint.sh | 54 ++++++++++++++++++++++++++++++++--------
8 files changed, 95 insertions(+), 26 deletions(-)
create mode 100644 docker-compose-pg.yml
delete mode 100644 tools/docker/db/Dockerfile
--
2.11.0
More information about the Patchwork
mailing list