Skip to content

Commit ec26dea

Browse files
Merge pull request #118 from tribe29/devel
Prepare Release 0.7.0
2 parents 260a7d6 + 0d2afb2 commit ec26dea

37 files changed

+517
-115
lines changed

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

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,32 +43,24 @@ jobs:
4343
fail-fast: false
4444
matrix:
4545
ansible:
46-
# - stable-2.9 # Only if your collection supports Ansible 2.9
47-
# - stable-2.10
48-
# - stable-2.11
4946
- stable-2.12
50-
# - devel
47+
- stable-2.13
48+
- devel
5149
python:
52-
# - '2.6'
5350
- '2.7'
5451
- '3.5'
5552
- '3.6'
5653
- '3.7'
5754
- '3.8'
5855
- '3.9'
5956
- '3.10'
57+
- '3.11'
6058
exclude:
61-
# Because ansible-test doesn't support Python 3.9 for Ansible 2.9
62-
# and Python 3.10 is supported in 2.12 or later.
63-
- ansible: stable-2.9
64-
python: '3.9'
65-
- ansible: stable-2.9
66-
python: '3.10'
67-
- ansible: stable-2.10
68-
python: '3.10'
69-
- ansible: stable-2.11
70-
python: '3.10'
71-
59+
# Exclude unsupported sets.
60+
- ansible: stable-2.12
61+
python: '3.11'
62+
- ansible: stable-2.13
63+
python: '3.11'
7264

7365
steps:
7466
- name: Check out code

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,9 @@ jobs:
4141
strategy:
4242
matrix:
4343
ansible:
44-
# It's important that Sanity is tested against all stable-X.Y branches
45-
# Testing against `devel` may fail as new tests are added.
46-
# - stable-2.9 # Only if your collection supports Ansible 2.9
47-
# - stable-2.10
4844
- stable-2.11
4945
- stable-2.12
46+
- stable-2.13
5047
- devel
5148
runs-on: ubuntu-latest
5249
steps:

CHANGELOG.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@ tribe29.checkmk Release Notes
55
.. contents:: Topics
66

77

8+
v0.6.0
9+
======
10+
11+
Release Summary
12+
---------------
13+
14+
Introducing upgrade management for Checkmk sites!
15+
16+
Major Changes
17+
-------------
18+
19+
- Server role - Add support for automatically updating Checkmk. Read the role's README for important information!
20+
21+
Bugfixes
22+
--------
23+
24+
- Agent role - Fix SELinux handling on RedHat.
25+
- Agent role - Fix firewall handling on RedHat.
26+
827
v0.5.2
928
======
1029

CONTRIBUTING.md

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,7 @@ the time available is limited. We will try to be as transparent as possible
1616
about what we will include but please do not feel discouraged, if an idea
1717
or proposal gets rejected. Instead go on and create something yourself,
1818
if you think your approach is viable! There is already a lot of great content
19-
out there and we love seeing you add to that plethora of content!
20-
21-
## Submitting Issues
22-
23-
If you encounter any bugs or have ideas for improvements feel free to open an [issue](https://github.com/tribe29/ansible-collection-tribe29.checkmk/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) or even better a [pull request](#Pull-Requests).
24-
Dedicated requirements will be added here as suitable.
25-
26-
## Pull Requests
27-
28-
Please open a [pull request](https://github.com/tribe29/ansible-collection-tribe29.checkmk/pulls?q=is%3Apr+is%3Aopen)
29-
if you have something to contribute.
30-
On pull request creation, checks will run and tell you,
31-
if your changes work with the collection. If errors are detected, please try to
32-
fix them and update your pull request accordingly.
33-
If you need help, feel free to ask for it.
19+
out there and we love seeing you add to that plethora of it!
3420

3521
## How to contribute
3622

@@ -44,6 +30,20 @@ We do test everything to the best of our abilities, but nothing beats real world
4430
scenarios. Also if you can provide a bugfix yourself or you have an addition to
4531
the functionality, [pull requests](#Pull-Requests) are appreciated.
4632

33+
### Submitting Issues
34+
35+
If you encounter any bugs or have ideas for improvements feel free to open an [issue](https://github.com/tribe29/ansible-collection-tribe29.checkmk/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) or even better a [pull request](#Pull-Requests).
36+
Dedicated requirements will be added here as suitable.
37+
38+
### Pull Requests
39+
40+
Please open a [pull request](https://github.com/tribe29/ansible-collection-tribe29.checkmk/pulls?q=is%3Apr+is%3Aopen)
41+
if you have something to contribute.
42+
On pull request creation, checks will run and tell you,
43+
if your changes work with the collection. If errors are detected, please try to
44+
fix them and update your pull request accordingly.
45+
If you need help, do ask for it.
46+
4747
### Changelog
4848

4949
When changing this collection, please make sure to write a log of what you did.
@@ -59,6 +59,26 @@ Module documentation is compiled during a release and stored as `docs/module.rst
5959
but this is not ideal yet. However, please use the inline documentation as seen
6060
in the existing modules when creating additional modules.
6161

62+
## Style Guide
63+
64+
### Commit messages
65+
66+
* Use the present tense ("Add feature" not "Added feature")
67+
* Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
68+
* The first line is a short title (limit to 72 characters or less)
69+
* Write [good commit messages](https://chris.beams.io/posts/git-commit/)
70+
71+
### Plugins
72+
Specifics to be done. Stick to general Ansible coding best practices and look out for sanity check gotchas.
73+
74+
### Roles
75+
The following are guidelines to keep in mind, when changing roles.
76+
- Variables
77+
- Use snake case (`snake_case_variable`)
78+
- Do not prefix the variable with an underscore ( `_` )
79+
- Tags
80+
- When tagging roles, separate single words with dashes (`my-custom-tag`)
81+
6282
## Releasing this collection
6383
Releasing this collection is automated using GitHub Actions.
6484
Before running the action `Release Collection` against the `main` branch, the

Vagrantfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ Vagrant.configure("2") do |config|
2020
$script = <<-SCRIPT
2121
apt-get update
2222
apt-get install -y python3-pip
23-
pip install -r /vagrant/requirements.txt
24-
ansible-galaxy collection install -f -r /vagrant/requirements.yml
25-
wget "https://download.checkmk.com/checkmk/2.1.0p4/check-mk-raw-2.1.0p4_0.focal_amd64.deb" -O /tmp/checkmk-stable.deb
26-
wget "https://download.checkmk.com/checkmk/2.1.0p4/check-mk-raw-2.1.0p4_0.focal_amd64.deb" -O /tmp/checkmk-beta.deb
23+
wget "https://download.checkmk.com/checkmk/2.1.0p10/check-mk-raw-2.1.0p10_0.focal_amd64.deb" -O /tmp/checkmk-stable.deb
24+
wget "https://download.checkmk.com/checkmk/2.1.0p10/check-mk-raw-2.1.0p10_0.focal_amd64.deb" -O /tmp/checkmk-beta.deb
2725
apt-get install -y /tmp/checkmk-stable.deb
2826
omd create --admin-password 'cmk' stable
2927
apt-get install -y /tmp/checkmk-beta.deb
3028
omd create --admin-password 'cmk' beta
3129
omd status -b stable || omd start stable
3230
omd status -b beta || omd start beta
31+
pip install -r /vagrant/requirements.txt
32+
sudo -u vagrant ansible-galaxy collection install -f -r /vagrant/requirements.yml
3333
SCRIPT
3434
srv.vm.provision "shell", inline: $script
3535
end

changelogs/.plugin-cache.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ plugins:
3939
shell: {}
4040
strategy: {}
4141
vars: {}
42-
version: 0.5.2
42+
version: 0.6.0
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+
# WARNING Found no release_summary section in the changelog for this release. While this is not required, we suggest to add one with basic information on the release.
4+
release_summary: "Introducing upgrade management for Checkmk sites!"

changelogs/changelog.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,17 @@ releases:
166166
- bugfix_agent_role.yml
167167
- bugfix_discovery_http_timeout.yml
168168
release_date: '2022-08-04'
169+
0.6.0:
170+
changes:
171+
bugfixes:
172+
- Agent role - Fix SELinux handling on RedHat.
173+
- Agent role - Fix firewall handling on RedHat.
174+
major_changes:
175+
- Server role - Add support for automatically updating Checkmk. Read the role's
176+
README for important information!
177+
release_summary: Introducing upgrade management for Checkmk sites!
178+
fragments:
179+
- bugfix_agent_role.yml
180+
- release_summary.yml
181+
- server_update_feature.yml
182+
release_date: '2022-08-25'

0 commit comments

Comments
 (0)