Goals
To run the QA test suite using docker before deploying any druid service
Background
Our entry point is the blubber file we use to deploy the service. Using that file we should be able to create a docker image to run the service as a docker container in our laptop. Once done that, we'd need run a docker-compose project in such a way we run a project with two containers in the same network: service and druid. If we export the service port, we will be to run the QA test against the dockerized service that will connect to the druid one to fetch the data.
Tasks
- Blubber file
- Prepare the blubber file. We can take the one we use for cassandra-based services
- Dockerize the service
- Create a docker image with the service from the blubber file. We can do it the same way we did for cassandra-based services
- Customize Druid test env to run in a docker-compose project with the service (merged)
- Prepare a docker-compose project to be able to run the service and test env container together in the same docker network
- Document all the needed steps (shared document for both cassandra and druid services)
- QA testing using Docker: https://wikitech.wikimedia.org/wiki/AQS_2.0#Testing
- Test it first in an specific service and prepare the rest of them according to the steps that are explained in the documentation
Related tasks
T344373: AQS 2.0 Cassandra-based services: Explore how to run QA test suite using Docker