From fc12d4dc05f7b31176b4401f67357458caa8bf84 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/32] 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 354ff6e3945ffc7febea7d7a25a9fa4e30e5ca9b 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/32] ci: This PR is to trigger periodic CI testing From bfae8f012fab2bc0951fc43745198f1ad9edf81c 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/32] ci: This PR is to trigger periodic CI testing From 5a57dee12bd91f4247786a42620738c321c62cc0 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/32] ci: This PR is to trigger periodic CI testing From d06a958d0fe227b8c5a254b9daa6e0110bbd524d 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/32] ci: This PR is to trigger periodic CI testing From 7032a30e583f34a50fd1081cf2f51b5d0c9c1a43 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/32] ci: This PR is to trigger periodic CI testing From 3582ce5977a08b74cc9bf9c5c325d29c5f21462c 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/32] ci: This PR is to trigger periodic CI testing From ef1a1d760bf7e0fcc4f29c064c27bb8415660827 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/32] ci: This PR is to trigger periodic CI testing From 8edbb86e7cad0a1e35cc6b0518a8e3bc541b9f73 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/32] ci: This PR is to trigger periodic CI testing From dd635c4298d9b54a25811183d12ba8cf336930f7 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/32] ci: This PR is to trigger periodic CI testing From 4101e7b53c26dbf8b79a0901331c8b641f664d6b 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/32] ci: This PR is to trigger periodic CI testing From b7c63c19e5f81d3d395067984d441436c269dde0 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/32] ci: This PR is to trigger periodic CI testing From 00a9d6b24b071a8563ebc9081b60923e93c6a874 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/32] ci: This PR is to trigger periodic CI testing From 259dbe18606edac20987c5012fdc6beca46d0fd4 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/32] ci: This PR is to trigger periodic CI testing From 75f414e9868996e0a1ca9f00b166ce18d2ccb0f3 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/32] ci: This PR is to trigger periodic CI testing From 1481597763c8d2a22e58d00198d3ec4a8190b36a 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/32] ci: This PR is to trigger periodic CI testing From 93af0df557ea46c9d1ae69489357e9d5506851a4 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/32] ci: This PR is to trigger periodic CI testing From b0909dcc3022de41156957fdeb328798bcc412c4 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/32] ci: This PR is to trigger periodic CI testing From 3681be2ab31254fcb8397facdd7f19753a3a9005 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/32] ci: This PR is to trigger periodic CI testing From 5db6032609309746d1379ed6db439ea4972f199a 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/32] ci: This PR is to trigger periodic CI testing From e32ef720384ff59c5c048b6353c0cd18b2e96b7a 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/32] ci: This PR is to trigger periodic CI testing From 0c2422cf856d8780ebfc356cc5ec91b161f7dc54 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/32] ci: This PR is to trigger periodic CI testing From 812e52425703ca1281bbd3e994b861bdeca1c945 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/32] ci: This PR is to trigger periodic CI testing From 6c07afceea810a04938333f4b44c59fac1dbb7f7 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/32] ci: This PR is to trigger periodic CI testing From cdda658d19930516211e69b39d5d388fab604243 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/32] ci: This PR is to trigger periodic CI testing From 2e49f8b4d51b36c8fc0aa246693b7fc3e6b8377a 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/32] ci: This PR is to trigger periodic CI testing From 0e057e07abffbef126c54d2744b9e89a34e26768 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/32] ci: This PR is to trigger periodic CI testing From a3c463a558e6c4cc064382d0de683c32c9a4b1a5 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/32] ci: This PR is to trigger periodic CI testing From 9400474ee4513d1d85a9e18be88d11e305492004 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/32] ci: This PR is to trigger periodic CI testing From 7bb01b9d3e685e41c6afaa0b3bcb5dab7b5a53c6 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/32] ci: This PR is to trigger periodic CI testing From 19c6d84e5a5e54e2f8ac8f067a4dd864370ecfa1 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/32] ci: This PR is to trigger periodic CI testing From c765c2d0a5a1c9dc7ce8f0c4239059b7ac76dfda 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/32] ci: This PR is to trigger periodic CI testing