From 5ca708f440ed535159954a881a189d86823ded31 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 05:45:44 +0000 Subject: [PATCH 01/20] ci: This PR is to trigger periodic CI testing --- tests/callback_plugins/dump_packages.py | 64 +++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 tests/callback_plugins/dump_packages.py diff --git a/tests/callback_plugins/dump_packages.py b/tests/callback_plugins/dump_packages.py new file mode 100644 index 0000000..433fe54 --- /dev/null +++ b/tests/callback_plugins/dump_packages.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +# Copyright (C) 2023, Red Hat, Inc. +# SPDX-License-Identifier: MIT + +from __future__ import absolute_import, division, print_function + +__metaclass__ = type + +DOCUMENTATION = """ + author: Rich Megginson + name: dump_packages + type: aggregate + short_description: dump arguments to package module + description: + - Dump arguments to package module to get list of packages. + - Used in conjunction with CI testing to get the packages used + - with all combinations of: distribution/version/role arguments + - Used to generate lists of packages for ostree image builds. + requirements: + - None +""" + +from ansible.plugins.callback import CallbackBase # noqa: E402 + + +class CallbackModule(CallbackBase): + """ + Dump packages. + """ + + CALLBACK_VERSION = 2.0 + CALLBACK_TYPE = "aggregate" + CALLBACK_NAME = "dump_packages" + # needed for 2.9 compatibility + CALLBACK_NEEDS_WHITELIST = False # wokeignore:rule=whitelist + CALLBACK_NEEDS_ENABLED = False + + def __init__(self, *args, **kwargs): + super(CallbackModule, self).__init__(*args, **kwargs) + + def v2_runner_on_ok(self, result): + fields = result._task_fields + if ( + fields["action"] in ["package", "dnf", "yum"] + and fields["args"].get("state") != "absent" + ): + packages = set() + if "invocation" in result._result: + results = [result._result] + elif "results" in result._result and isinstance( + result._result["results"], list + ): + results = result._result["results"] + for item in results: + pkgs = item["invocation"]["module_args"]["name"] + if isinstance(pkgs, list): + for ii in pkgs: + packages.add(ii) + else: + packages.add(pkgs) + # tell python black that this line is ok + # fmt: off + self._display.display("lsrpackages: " + " ".join(sorted(list(packages)))) + # fmt: on From c70215104a6238581f25d643de74acfcdffddd47 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 02:49:34 +0000 Subject: [PATCH 02/20] ci: This PR is to trigger periodic CI testing From 160d9626f9793327e3806c368fe08ca3f223a2c5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 May 2026 03:21:24 +0000 Subject: [PATCH 03/20] ci: This PR is to trigger periodic CI testing From 9d21937fd83c4037b2ac9314c711ed878114ef14 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 May 2026 13:23:54 +0000 Subject: [PATCH 04/20] ci: This PR is to trigger periodic CI testing From c4188c297f5d7afa36faf7bf00c1c405bf97fe81 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 May 2026 13:38:31 +0000 Subject: [PATCH 05/20] ci: This PR is to trigger periodic CI testing From d20fb0c418d77444657da08b72cc7ea344136e16 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 May 2026 13:42:25 +0000 Subject: [PATCH 06/20] ci: This PR is to trigger periodic CI testing From 78031d3ad83eb0e47bcf18b8f1b35d39ee00b278 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 May 2026 13:45:08 +0000 Subject: [PATCH 07/20] ci: This PR is to trigger periodic CI testing From ae96eb390801623fb16de5a7d7fbeea4d0a108e8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 13:50:01 +0000 Subject: [PATCH 08/20] ci: This PR is to trigger periodic CI testing From 7d10efb0d7fbbf2653ac49b0f4ac35eacbedf2f1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2026 14:05:52 +0000 Subject: [PATCH 09/20] ci: This PR is to trigger periodic CI testing From 5209d41ff45e00ff4dab73cac0f2a51d1ba4c495 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Jun 2026 14:10:08 +0000 Subject: [PATCH 10/20] ci: This PR is to trigger periodic CI testing From 53f3edc5a657619b9340ef299ead354f0aa6bcdc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Jun 2026 13:48:28 +0000 Subject: [PATCH 11/20] ci: This PR is to trigger periodic CI testing From 818eedc9cf4a7835040a8573104ffbeca3ea0a75 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Jul 2026 13:39:06 +0000 Subject: [PATCH 12/20] ci: This PR is to trigger periodic CI testing From 334c0cab05a607312c718cb01b58bc02ecec1c66 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 13:25:05 +0000 Subject: [PATCH 13/20] ci: This PR is to trigger periodic CI testing From 9111d1a11c9ba906b2ea03562d52e5b8879c07cb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Jul 2026 13:20:58 +0000 Subject: [PATCH 14/20] ci: This PR is to trigger periodic CI testing From f51140790ea6f147b001f70409581403114b8108 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Jul 2026 13:39:45 +0000 Subject: [PATCH 15/20] ci: This PR is to trigger periodic CI testing From 4030f91a079ffbfdf984151348346739f124b40f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 13:28:54 +0000 Subject: [PATCH 16/20] ci: This PR is to trigger periodic CI testing From 41454a93ec67aade4a579733fa1148a119774a1a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Aug 2026 12:55:37 +0000 Subject: [PATCH 17/20] ci: This PR is to trigger periodic CI testing From 86d63a99ed4f34c37482ea3d87f94d903cb42ceb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 15 Aug 2026 12:40:56 +0000 Subject: [PATCH 18/20] ci: This PR is to trigger periodic CI testing From 611895060a1e8f23497b4547c68162606176b705 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Aug 2026 12:44:59 +0000 Subject: [PATCH 19/20] ci: This PR is to trigger periodic CI testing From 946aa00be307894972fe609b4ff0c2edb1c4cfcb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 Aug 2026 16:24:16 +0000 Subject: [PATCH 20/20] ci: This PR is to trigger periodic CI testing