File: docker-hub/builds/automated-testing.md
It's unclear how to actually use the depends_on feature described in this automated-testing documentation.
If I add some services and a depends_on to sut then I get:
The Compose file './docker-compose-test.yml' is invalid because:
Unsupported config option for sut: 'depends_on'
building docker-compose-test.yml (1)
using the following docker-compose-test.yml file:
sut:
build: .
command: ./run_tests.sh
depends_on:
- db
db:
image: postgis/postgis:12-3.1-alpine
environment:
POSTGRES_PASSWORD: pgpassword
expose:
- "5432"
File: docker-hub/builds/automated-testing.md
It's unclear how to actually use the
depends_onfeature described in this automated-testing documentation.If I add some services and a
depends_ontosutthen I get:using the following
docker-compose-test.ymlfile: