Skip to content

Commit d133174

Browse files
Merge pull request #251 from tribe29/devel
Release 0.16.2
2 parents 7d94abb + 9f15f05 commit d133174

File tree

24 files changed

+66
-46
lines changed

24 files changed

+66
-46
lines changed

.github/workflows/ansible-lint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
- '3.8'
4949
- '3.9'
5050
- '3.10'
51+
- '3.11'
5152

5253
steps:
5354
- name: Check out code

.github/workflows/molecule-role-server.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ env:
2727

2828
jobs:
2929
build:
30-
runs-on: ubuntu-latest
30+
runs-on: ubuntu-20.04
3131
name: Checkmk ${{ matrix.checkmk }} + py${{ matrix.python }}
3232
strategy:
3333
fail-fast: false
3434
matrix:
3535
python:
3636
- '2.7'
37-
- '3.7'
3837
- '3.8'
3938
- '3.9'
4039
- '3.10'
40+
- '3.11'
4141
checkmk:
4242
- '2.0.0'
4343
- '2.1.0'

.github/workflows/release.yaml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919

2020
- name: Get current version
2121
id: current_version
22-
run: echo "::set-output name=version::$(grep 'version:' galaxy.yml | cut -d ' ' -f 2)"
22+
run: echo "version=$(grep 'version:' galaxy.yml | cut -d ' ' -f 2)" >> $GITHUB_OUTPUT
2323

24-
- name: Set up Python.
24+
- name: Set up Python
2525
uses: actions/setup-python@v4
2626
with:
2727
python-version: 3.9
@@ -56,7 +56,6 @@ jobs:
5656
- name: Compile Collection Docs
5757
run: antsibull-docs collection --use-current --squash-hierarchy --fail-on-error --dest-dir ./docs/ tribe29.checkmk
5858

59-
# https://github.com/marketplace/actions/create-pull-request
6059
- name: Create Pull Request for docs and changelog against devel branch
6160
uses: peter-evans/create-pull-request@v4
6261
with:
@@ -74,23 +73,6 @@ jobs:
7473
reviewers: robin-tribe29
7574
draft: false
7675

77-
- name: Create Pull Request for docs and changelog against main branch
78-
uses: peter-evans/create-pull-request@v4
79-
with:
80-
commit-message: Update Docs and Changelogs
81-
committer: GitHub <[email protected]>
82-
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
83-
signoff: false
84-
branch: changelogs-docs-update-main
85-
base: main
86-
delete-branch: true
87-
title: '[Auto] Update changelogs and docs'
88-
body: |
89-
Changelogs and docs updated during *${{ steps.current_version.outputs.version }}* release.
90-
assignees: robin-tribe29
91-
reviewers: robin-tribe29
92-
draft: false
93-
9476
#
9577
# Second stage: Build the final version of the collection and release it.
9678
#

SUPPORT.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ Collection Version | Checkmk Versions | Remarks
1818
0.14.0 | 2.1.0p17, 2.0.0p31 | None
1919
0.15.0 | 2.1.0p18, 2.0.0p32 | None
2020
0.16.0 | 2.1.0p19, 2.0.0p32 | None
21-
0.16.1 | 2.1.0p19, 2.0.0p32 | None
21+
0.16.1 | 2.1.0p19, 2.0.0p32 | None
22+
0.16.2 | 2.1.0p20, 2.0.0p33 | None

changelogs/fragments/agent.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- 'Agent role - Add explicit "become: false" to the "Discover services and labels on host." task.'

changelogs/fragments/downtime.yml

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+
bugfixes:
4+
- Downtime module - Fix handling of parameters start_after and end_after.

changelogs/fragments/summary.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
release_summary: "Bugfix Release"

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name: checkmk
1010

1111
# The version of the collection. Must be compatible with semantic versioning
1212

13-
version: 0.16.1
13+
version: 0.16.2
1414

1515
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
1616
readme: README.md

plugins/modules/downtime.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,17 @@ def _set_timestamps(module):
176176
)
177177
start_time = module.params.get("start_time")
178178
end_time = module.params.get("end_time")
179+
179180
end_after = module.params.get("end_after")
181+
# TODO: Once, Python2.6 is no longer used, better use this:
182+
# end_after = {k: int(v) for k, v in end_after.items()}
183+
end_after = dict([(k, int(v)) for k, v in end_after.items()])
184+
180185
start_after = module.params.get("start_after")
186+
# TODO: Once, Python2.6 is no longer used, better use this:
187+
# start_after = {k: int(v) for k, v in start_after.items()}
188+
start_after = dict([(k, int(v)) for k, v in start_after.items()])
189+
181190
if start_time == "":
182191
if start_after == {}:
183192
start_time = default_start_time

requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
collections:
33
- name: tribe29.checkmk
4-
version: 0.16.1
4+
version: 0.16.2

0 commit comments

Comments
 (0)