Skip to content

Commit 4706d7c

Browse files
Merge pull request #377 from Checkmk/devel
Release 2.3.0
2 parents 2c2e22f + e85dfbf commit 4706d7c

File tree

52 files changed

+1607
-149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1607
-149
lines changed

.github/workflows/ans-int-test-activation.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
- '3.11'
4040
exclude:
4141
# Exclude unsupported sets.
42-
- ansible: stable-2.12
43-
python: '3.11'
4442
- ansible: stable-2.13
4543
python: '3.11'
4644

.github/workflows/ans-int-test-contact_group.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
- '3.11'
4040
exclude:
4141
# Exclude unsupported sets.
42-
- ansible: stable-2.12
43-
python: '3.11'
4442
- ansible: stable-2.13
4543
python: '3.11'
4644

.github/workflows/ans-int-test-discovery.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
- '3.11'
4040
exclude:
4141
# Exclude unsupported sets.
42-
- ansible: stable-2.12
43-
python: '3.11'
4442
- ansible: stable-2.13
4543
python: '3.11'
4644

.github/workflows/ans-int-test-downtime.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
- '3.11'
4040
exclude:
4141
# Exclude unsupported sets.
42-
- ansible: stable-2.12
43-
python: '3.11'
4442
- ansible: stable-2.13
4543
python: '3.11'
4644

.github/workflows/ans-int-test-folder.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
- '3.11'
4040
exclude:
4141
# Exclude unsupported sets.
42-
- ansible: stable-2.12
43-
python: '3.11'
4442
- ansible: stable-2.13
4543
python: '3.11'
4644

.github/workflows/ans-int-test-host.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
- '3.11'
4040
exclude:
4141
# Exclude unsupported sets.
42-
- ansible: stable-2.12
43-
python: '3.11'
4442
- ansible: stable-2.13
4543
python: '3.11'
4644

.github/workflows/ans-int-test-host_group.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
- '3.11'
4040
exclude:
4141
# Exclude unsupported sets.
42-
- ansible: stable-2.12
43-
python: '3.11'
4442
- ansible: stable-2.13
4543
python: '3.11'
4644

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# https://github.com/ansible-collections/collection_template/blob/main/.github/workflows/ansible-test.yml
2+
3+
name: Ansible Integration Tests for Password Module
4+
on:
5+
workflow_dispatch:
6+
pull_request:
7+
branches:
8+
- main
9+
- devel
10+
paths:
11+
- 'plugins/modules/password.py'
12+
13+
env:
14+
NAMESPACE: checkmk
15+
COLLECTION_NAME: general
16+
17+
jobs:
18+
19+
###
20+
# Integration tests (RECOMMENDED)
21+
#
22+
# https://docs.ansible.com/ansible/latest/dev_guide/testing_integration.html
23+
24+
integration:
25+
runs-on: ubuntu-latest
26+
name: Ⓐ${{ matrix.ansible }}+py${{ matrix.python }}
27+
strategy:
28+
fail-fast: false
29+
matrix:
30+
ansible:
31+
- stable-2.13
32+
- stable-2.14
33+
- stable-2.15
34+
- devel
35+
python:
36+
- '3.8'
37+
- '3.9'
38+
- '3.10'
39+
- '3.11'
40+
exclude:
41+
# Exclude unsupported sets.
42+
- ansible: stable-2.13
43+
python: '3.11'
44+
45+
steps:
46+
- name: Check out code
47+
uses: actions/checkout@v3
48+
with:
49+
path: ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}
50+
51+
- name: Set up Python
52+
uses: actions/setup-python@v4
53+
with:
54+
python-version: '3.10'
55+
56+
- name: Install ansible-base (${{ matrix.ansible }})
57+
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
58+
59+
- name: Run integration test
60+
run: ansible-test integration password -v --color --retry-on-error --continue-on-error --diff --python ${{ matrix.python }} --docker
61+
working-directory: ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}

.github/workflows/ans-int-test-rule.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
- '3.11'
4040
exclude:
4141
# Exclude unsupported sets.
42-
- ansible: stable-2.12
43-
python: '3.11'
4442
- ansible: stable-2.13
4543
python: '3.11'
4644

.github/workflows/ans-int-test-service_group.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
- '3.11'
4040
exclude:
4141
# Exclude unsupported sets.
42-
- ansible: stable-2.12
43-
python: '3.11'
4442
- ansible: stable-2.13
4543
python: '3.11'
4644

0 commit comments

Comments
 (0)