Goals
To run the QA test suite using docker before deploying any cassandra 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 cassandra. If we export the service port, we will be to run the QA test against the dockerized service that will connect to the cassandra one to fetch the data.
Tasks
- Blubber file
- Prepare the blubber file
- Dockerize the service
- Create a docker image with the service from the blubber file
- Customize Cassandra test env to run in a docker-compose project with the service
- Prepare a docker-compose project to be able to run the service and test env container
- Document all the needed steps
- QA testing using Docker: https://wikitech.wikimedia.org/wiki/AQS_2.0#Testing
- Test it first in an specific service (geo-analytics in this case) and prepare the rest of them according to the steps that are explained in the documentation
- geo-analytics (used as the sample service for this task) (merged)
- media-analytics (merged)
- page-analytics (merged)
- device-analytics (not needed at this moment because this service was already deployed, but added to T342018: compile list of known issues for triage post AQS 2.0 launch to be done post AQS 2.0 launch
Related tasks
T344374: AQS 2.0 Druid-based services: Explore how to run QA test suite using Docker