From 6d3d6c0431a27ce6002384d72fc6a6de92029e07 Mon Sep 17 00:00:00 2001 From: etgraylog Date: Fri, 14 Feb 2025 00:36:40 -0500 Subject: [PATCH] Update ansible molecule ci scenario to bump python from 3.9 to 3.12. --- .github/workflows/ci.yml | 6 +++--- molecule/ci/molecule.yml | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6384cba..783a365 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/molecule/ci/molecule.yml b/molecule/ci/molecule.yml index d2d0e40..5727f6a 100644 --- a/molecule/ci/molecule.yml +++ b/molecule/ci/molecule.yml @@ -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