Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions .github/workflows/test_plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ jobs:
fail-fast: false
matrix:
python_version: [ 3.5.10, 3.6.15, 3.7.13, 3.8.16, 3.10.10 ]
distro:
- ubuntu2204
- ubuntu2404
- rockylinux8
- rockylinux9

steps:
- name: Check out code
Expand All @@ -123,8 +128,9 @@ jobs:

- name: Test with ansible-playbook
run: |
ansible-playbook molecule/plugins/converge.yml
molecule test -s plugins
env:
MOLECULE_DISTRO: ${{ matrix.distro }}
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'

Expand All @@ -140,6 +146,11 @@ jobs:
fail-fast: false
matrix:
ansible_core_version: [ 2.11.12, 2.12.10, 2.13.8, 2.14.4 ]
distro:
- ubuntu2204
- ubuntu2404
- rockylinux8
- rockylinux9

steps:
- name: Check out code
Expand All @@ -162,8 +173,9 @@ jobs:

- name: Test with ansible-playbook
run: |
ansible-playbook molecule/plugins/converge.yml
molecule test -s plugins
env:
MOLECULE_DISTRO: ${{ matrix.distro }}
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'

Expand All @@ -179,6 +191,11 @@ jobs:
fail-fast: false
matrix:
python_cryptography_version: [ 2.5, 3.0, 3.1, 3.2, 3.3, 3.4, 35.0.0, 36.0.0, 38.0.0, 40.0.1]
distro:
- ubuntu2204
- ubuntu2404
- rockylinux8
- rockylinux9

steps:
- name: Check out code
Expand All @@ -202,7 +219,8 @@ jobs:

- name: Test with ansible-playbook
run: |
ansible-playbook molecule/plugins/converge.yml
molecule test -s plugins
env:
MOLECULE_DISTRO: ${{ matrix.distro }}
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
25 changes: 25 additions & 0 deletions molecule/plugins/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
driver:
name: docker
platforms:
- name: "elasticstack${ELASTIC_RELEASE}-cluster1-${MOLECULE_DISTRO}"
groups:
- beats
- logstash
- elasticsearch
image: "geerlingguy/docker-${MOLECULE_DISTRO:-debian11}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
privileged: true
pre_build_image: true
provisioner:
name: ansible

# Just enable temporarily. Sometimes it's useful, but most of the time it's
# overwhelming
#env:
# ANSIBLE_VERBOSITY: 3
verifier:
name: ansible
Loading