tobiko/docker-compose.yml
Federico Ressi 0d7c5825e3 Refactor container files
Change-Id: I42eeadb2183d517d6f72f578cb5dfd6e03daced4
2021-11-12 13:40:42 +00:00

48 lines
902 B
YAML

---
version: '3.4'
services:
unit:
build:
context: .
target: tobiko
hostname: tobiko
environment:
OS_TEST_PATH: tobiko/tests/unit
TOX_REPORT_NAME: tobiko_results_unit
volumes:
- ./report:/report
shell:
extends:
service: unit
entrypoint: /bin/bash
functional:
extends:
service: unit
environment:
OS_TEST_PATH: tobiko/tests/functional
TOX_REPORT_NAME: tobiko_results_functional
create:
extends:
service: unit
environment:
OS_TEST_PATH: tobiko/tests/scenario
TOX_REPORT_NAME: tobiko_results_create
disrupt:
extends:
service: unit
environment:
OS_TEST_PATH: tobiko/tests/faults
TOX_REPORT_NAME: tobiko_results_disrupt
verify:
extends:
service: create
environment:
PREVENT_CREATE: true
TOX_REPORT_NAME: tobiko_results_verify