-
Notifications
You must be signed in to change notification settings - Fork 368
/
docker-compose.ci.yml
40 lines (40 loc) · 1.27 KB
/
docker-compose.ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: '3.4'
services:
app:
# Build at dd-trace-rb level to copy in current code
# and use it as the `datadog` gem.
build:
context: ../../..
dockerfile: integration/apps/rspec/Dockerfile-ci
args:
BASE_IMAGE: ${APP_IMAGE}
environment:
- BUNDLE_GEMFILE=/app/Gemfile
- DD_AGENT_HOST=ddagent
- DD_METRIC_AGENT_PORT=8125
- DD_TRACE_AGENT_PORT=8126
- DD_HEALTH_METRICS_ENABLED=true
- DD_SERVICE=acme-rspec
- DD_PROFILING_ENABLED=true
# Use these to choose what is run
- DD_DEMO_ENV_PROCESS=rspec
- DD_DEMO_ENV_FEATURES=ci
stdin_open: true
tty: true
# The agent is not relevant to the result of running integration test on CI.
# Since the current integration test suite is mostly about sending a http request
# to an app and verified the responsee and run a couple of self-owned test cases.
#
# Build at dd-trace-rb level to copy in current code
# and use it as the `datadog` gem.
integration-tester:
build:
context: ../../..
dockerfile: integration/apps/rspec/Dockerfile-ci
args:
BASE_IMAGE: ${APP_IMAGE}
command: bin/test
# volumes:
# - .:/app
# - ../../images/include:/vendor/dd-demo
# - ../../..:/vendor/dd-trace-rb