]> git.ipfire.org Git - thirdparty/patchwork.git/commit
docker: Bump tested database versions
authorStephen Finucane <stephen@that.guru>
Fri, 25 Mar 2022 09:30:08 +0000 (09:30 +0000)
committerStephen Finucane <stephen@that.guru>
Fri, 25 Mar 2022 09:48:48 +0000 (09:48 +0000)
commitd69dd6be7efc1097d12e288882316f8e414fc83c
tree6c77bea8eb460f43f92774ca747f92a106014768
parente6c26393d71911c9ba310d9fc165216e3ff072e0
docker: Bump tested database versions

We were attempting to test with PostgreSQL 9.6, but Django 4.0 requires
PostgreSQL 10.0 or greater [1]. This was causing failures like those
seens at [2]. Configure jobs to use 'latest' like we do in CI to avoid
this issue.

While we're here, we also switch from MariaDB to MySQL and use the
'latest' tag of this. Once again, this was what we were actually using
in CI and doing this limits future work.

[1] https://docs.djangoproject.com/en/4.0/ref/databases/#postgresql-notes
[2] https://stackoverflow.com/q/69477858

Signed-off-by: Stephen Finucane <stephen@that.guru>
docker-compose-pg.yml
docker-compose.yml
tools/docker/Dockerfile