khklau / mod_tile_rs

A prototype Rust implementation of the tile module for Apache 2 webserver
GNU Affero General Public License v3.0
0 stars 0 forks source link

Reproducible integration tests #32

Open khklau opened 8 months ago

khklau commented 8 months ago

To catch problems sooner automation is needed for reproducible integration tests. The components needed for the integration tests are:

The shared disk partition is needed because legacy renderd and mod_tile use the file system as an RPC mechanism.

khklau commented 8 months ago

Initial development was done on Debian 11 Bullseye so we'll stick with this version for now. We can upgrade the components later.

So the versions of the tech stack are:

khklau commented 8 months ago

Here's the container image for Debian 11 + PostGIS 3.4 + Postgresql 13:

https://hub.docker.com/layers/postgis/postgis/13-3.4/images/sha256-d3b01809008b8de9d89310433722caf8001c539b59d00b2d61374d7f057a1a3a?context=explore

which is defined by these Dockerfiles:

https://github.com/docker-library/postgres/blob/master/13/bullseye/Dockerfile

https://github.com/postgis/docker-postgis/blob/master/13-3.4/Dockerfile

khklau commented 8 months ago

Unfortunately there no up to date container images on Docker hub of mod_tile and renderd so we'll have to define our own. It should be based on the container image for Debian 11 + Apache2 Webserver 2.4.57 here:

https://hub.docker.com/layers/library/httpd/2.4.57-bullseye/images/sha256-a6522910f36f4f6d1dde6bd3a605ef11f7ffd6fc6d37df7067c40faaeb236319?context=explore

which is defined by this Dockerfile:

https://github.com/docker-library/httpd/blob/7d6139b45f2e9a3146c2062894aca949cba91bba/2.4/Dockerfile