From dc8da4e99d80dce57a386dba057c9addca7480cf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Jul 2025 01:05:20 +0000 Subject: [PATCH 01/34] 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 45699793d273647d62257bb67cbe838abea0b4d9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 19 Jul 2025 11:20:14 +0000 Subject: [PATCH 02/34] ci: This PR is to trigger periodic CI testing From 99d20e1158f484bf756e0d5bd71256d502848475 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Jul 2025 11:20:29 +0000 Subject: [PATCH 03/34] ci: This PR is to trigger periodic CI testing From 6586e3bf2d83a0d2d1e7913688ea07b1cf063aa8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Aug 2025 11:20:43 +0000 Subject: [PATCH 04/34] ci: This PR is to trigger periodic CI testing From 74a8497c33ad6b36a7c677ec485d7ac54021e19b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Aug 2025 11:19:31 +0000 Subject: [PATCH 05/34] ci: This PR is to trigger periodic CI testing From 663eaeaaf6189f6905b1ce5e362d330ef38a379b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Aug 2025 11:18:14 +0000 Subject: [PATCH 06/34] ci: This PR is to trigger periodic CI testing From a8c73f96287e64ee95e6d25290395d3c7a7ab6dd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 Aug 2025 11:17:28 +0000 Subject: [PATCH 07/34] ci: This PR is to trigger periodic CI testing From b076082a6e787e7ee61058d092b3fff18c6388ac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Aug 2025 11:16:43 +0000 Subject: [PATCH 08/34] ci: This PR is to trigger periodic CI testing From 57316d502e2b259a48e3ee903eae5352185cb48f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Sep 2025 11:15:44 +0000 Subject: [PATCH 09/34] ci: This PR is to trigger periodic CI testing From 3fe935ccd16dc8fbd30a863bfe939b5f0d7984bb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Sep 2025 11:16:07 +0000 Subject: [PATCH 10/34] ci: This PR is to trigger periodic CI testing From 7986288cd9ddb58729e72e348510be4a57c9445f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Sep 2025 11:16:47 +0000 Subject: [PATCH 11/34] ci: This PR is to trigger periodic CI testing From f2320d4df4c6c1e2aa663be57cbbf9d83ce3db2a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Sep 2025 11:16:13 +0000 Subject: [PATCH 12/34] ci: This PR is to trigger periodic CI testing From 5d1231973dd868c2170e47944c3c93c5331eaf50 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Oct 2025 11:16:08 +0000 Subject: [PATCH 13/34] ci: This PR is to trigger periodic CI testing From 7ed854c11c60be513c2fb4ff705e6adc8cf916c3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Oct 2025 11:16:29 +0000 Subject: [PATCH 14/34] ci: This PR is to trigger periodic CI testing From f7c88c19a68d092e2ea4c8ebb02af6b99cd0ff59 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Oct 2025 11:17:09 +0000 Subject: [PATCH 15/34] ci: This PR is to trigger periodic CI testing From 8bf455d8a52144c9beea9a449d71c113672cec5c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Oct 2025 11:17:13 +0000 Subject: [PATCH 16/34] ci: This PR is to trigger periodic CI testing From bbf52e13424d8d65fbb275da14429a4c2dc5b631 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Nov 2025 11:17:22 +0000 Subject: [PATCH 17/34] ci: This PR is to trigger periodic CI testing From cb86aa81bcbde5780fd99c516330b7f905cb5d58 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Nov 2025 11:17:47 +0000 Subject: [PATCH 18/34] ci: This PR is to trigger periodic CI testing From 63cf800942f28aab098c4c8bf7048030f60cd36f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 15 Nov 2025 11:17:47 +0000 Subject: [PATCH 19/34] ci: This PR is to trigger periodic CI testing From 03b45bf97f94e6dfc19fee92775b5ab89be02fa8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Nov 2025 11:17:34 +0000 Subject: [PATCH 20/34] ci: This PR is to trigger periodic CI testing From 929653add5ffeaf59a0a1f224a0aab2035146557 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 Nov 2025 11:18:51 +0000 Subject: [PATCH 21/34] ci: This PR is to trigger periodic CI testing From 6de1000020e2a6e2cac62d4318a6da830563cefa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Dec 2025 11:18:54 +0000 Subject: [PATCH 22/34] ci: This PR is to trigger periodic CI testing From 045627fcd686804b2e3f8e9644f5215bf01c0f0f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Dec 2025 11:19:24 +0000 Subject: [PATCH 23/34] ci: This PR is to trigger periodic CI testing From 195fcbb4f2d5d26be3aced1b6ea87d1bba7544e6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Dec 2025 11:19:46 +0000 Subject: [PATCH 24/34] ci: This PR is to trigger periodic CI testing From c6ce136400c40921cfd92866d325868d9a31cbb8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Dec 2025 11:20:27 +0000 Subject: [PATCH 25/34] ci: This PR is to trigger periodic CI testing From 363eb302f09f4af683f460734589882c218028d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 3 Jan 2026 11:20:32 +0000 Subject: [PATCH 26/34] ci: This PR is to trigger periodic CI testing From 7b26dbc2dc673dea56dc828329923d041d45145d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 10 Jan 2026 11:20:35 +0000 Subject: [PATCH 27/34] ci: This PR is to trigger periodic CI testing From bcb439ca98a9ff53795b14973118e7518e2afc2a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 17 Jan 2026 11:20:48 +0000 Subject: [PATCH 28/34] ci: This PR is to trigger periodic CI testing From 1b43e93b8960025a2e6c326a45b6bf6c80adbdec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 24 Jan 2026 11:21:45 +0000 Subject: [PATCH 29/34] ci: This PR is to trigger periodic CI testing From ed8e933e16ec337e2c365b29aba17b5cda6786b3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 31 Jan 2026 11:25:15 +0000 Subject: [PATCH 30/34] ci: This PR is to trigger periodic CI testing From 701319589d4bdd6dd85dc8917d431790a76498a5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Feb 2026 11:26:27 +0000 Subject: [PATCH 31/34] ci: This PR is to trigger periodic CI testing From d41d50e5ad873cba08c206d562cf0240d4160c63 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Feb 2026 11:27:05 +0000 Subject: [PATCH 32/34] ci: This PR is to trigger periodic CI testing From 5a9ce0ff5863267c865dfeccaf9b244c4d8ea29b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Feb 2026 11:27:02 +0000 Subject: [PATCH 33/34] ci: This PR is to trigger periodic CI testing From e42df68b398fdc0f6564187369a9e5c974e32d1f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Feb 2026 11:24:02 +0000 Subject: [PATCH 34/34] ci: This PR is to trigger periodic CI testing