Introducing: Services for tasks and builds
This feature has been around for a while, but there still might be some of you unaware that you can attach services to Docker containers and use them in your builds. The feature is free with no limits imposed and includes the following services:
- MySQL
- MongoDB
- Postgres
- MariaDB
- Redis
- Memcached
- Elasticsearch
List of actions that support services
Image loading...Actions supporting services
How to attach services to your build
Click the build action that you want to use and switch to the Services tab
Image loading...Location of Services tab
Click the Attach button to expand the list of services available
Image loading...List of services available
Once you select the service it'll be attached to your build and connection details presented
Image loading...Service details
Make sure to Save your changes when you're done!
Not that data stored in the service is not persistent between executions: everything is recreated from scratch on each execution.
Jarek Dylewski
Customer Support
A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.