I'm defining custom services in my bitbucket-pipelines.yml.
But some of these services must use volumes in order to load an specific application configuration file for functional tests.
I tried this:
...
...
definitions:
services:
backend-api:
image: atlassian/pipelines-awscli:latest
script:
- eval $(aws ecr get-login --region ${AWS_DEFAULT_REGION} --no-include-email)
- docker run -d -v /opt/atlassian/pipelines/agent/build/cypress/backend-api-config:/config 123456.dkr.ecr.us-east-1.amazonaws.com/backend-api:latest
mongo:
image: mongo
is it possible? Or should I use docker-compose solution?