3 ms·
I would recommend following the Docker Cloud approach: https://docs.docker.com/docker-cloud/builds/automated-testing/ https://docs.docker.com/docker-cloud/build
by janoszen 9y ago
I would recommend following the Docker Cloud approach: https://docs.docker.com/docker-cloud/builds/automated-testing/ https://docs.docker.com/docker-cloud/builds/automated-testin...
It basically boils down to creating a docker-compose file for testing, and then running tests in it. How you run those tests is pretty much dependent on the type of service you run.
You may also want to institute health checks, either within Docker / Kubernetes, or full service monitoring from the outside.
- coaxial 9y agoThank you, I'm looking for something free, it's for a side project.
- janoszen 9y agoIt's free if it's open source. You could also use the same approach and run the test compose yaml file on your desktop/laptop, you don't need to use the Docker cloud for that. You could also integrate the same mechanism with Gitlab.