Overview
Add service containers to your Vela pipeline for integration testing against databases, caches, or other dependencies. Services start before steps and remain available for the entire pipeline duration.
Services run in the same network as your step containers, so reach them by their name as the hostname.
Service Keys
| Key | Required | Type | Description |
|---|
name | Y | string | Unique identifier (also used as hostname) |
image | Y | string | Docker image to run |
pull | N | string | Pull policy: always, never, not_present, on_start |
environment | N | map or []string | Environment variables for the service |