Skip to content

Commit 3c2c471

Browse files
author
Slavek Kabrda
authored
Fix CI by pinning proper Agent 5 version (#468)
* Use Agent 5.32.9-1 in CI * Only use 5.32.9 on RHEL-based platforms
1 parent d752114 commit 3c2c471

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ commands:
4848
- run: bash -c '[ -f /etc/datadog-agent/datadog.yaml.example ] || [ -f /etc/dd-agent/datadog.conf.example ]'
4949
- run: bash -c '[ ! -f /etc/datadog-agent/datadog.yaml ] && [ ! -f /etc/datadog-agent/system-probe.yaml ] && [ ! -f /etc/datadog-agent/security-agent.yaml ] && [ ! -f /etc/dd-agent/datadog.conf ]'
5050

51-
downgrade_agent_5_23_0:
51+
downgrade_agent_5_32:
5252
parameters:
5353
python:
5454
type: string
@@ -78,7 +78,7 @@ commands:
7878
- install_agent:
7979
version: "<<parameters.version>>"
8080
python: "<<parameters.python>>"
81-
- downgrade_agent_5_23_0:
81+
- downgrade_agent_5_32:
8282
python: "<<parameters.python>>"
8383

8484
test_agent_install:

ci_test/downgrade_to_5.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
vars:
77
datadog_api_key: "11111111111111111111111111111111"
88
datadog_agent_major_version: 5
9-
datadog_agent_version: 1:5.23.0-1
9+
datadog_agent_version: "{{ '1:5.32.9-1' if ansible_facts.os_family in ['RedHat', 'Rocky', 'AlmaLinux'] else '1:5.32.8-1' }}"
1010
datadog_agent_allow_downgrade: yes
1111
datadog_config:
1212
tags: "mytag0, mytag1"

0 commit comments

Comments
 (0)