From 19ddfe0b24316212615b689d790c937bb0938981 Mon Sep 17 00:00:00 2001 From: Kylian Serrania Date: Fri, 23 Jun 2023 14:10:30 +0200 Subject: [PATCH] [CI] Fix CI by specifying hostname in containers (#85) Since 7.40.0, specifying a valid hostname is mandatory to be able to install & run the Agent service in a container. This repository's CI tries to install the Agent in containers, which is why we now need to specify an explicit hostname. --- test/pillar/datadog.sls | 1 + test/pillar/datadog5.sls | 1 + test/pillar/datadog6.sls | 1 + test/pillar/datadog7.sls | 1 + 4 files changed, 4 insertions(+) diff --git a/test/pillar/datadog.sls b/test/pillar/datadog.sls index 76d7782..76a4574 100644 --- a/test/pillar/datadog.sls +++ b/test/pillar/datadog.sls @@ -3,6 +3,7 @@ datadog: api_key: aaaaaaaabbbbbbbbccccccccdddddddd site: datadoghq.com python_version: 2 + hostname: test checks: directory: diff --git a/test/pillar/datadog5.sls b/test/pillar/datadog5.sls index 0e24b44..fa19b5b 100644 --- a/test/pillar/datadog5.sls +++ b/test/pillar/datadog5.sls @@ -2,6 +2,7 @@ datadog: config: api_key: aaaaaaaabbbbbbbbccccccccdddddddd site: datadoghq.com + hostname: test-5 checks: directory: diff --git a/test/pillar/datadog6.sls b/test/pillar/datadog6.sls index 03d5206..e9ba451 100644 --- a/test/pillar/datadog6.sls +++ b/test/pillar/datadog6.sls @@ -3,6 +3,7 @@ datadog: api_key: aaaaaaaabbbbbbbbccccccccdddddddd site: datadoghq.com python_version: 2 + hostname: test-6 checks: directory: diff --git a/test/pillar/datadog7.sls b/test/pillar/datadog7.sls index 5bd5d75..7e546c3 100644 --- a/test/pillar/datadog7.sls +++ b/test/pillar/datadog7.sls @@ -2,6 +2,7 @@ datadog: config: api_key: aaaaaaaabbbbbbbbccccccccdddddddd site: datadoghq.com + hostname: test-7 checks: directory: