checkmk-dev-tools 2.1.0__tar.gz → 2.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/PKG-INFO +2 -2
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/ci_artifacts.py +9 -3
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/version.py +1 -1
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/pyproject.toml +2 -2
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/README.md +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/__init__.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/activity_from_fs.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/binreplace.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/check_rpath.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/cli.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/cpumon.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/decent_output.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/jenkins_utils/__init__.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/job_resource_usage.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/last_access.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/lockable_resources.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/procmon.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/pycinfo.py +0 -0
- {checkmk_dev_tools-2.1.0 → checkmk_dev_tools-2.1.2}/cmk_dev/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: checkmk-dev-tools
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.2
|
|
4
4
|
Summary: Checkmk DevOps tools
|
|
5
5
|
Author: Frans Fürst
|
|
6
6
|
Author-email: frans.fuerst@checkmk.com
|
|
@@ -14,7 +14,7 @@ Requires-Dist: pydantic (>=2,<3)
|
|
|
14
14
|
Requires-Dist: python-jenkins (>=1.8.3,<1.9.0)
|
|
15
15
|
Requires-Dist: rich
|
|
16
16
|
Requires-Dist: trickkiste (>=0.3.4,<0.4.0)
|
|
17
|
-
Project-URL: Changelog, https://github.com/Checkmk/checkmk-dev-tools/blob/release/2.1.
|
|
17
|
+
Project-URL: Changelog, https://github.com/Checkmk/checkmk-dev-tools/blob/release/2.1.2/changelog.md
|
|
18
18
|
Project-URL: Repository, https://github.com/Checkmk/checkmk-dev-tools
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
|
|
@@ -575,10 +575,15 @@ def meets_constraints(
|
|
|
575
575
|
|
|
576
576
|
|
|
577
577
|
async def build_id_from_queue_item(
|
|
578
|
-
client: AugmentedJenkinsClient,
|
|
578
|
+
client: AugmentedJenkinsClient,
|
|
579
|
+
queue_id: QueueId,
|
|
580
|
+
next_check_sleep: int = 30,
|
|
581
|
+
queue_item: QueueItem | None = None,
|
|
579
582
|
) -> BuildId:
|
|
580
583
|
"""Waits for queue item with given @queue_id to be scheduled and returns Build instance"""
|
|
581
|
-
queue_item
|
|
584
|
+
if queue_item is None:
|
|
585
|
+
queue_item = await client.queue_item(queue_id)
|
|
586
|
+
|
|
582
587
|
log().info(
|
|
583
588
|
"waiting for queue item %s to be scheduled (%s%s)",
|
|
584
589
|
queue_id,
|
|
@@ -680,6 +685,7 @@ async def find_matching_queue_item(
|
|
|
680
685
|
client=jenkins_client,
|
|
681
686
|
queue_id=queue_item.id,
|
|
682
687
|
next_check_sleep=next_check_sleep,
|
|
688
|
+
queue_item=queue_item,
|
|
683
689
|
)
|
|
684
690
|
|
|
685
691
|
log().debug("Found no matching queued item")
|
|
@@ -1095,7 +1101,7 @@ async def identify_matching_build(
|
|
|
1095
1101
|
log().info("found matching (may finished) build: %s (%s)", build.number, build.url)
|
|
1096
1102
|
return build
|
|
1097
1103
|
|
|
1098
|
-
if not args.ignore_build_queue:
|
|
1104
|
+
if hasattr(args, "ignore_build_queue") and not args.ignore_build_queue:
|
|
1099
1105
|
if matching_item := await find_matching_queue_item(
|
|
1100
1106
|
jenkins_client=jenkins_client,
|
|
1101
1107
|
job=job,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "checkmk-dev-tools"
|
|
3
|
-
version = "2.1.
|
|
3
|
+
version = "2.1.2" # will-be-updated-automatically
|
|
4
4
|
description = "Checkmk DevOps tools"
|
|
5
5
|
authors = [
|
|
6
6
|
"Frans Fürst <frans.fuerst@checkmk.com>",
|
|
@@ -14,7 +14,7 @@ exclude = ["cmk_dev/out"]
|
|
|
14
14
|
|
|
15
15
|
[tool.poetry.urls]
|
|
16
16
|
Repository = "https://github.com/Checkmk/checkmk-dev-tools"
|
|
17
|
-
Changelog = "https://github.com/Checkmk/checkmk-dev-tools/blob/release/2.1.
|
|
17
|
+
Changelog = "https://github.com/Checkmk/checkmk-dev-tools/blob/release/2.1.2/changelog.md"
|
|
18
18
|
|
|
19
19
|
[tool.poetry.scripts]
|
|
20
20
|
activity-from-fs = 'cmk_dev.activity_from_fs:main'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|