opentelemetry-dotnet/test/OpenTelemetry.Instrumentati.../docker-compose.yml

15 lines
581 B
YAML

# Start a container and then run OpenTelemetry W3C Trace Context tests.
# This should be run from the root of the repo:
# opentelemetry>docker-compose --file=test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/docker-compose.yml --project-directory=. up --exit-code-from=tests --build
version: '3.7'
services:
tests:
build:
context: .
dockerfile: ./test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/Dockerfile
command: --TestCaseFilter:CategoryName=W3CTraceContextTests
environment:
- OTEL_W3CTRACECONTEXT=enabled
- SPEC_LEVEL=2