ci: use DD_INSIDE_CI
@@ -19,26 +19,19 @@ schedules:
resources:
containers:
- container: datadog-agent
- image: datadog/agent:7
- options: --health-cmd="exit 0" --health-interval=1s
+ image: datadog/agent:latest
ports:
- - 8125:8125
- 8126:8126
env:
DD_API_KEY: $(ddAPIKey)
- DD_APM_ENABLED: "true"
- DD_APM_NON_LOCAL_TRAFFIC: "true"
- DD_LOGS_ENABLED: "true"
- DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL: "true"
- DD_AC_EXCLUDE: "name:datadog-agent"
+ DD_HOSTNAME: "none"
+ DD_INSIDE_CI: "true"
jobs:
- job: IntegrationTests
pool:
vmImage: "Ubuntu-20.04"
container:
image: golang:latest
- options: >-
- -l com.datadoghq.ad.logs="[{\"source\": \"Azure Pipeline\", \"service\": \"datadog-api-client-go\"}]"
services:
datadog-agent: datadog-agent
steps:
