Skip to content

Commit

Permalink
Fix CI (#82)
Browse files Browse the repository at this point in the history
* Choose proper 5.32 release to install based on distro
* Select python3 as the default python in CI
  • Loading branch information
Slavek Kabrda authored Jan 13, 2023
1 parent 04c8e43 commit 50ea8b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ commands:

setup_ubuntu:
steps:
- run: apt-get update && apt-get install -y curl sudo
- run: apt-get update && apt-get install -y curl sudo python3
- run: cp test/utils/systemctl.py /bin/systemctl
- run: cp test/utils/systemctl.py /bin/systemd
- setup_common
- run: update-alternatives --install /usr/bin/python python /usr/bin/python3 1

setup_centos:
steps:
Expand Down
6 changes: 5 additions & 1 deletion test/pillar/datadog5.sls
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ datadog:
name: "pillars"

install_settings:
agent_version: 5.32.5
{% if grains['os_family'].lower() == 'redhat' %}
agent_version: 5.32.9
{% else %}
agent_version: 5.32.8
{% endif %}

0 comments on commit 50ea8b1

Please sign in to comment.