Skip to content

Commit

Permalink
Update ansible molecule ci scenario to bump python from 3.9 to 3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
etgraylog committed Feb 14, 2025
1 parent 662b519 commit 6d3d6c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
with:
path: 'graylog2.graylog-ansible-role'

- name: Set up Python 3.9
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.12'

- name: Install test dependencies.
run: pip3 install yamllint
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.12'

- name: Install test dependencies.
run: pip3 install -r requirements.txt
Expand Down
5 changes: 4 additions & 1 deletion molecule/ci/molecule.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
---
dependency:
name: galaxy
options:
role-file: requirements.yml
ignore-errors: true
driver:
name: docker
platforms:
- name: graylog
image: geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible
image: geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2204}-ansible
command: '/sbin/init'
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
Expand Down

0 comments on commit 6d3d6c0

Please sign in to comment.