Skip to content

Commit 8e07939

Browse files
Merge pull request #177 from tribe29/devel
Release 0.12.0
2 parents edf09d2 + 980c910 commit 8e07939

File tree

35 files changed

+1099
-112
lines changed

35 files changed

+1099
-112
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# https://github.com/ansible-collections/collection_template/blob/main/.github/workflows/ansible-test.yml
2+
3+
name: Ansible Integration Tests for Contact Group Module
4+
on:
5+
workflow_dispatch:
6+
pull_request:
7+
branches:
8+
- main
9+
- devel
10+
paths:
11+
- 'plugins/modules/contact_group.py'
12+
13+
env:
14+
NAMESPACE: tribe29
15+
COLLECTION_NAME: checkmk
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.12
32+
- stable-2.13
33+
- devel
34+
python:
35+
- '2.7'
36+
- '3.6'
37+
- '3.7'
38+
- '3.8'
39+
- '3.9'
40+
- '3.10'
41+
- '3.11'
42+
exclude:
43+
# Exclude unsupported sets.
44+
- ansible: stable-2.12
45+
python: '3.11'
46+
- ansible: stable-2.13
47+
python: '3.11'
48+
49+
steps:
50+
- name: Check out code
51+
uses: actions/checkout@v3
52+
with:
53+
path: ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}
54+
55+
- name: Set up Python
56+
uses: actions/setup-python@v4
57+
with:
58+
python-version: 3.9
59+
60+
- name: Install ansible-base (${{ matrix.ansible }})
61+
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
62+
63+
- name: Run integration test
64+
run: ansible-test integration contact_group -v --color --retry-on-error --continue-on-error --diff --python ${{ matrix.python }} --docker
65+
working-directory: ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}

.github/workflows/ansible-sanity-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
sanity:
4040
name: Sanity (Ⓐ${{ matrix.ansible }})
4141
strategy:
42+
fail-fast: false
4243
matrix:
4344
ansible:
4445
- stable-2.11

CHANGELOG.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Bugfixes
6161
--------
6262

6363
- Host module - Do not raise an error, if a host already exists, or on updating a host's attributes while the hosts stays in the same folder.
64-
- Server role - Fix and enhance additional repository handling on RedHat derivates.
64+
- Server role - Fix and enhance additional repository handling on RedHat derivatives.
6565

6666
v0.8.0
6767
======
@@ -77,7 +77,7 @@ Minor Changes
7777
- Downtime module - Make certificate validation of the Checkmk server configurable.
7878
- Folder module - Make certificate validation of the Checkmk server configurable.
7979
- Host module - Make certificate validation of the Checkmk server configurable.
80-
- Server role - Fix setup file verification on Debian derivates. Using gpg instead of dpkg-sig now.
80+
- Server role - Fix setup file verification on Debian derivatives. Using gpg instead of dpkg-sig now.
8181

8282
v0.7.0
8383
======

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ out there and we love seeing you add to that plethora of it!
2020

2121
## How to contribute
2222

23-
There is several ways in which you can contribute:
23+
There are several ways in which you can contribute:
2424

2525
1. Submit an [issue](#Submitting-Issues).
2626
2. Create a [pull request](#Pull-Requests).
27+
3. Pick an [issue, which needs help](https://github.com/tribe29/ansible-collection-tribe29.checkmk/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22).
2728

2829
Everything helps, really!
2930
We do test everything to the best of our abilities, but nothing beats real world
@@ -84,7 +85,7 @@ Releasing this collection is automated using GitHub Actions.
8485
Before running the action `Release Collection` against the `main` branch, the
8586
following needs to be done:
8687

87-
1. Update the collection version in `galaxy.yml`. Look for `version:`.
88+
1. Update the collection version in `galaxy.yml` and `requirements.yml`. Look for `version:`.
8889
2. Double check `changelogs/fragments` if all changes have a changelog.
8990
3. After all changes have been performed, merge them into the `main` branch.
9091
4. Release the collection by running the action `Release Collection` against the `main` branch.

changelogs/archive/0.8.0/server_role.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# https://docs.ansible.com/ansible/latest/community/development_process.html#changelogs-how-to
22

33
minor_changes:
4-
- Server role - Fix setup file verification on Debian derivates. Using gpg instead of dpkg-sig now.
4+
- Server role - Fix setup file verification on Debian derivatives. Using gpg instead of dpkg-sig now.
55

66
# known_issues:
77
# - This release is still in development and a heavy work in progress.

changelogs/archive/0.9.0/server_role.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ minor_changes:
55
- Server role - Add handlers to ensure the system apache is started after installation.
66

77
bugfixes:
8-
- Server role - Fix and enhance additional repository handling on RedHat derivates.
8+
- Server role - Fix and enhance additional repository handling on RedHat derivatives.
99

1010
# known_issues:
1111
# - This release is still in development and a heavy work in progress.

changelogs/changelog.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ releases:
255255
- Downtime module - Make certificate validation of the Checkmk server configurable.
256256
- Folder module - Make certificate validation of the Checkmk server configurable.
257257
- Host module - Make certificate validation of the Checkmk server configurable.
258-
- Server role - Fix setup file verification on Debian derivates. Using gpg instead
258+
- Server role - Fix setup file verification on Debian derivatives. Using gpg instead
259259
of dpkg-sig now.
260260
fragments:
261261
- agent_role.yml
@@ -267,7 +267,7 @@ releases:
267267
bugfixes:
268268
- Host module - Do not raise an error, if a host already exists, or on updating
269269
a host's attributes while the hosts stays in the same folder.
270-
- Server role - Fix and enhance additional repository handling on RedHat derivates.
270+
- Server role - Fix and enhance additional repository handling on RedHat derivatives.
271271
minor_changes:
272272
- Server role - Improve OS support detection and enhance prerequisites installation.
273273
fragments:

changelogs/fragments/bugfixes.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# https://docs.ansible.com/ansible/latest/community/development_process.html#changelogs-how-to
2+
3+
bugfixes:
4+
- Agent role - Fix timeouts on tasks delegated_to localhost.
5+
6+
minor_changes:
7+
- Agent role - Add option to download agent setup to control node and then upload to target.
8+
- Downtime module - Improve readability of messages in case of API errors.
9+
10+
## Line Format
11+
12+
# When writing a changelog entry, use the following format:
13+
14+
# - scope - description starting with a uppercase letter and ending with a period at the very end. Multiple sentences are allowed.
15+
16+
# The scope is usually a module or plugin name or group of modules or plugins, for example, lookup plugins. While module names can (and should) be mentioned directly (foo_module), plugin names should always be followed by the type (foo inventory plugin).
17+
18+
# For changes that are not really scoped (for example, which affect a whole collection), use the following format:
19+
20+
# - Description starting with an uppercase letter and ending with a dot at the very end. Multiple sentences are allowed.
21+
22+
23+
## Possible keys:
24+
25+
# breaking_changes
26+
27+
# Changes that break existing playbooks or roles. This includes any change to existing behavior that forces users to update tasks. Displayed in both the changelogs and the Porting Guides.
28+
# major_changes
29+
30+
# Major changes to Ansible itself. Generally does not include module or plugin changes. Displayed in both the changelogs and the Porting Guides.
31+
# minor_changes
32+
33+
# Minor changes to Ansible, modules, or plugins. This includes new features, new parameters added to modules, or behavior changes to existing parameters.
34+
# deprecated_features
35+
36+
# Features that have been deprecated and are scheduled for removal in a future release. Displayed in both the changelogs and the Porting Guides.
37+
# removed_features
38+
39+
# Features that were previously deprecated and are now removed. Displayed in both the changelogs and the Porting Guides.
40+
# security_fixes
41+
42+
# Fixes that address CVEs or resolve security concerns. Include links to CVE information.
43+
# bugfixes
44+
45+
# Fixes that resolve issues.
46+
# known_issues
47+
48+
# Known issues that are currently not fixed or will not be fixed.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://docs.ansible.com/ansible/latest/community/development_process.html#changelogs-how-to
2+
3+
major_changes:
4+
- Add contact_group module.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# https://docs.ansible.com/ansible/latest/community/development_process.html#changelogs-how-to
2+
bugfixes:
3+
- Downtime module - A human-readable error message is now printed if there's an API error.

0 commit comments

Comments
 (0)