From 58e56459f422b7b42e369de1f3df7c236c94a022 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 24 Jan 2026 01:05:18 +0000 Subject: [PATCH 01/28] 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 ddb7fa5318cb622cd5b54293217b2482c3714084 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 31 Jan 2026 01:14:24 +0000 Subject: [PATCH 02/28] ci: This PR is to trigger periodic CI testing From c07232d2cc538dea6d54385b4ed07e1615947ee8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Feb 2026 23:23:20 +0000 Subject: [PATCH 03/28] ci: This PR is to trigger periodic CI testing From 4975f9d82b816762f1b3683b1bd2600a72ab4aab Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Feb 2026 23:18:25 +0000 Subject: [PATCH 04/28] ci: This PR is to trigger periodic CI testing From 920c647dd9716025255c54e0f683c32e4c925140 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Feb 2026 23:18:49 +0000 Subject: [PATCH 05/28] ci: This PR is to trigger periodic CI testing From ff5266402a09a509ed9b6c3c9e5591a9ad604f74 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Feb 2026 23:15:53 +0000 Subject: [PATCH 06/28] ci: This PR is to trigger periodic CI testing From ec3f4b141b786584608e5d582116c24884d9064f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Mar 2026 23:17:02 +0000 Subject: [PATCH 07/28] ci: This PR is to trigger periodic CI testing From 5fb6b503f7299703c20086194ca37f8bfd6064c1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Mar 2026 23:21:38 +0000 Subject: [PATCH 08/28] ci: This PR is to trigger periodic CI testing From 73176dafb62e8c81b9b03945d49f90f2fd47712f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Mar 2026 23:18:44 +0000 Subject: [PATCH 09/28] ci: This PR is to trigger periodic CI testing From a92184dbbf34b48a34b181b73e5e8702fe675d3b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Mar 2026 23:25:29 +0000 Subject: [PATCH 10/28] ci: This PR is to trigger periodic CI testing From 786e8f72275d316ba1c511d928da96cc875e3c60 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Apr 2026 23:25:05 +0000 Subject: [PATCH 11/28] ci: This PR is to trigger periodic CI testing From aa095ccba3ef0c08446d9f85442e75f5b86e9fd3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Apr 2026 23:27:32 +0000 Subject: [PATCH 12/28] ci: This PR is to trigger periodic CI testing From 3e66e767123257e4e9d2b219818007372ad591ac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 Apr 2026 01:24:51 +0000 Subject: [PATCH 13/28] ci: This PR is to trigger periodic CI testing From 04a8e2ed4accef1491e024c3eb4d3efb92f611f2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 23:31:32 +0000 Subject: [PATCH 14/28] ci: This PR is to trigger periodic CI testing From 182a22c9f359c6a2986a6e0350801cc017b45e8f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 May 2026 23:36:50 +0000 Subject: [PATCH 15/28] ci: This PR is to trigger periodic CI testing From 71de98ddbb3fed36678e45946d346bb788678d2a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 May 2026 23:40:33 +0000 Subject: [PATCH 16/28] ci: This PR is to trigger periodic CI testing From 59d6dcf92a20fc2ce6045928fb98eba519e42cb8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 May 2026 23:44:23 +0000 Subject: [PATCH 17/28] ci: This PR is to trigger periodic CI testing From 291a220edf20444c183b3b43acd996ee012e420d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 May 2026 23:52:10 +0000 Subject: [PATCH 18/28] ci: This PR is to trigger periodic CI testing From b9618a580fc40c08b798313e759559accda7f4d5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 May 2026 23:56:46 +0000 Subject: [PATCH 19/28] ci: This PR is to trigger periodic CI testing From a562087a7cd8428fd60467d29050a9c7b1a61305 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 23:58:33 +0000 Subject: [PATCH 20/28] ci: This PR is to trigger periodic CI testing From 08cec871b17ca21802828a9aa712e01b1ca1b270 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 14 Jun 2026 00:00:53 +0000 Subject: [PATCH 21/28] ci: This PR is to trigger periodic CI testing From cfaf6e88b4ea072423122aa6d4ffb21ad2a56737 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 21 Jun 2026 00:01:21 +0000 Subject: [PATCH 22/28] ci: This PR is to trigger periodic CI testing From 87cfb4a9b409c857fa951202a205c7f77b6a2b85 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Jun 2026 23:56:53 +0000 Subject: [PATCH 23/28] ci: This PR is to trigger periodic CI testing From 3ff7febb2c57d65d81db6ab2ea6e7a7b109277b2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Jul 2026 23:55:54 +0000 Subject: [PATCH 24/28] ci: This PR is to trigger periodic CI testing From 301385d78a13513d3841d2d6573df7a5654c3335 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 23:47:47 +0000 Subject: [PATCH 25/28] ci: This PR is to trigger periodic CI testing From bf8e5e59f9bbaff70c86f5c2963ec0e2b841b461 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Jul 2026 23:46:07 +0000 Subject: [PATCH 26/28] ci: This PR is to trigger periodic CI testing From 9fafa5eacf6604424240c9a4c9bb186c9102ae28 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Jul 2026 23:54:16 +0000 Subject: [PATCH 27/28] ci: This PR is to trigger periodic CI testing From 625d26cd3c4673506ad1a23f2190e2cd25d24b83 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 23:52:22 +0000 Subject: [PATCH 28/28] ci: This PR is to trigger periodic CI testing