]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Support testing with PostgreSQL
authorDaniel Axtens <dja@axtens.net>
Fri, 20 Oct 2017 05:36:55 +0000 (16:36 +1100)
committerDaniel Axtens <dja@axtens.net>
Sat, 28 Oct 2017 01:39:17 +0000 (12:39 +1100)
commit8c5b29bc8a45d31b1ea8b48ff7eb2c0f1ebb1ec3
treebbb20efba4cc00aa6df2e306eb06cbd8f8e79ff2
parentfa86224f538741f5a529f179cb8a63321f96d985
Support testing with PostgreSQL

This allows us to easily test against PostgreSQL using the same
tooling we normally use. This is helpful in (for example) shaking
out the test failures that were observed on ozlabs.org

To use it:
  docker-compose -f docker-compose-pg.yml <usual argument>

(You may find in necessary to do a 'docker-compose down' first,
depending on what state the system is in and what command you're
running.)

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Stephen Finucane <stephen@that.guru>
docker-compose-pg.yml [new file with mode: 0644]
requirements-test.txt
tools/docker/Dockerfile
tools/docker/entrypoint.sh