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

20 lines
699 B
YAML

# Start a redis container and then run OpenTelemetry redis integration tests.
# This should be run from the root of the repo:
# opentelemetry>docker-compose --file=test/OpenTelemetry.Instrumentation.StackExchangeRedis.Tests/docker-compose.integration.yml --project-directory=. up --exit-code-from=redis_integration_tests --build
version: '3.1'
services:
redis:
image: redis
ports:
- "6379:6379"
redis_integration_tests:
build:
context: .
dockerfile: ./test/OpenTelemetry.Instrumentation.StackExchangeRedis.Tests/dockerfile
command: --filter CategoryName=RedisIntegrationTests
environment:
- OT_REDISENDPOINT=redis:6379
depends_on:
- redis