Using containerized services in your pipeline
Jan 23, 2019Matt Cooper

Summary
This post introduces and details the functionality of 'service containers' in Azure Pipelines. It explains how service containers allow for additional helper containers to be made available to a pipeline job, simplifying the setup and teardown of dependencies for integration tests. The post provides two YAML examples: one demonstrating basic usage with Nginx and Redis, and another showing how to combine service containers with a matrix strategy to test against multiple PostgreSQL versions. It also clarifies that service containers work with non-container jobs and support advanced scenarios like custom port and volume mappings.