-
Notifications
You must be signed in to change notification settings - Fork 140
/
docker-compose.windows.yml
240 lines (231 loc) · 8.81 KB
/
docker-compose.windows.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
version: '3'
services:
start-test-agent.windows:
build:
context: ./tracer/build/_build/docker/
dockerfile: wait-for-dependencies-windows.dockerfile
image: andrewlock/wait-for-dependencies-windows
depends_on:
- test-agent.windows
environment:
- TIMEOUT_LENGTH=120
command: test-agent.windows:8126
test-agent.windows:
build:
context: ./tracer/build/_build/docker/
dockerfile: test-agent.windows.dockerfile
image: dd-trace-dotnet/ddapm-test-agent-windows
volumes:
- ./tracer/build/smoke_test_snapshots:c:/snapshots
- ./artifacts/build_data/snapshots:c:/debug_snapshots
ports:
- "8126:8126"
environment:
- SNAPSHOT_CI=1
- SNAPSHOT_IGNORED_ATTRS=span_id,trace_id,parent_id,duration,start,metrics.system.pid,meta.runtime-id,metrics.process_id,meta.http.client_ip,meta.network.client.ip,meta._dd.p.dm,meta._dd.p.tid,meta._dd.parent_id,meta._dd.appsec.s.req.params,meta._dd.appsec.s.res.body,meta._dd.appsec.s.req.headers,meta._dd.appsec.s.res.headers #api-security attrs are unfortunately ignored because gzip compression generates different bytes per platform windows/linux
# The IIS images are based on Windows images, so they can only be run on Docker for Windows,
# and only after switching to run Windows containers
IntegrationTests.IIS.LoaderOptimizationStartup:
build:
context: ./
args:
- ENABLE_32_BIT
- DOTNET_TRACER_MSI
dockerfile: ./tracer/build/_build/docker/iis.loaderoptimization.dockerfile
image: datadog-iis-loaderoptimizationregkey
volumes:
- ./artifacts/build_data/logs/LoaderOptimizationStartup:c:/ProgramData/Datadog .NET Tracer/logs
ports:
- "8080:80"
depends_on:
- test-agent.windows
environment:
- DD_TRACE_AGENT_URL=http://test-agent.windows:8126
- DD_CLR_ENABLE_NGEN=${DD_CLR_ENABLE_NGEN:-1}
- DD_LOGGER_DD_API_KEY
- DD_LOGGER_DD_SERVICE
- DD_LOGGER_DD_ENV
- DD_LOGGER_ENABLED
- DD_LOGGER_TF_BUILD=${TF_BUILD:-}
- DD_LOGGER_BUILD_BUILDID
- DD_LOGGER_BUILD_DEFINITIONNAME
- DD_LOGGER_BUILD_SOURCESDIRECTORY
- DD_LOGGER_BUILD_REPOSITORY_URI
- DD_LOGGER_BUILD_SOURCEVERSION
- DD_LOGGER_BUILD_SOURCEBRANCH
- DD_LOGGER_BUILD_SOURCEBRANCHNAME
- DD_LOGGER_BUILD_SOURCEVERSIONMESSAGE
- DD_LOGGER_BUILD_REQUESTEDFORID
- DD_LOGGER_BUILD_REQUESTEDFOREMAIL
- DD_LOGGER_SYSTEM_TEAMFOUNDATIONSERVERURI
- DD_LOGGER_SYSTEM_TEAMPROJECTID
- DD_LOGGER_SYSTEM_STAGEDISPLAYNAME
- DD_LOGGER_SYSTEM_JOBDISPLAYNAME
- DD_LOGGER_SYSTEM_JOBID
- DD_LOGGER_SYSTEM_TASKINSTANCEID=${SYSTEM_TASKINSTANCEID:-}
- DD_LOGGER_SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI
- DD_LOGGER_SYSTEM_PULLREQUEST_SOURCECOMMITID
- DD_LOGGER_SYSTEM_PULLREQUEST_SOURCEBRANCH
- DD_LOGGER_DD_TAGS
- IS_SSI_RUN
IntegrationTests.IIS.MultipleAppsInDomain:
build:
context: ./
args:
- ENABLE_32_BIT
- DOTNET_TRACER_MSI
dockerfile: ./tracer/build/_build/docker/iis.multipleappsindomain.dockerfile
image: datadog-iis-multipleappsindomain
volumes:
- ./artifacts/build_data/logs/MultipleAppsInDomain:c:/ProgramData/Datadog .NET Tracer/logs
ports:
- "8081:8081"
- "8082:8082"
depends_on:
- test-agent.windows
environment:
- DD_TRACE_AGENT_URL=http://test-agent.windows:8126
- DD_CLR_ENABLE_NGEN=${DD_CLR_ENABLE_NGEN:-1}
- DD_LOGGER_DD_API_KEY
- DD_LOGGER_DD_SERVICE
- DD_LOGGER_DD_ENV
- DD_LOGGER_ENABLED
- DD_LOGGER_TF_BUILD=${TF_BUILD:-}
- DD_LOGGER_BUILD_BUILDID
- DD_LOGGER_BUILD_DEFINITIONNAME
- DD_LOGGER_BUILD_SOURCESDIRECTORY
- DD_LOGGER_BUILD_REPOSITORY_URI
- DD_LOGGER_BUILD_SOURCEVERSION
- DD_LOGGER_BUILD_SOURCEBRANCH
- DD_LOGGER_BUILD_SOURCEBRANCHNAME
- DD_LOGGER_BUILD_SOURCEVERSIONMESSAGE
- DD_LOGGER_BUILD_REQUESTEDFORID
- DD_LOGGER_BUILD_REQUESTEDFOREMAIL
- DD_LOGGER_SYSTEM_TEAMFOUNDATIONSERVERURI
- DD_LOGGER_SYSTEM_TEAMPROJECTID
- DD_LOGGER_SYSTEM_STAGEDISPLAYNAME
- DD_LOGGER_SYSTEM_JOBDISPLAYNAME
- DD_LOGGER_SYSTEM_JOBID
- DD_LOGGER_SYSTEM_TASKINSTANCEID=${SYSTEM_TASKINSTANCEID:-}
- DD_LOGGER_SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI
- DD_LOGGER_SYSTEM_PULLREQUEST_SOURCECOMMITID
- DD_LOGGER_SYSTEM_PULLREQUEST_SOURCEBRANCH
- DD_LOGGER_DD_TAGS
- IS_SSI_RUN
smoke-tests.windows:
build:
context: ./tracer/ # have to use this as the context, as Dockercompose requires dockerfile to be inside context dir
dockerfile: build/_build/docker/smoke.windows.dockerfile
# args:
# Note that the following build arguments must be provided
# - DOTNETSDK_VERSION=
# - RUNTIME_IMAGE=
# - PUBLISH_FRAMEWORK=
# - CHANNEL_32_BIT=
image: dd-trace-dotnet/${dockerTag:-not-set}-windows-tester
volumes:
- ./:c:/project
- ./artifacts/build_data/logs:c:/logs
environment:
- dockerTag=${dockerTag:-unset}
- DD_TRACE_AGENT_URL=http://test-agent.windows:8126
depends_on:
- test-agent.windows
tracer-home-smoke-tests.windows:
build:
context: ./tracer/ # have to use this as the context, as Dockercompose requires dockerfile to be inside context dir
dockerfile: build/_build/docker/smoke.windows.tracer-home.dockerfile
# args:
# Note that the following build arguments must be provided
# - DOTNETSDK_VERSION=
# - RUNTIME_IMAGE=
# - PUBLISH_FRAMEWORK=
# - CHANNEL_32_BIT=
# - RELATIVE_PROFILER_PATH=
image: dd-trace-dotnet/${dockerTag:-not-set}-windows-tracer-home-tester
volumes:
- ./:c:/project
- ./artifacts/build_data/logs:c:/logs
environment:
- dockerTag=${dockerTag:-unset}
- DD_TRACE_AGENT_URL=http://test-agent.windows:8126
depends_on:
- test-agent.windows
dotnet-tool-smoke-tests.windows:
build:
context: ./tracer/ # have to use this as the context, as Dockercompose requires dockerfile to be inside context dir
dockerfile: build/_build/docker/smoke.windows.dotnet-tool.dockerfile
# args:
# Note that the following build arguments must be provided
# - DOTNETSDK_VERSION=
# - RUNTIME_IMAGE=
# - PUBLISH_FRAMEWORK=
# - CHANNEL_32_BIT=
image: dd-trace-dotnet/${dockerTag:-not-set}-windows-dotnet-tool-tester
volumes:
- ./:c:/project
- ./artifacts/build_data/logs:c:/logs
environment:
- dockerTag=${dockerTag:-unset}
- DD_TRACE_AGENT_URL=http://test-agent.windows:8126
depends_on:
- test-agent.windows
dd-dotnet-smoke-tests.windows:
build:
context: ./tracer/ # have to use this as the context, as Dockercompose requires dockerfile to be inside context dir
dockerfile: build/_build/docker/smoke.windows.dd-dotnet.dockerfile
# args:
# Note that the following build arguments must be provided
# - DOTNETSDK_VERSION=
# - RUNTIME_IMAGE=
# - PUBLISH_FRAMEWORK=
# - CHANNEL_32_BIT=
image: dd-trace-dotnet/${dockerTag:-not-set}-windows-tester
volumes:
- ./:c:/project
- ./artifacts/build_data/logs:c:/logs
environment:
- dockerTag=${dockerTag:-unset}
- DD_TRACE_AGENT_URL=http://test-agent.windows:8126
depends_on:
- test-agent.windows
nuget-smoke-tests.windows:
build:
context: ./tracer/ # have to use this as the context, as Dockercompose requires dockerfile to be inside context dir
dockerfile: build/_build/docker/smoke.windows.nuget.dockerfile
# args:
# Note that the following build arguments must be provided
# - DOTNETSDK_VERSION=
# - RUNTIME_IMAGE=
# - PUBLISH_FRAMEWORK=
# - TOOL_VERSION=
# - RELATIVE_PROFILER_PATH=
image: dd-trace-dotnet/${dockerTag:-not-set}-windows-nuget-tester
volumes:
- ./:c:/project
- ./artifacts/build_data/logs:c:/logs
environment:
- dockerTag=${dockerTag:-unset}
- DD_TRACE_AGENT_URL=http://test-agent.windows:8126
depends_on:
- test-agent.windows
nuget-dddotnet-smoke-tests.windows:
build:
context: ./tracer/ # have to use this as the context, as Dockercompose requires dockerfile to be inside context dir
dockerfile: build/_build/docker/smoke.windows.nuget.dd-dotnet.dockerfile
# args:
# Note that the following build arguments must be provided
# - DOTNETSDK_VERSION=
# - RUNTIME_IMAGE=
# - PUBLISH_FRAMEWORK=
# - TOOL_VERSION=
# - RELATIVE_PROFILER_PATH=
image: dd-trace-dotnet/${dockerTag:-not-set}-windows-nuget-tester
volumes:
- ./:c:/project
- ./artifacts/build_data/logs:c:/logs
environment:
- dockerTag=${dockerTag:-unset}
- DD_TRACE_AGENT_URL=http://test-agent.windows:8126
depends_on:
- test-agent.windows