Allow service alias from config in Docker executor
Some people may need to alias a service within the Runner config to make it easier to enforce service includes.
alias tags to be included for
services within the Runner's
We need to define a new toml table array so users can define something like below. Having the table above, we then in the future extend this so that he user can set
command in a follow up issues, no no breaking changes.
[[runners]] name = "xxx" url = "xxx" token = "xxx" executor = "shell" shell = "powershell" [[runners.docker.services]] name = "postgres:11" alias = "db" [[runners.docker.services]] name = "redis:latest" alias = "cache"
With this, we would also need to deprecate the
docker.service configuration we already have in place, which will be removed in a future major release.
This is for customer: https://gitlab.my.salesforce.com/00161000004zoBW