Skip to content

Commit

Permalink
Try adding the test agent
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlock committed Oct 29, 2024
1 parent 37a9c53 commit 28b3711
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .azure-pipelines/ultimate-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2035,9 +2035,16 @@ stages:
displayName: BuildWindowsIntegrationTests

- powershell: |
mkdir -Force "./artifacts/build_data/logs/LoaderOptimizationStartup"
docker compose build --build-arg DOTNET_TRACER_MSI=.$(relativeMsiOutputDirectory)/*.msi --build-arg ENABLE_32_BIT=$(enable32bit) IntegrationTests.IIS.LoaderOptimizationStartup
docker compose up -d IntegrationTests.IIS.LoaderOptimizationStartup
mkdir -Force ./artifacts/build_data/snapshots
mkdir -Force ./artifacts/build_data/logs/LoaderOptimizationStartup
docker compose -f docker-compose.windows.yml run --rm start-test-agent.windows
docker compose -f docker-compose.yml -f docker-compose.windows.yml build `
--build-arg DOTNET_TRACER_MSI=.$(relativeMsiOutputDirectory)/*.msi `
--build-arg ENABLE_32_BIT=$(enable32bit) `
IntegrationTests.IIS.LoaderOptimizationStartup
docker compose up -f docker-compose.yml -f docker-compose.windows.yml -d IntegrationTests.IIS.LoaderOptimizationStartup
displayName: docker-compose start IntegrationTests.IIS
retryCountOnTaskFailure: 5
env:
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,10 @@ services:
- ./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
Expand Down

0 comments on commit 28b3711

Please sign in to comment.