mozilla-services / iprepd-nginx

Openresty nginx module for integrating with iprepd
https://github.com/mozilla-services/iprepd
Mozilla Public License 2.0
9 stars 5 forks source link

Update to image build + test process #44

Closed kkleemola closed 3 years ago

kkleemola commented 3 years ago

First commit updates iprepd-nginx to switch from the legacy endpoint.

Second commit redoes testing and how we build the image.

We build two images now: one for production and one for integration tests from the production image that has python installed + mocks.

We run the integration tests with both external fixtures with docker-compose as well as mocks from within the container. We then run smoke tests against the production image with docker-compose as well.

The integration tests are meant for when we need to manipulate settings, etc in iprepd-nginx and simulate certain conditions like timeouts with iprepd.