From 085bf1fc7e9cd2bbbb796f45d2b84b4713cac5fb 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/31] 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 3bebf80c01d4d585ee0d3a25536f282b81e21ba3 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/31] ci: This PR is to trigger periodic CI testing From de9b2e67d34a67d1a067b935c0f6e79546aa2a61 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/31] ci: This PR is to trigger periodic CI testing From 83d722d826d1c271e2b75e3397cc4d2bcb04956b 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/31] ci: This PR is to trigger periodic CI testing From 29e3d3a063c104fb266044a3af75ca22937840ac 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/31] ci: This PR is to trigger periodic CI testing From 3a8fbb433c0aee2f22bc2fe5a94cf875c80db778 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/31] ci: This PR is to trigger periodic CI testing From 150cc6bc611891249abf3fd8c364d12ab04bef07 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/31] ci: This PR is to trigger periodic CI testing From db91e39f2292292159cbbc43976fe944a471d2d8 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/31] ci: This PR is to trigger periodic CI testing From 36778e6be20c8c5ce81abbf593fcb03c63c238b9 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/31] ci: This PR is to trigger periodic CI testing From 640022249797970f6d2fd732c0468d114f599eb9 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/31] ci: This PR is to trigger periodic CI testing From 8fe5930b1ac421e8635a1e612603e525bb065a40 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/31] ci: This PR is to trigger periodic CI testing From bfa530ea1689197aa826b95cb2da90757992036d 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/31] ci: This PR is to trigger periodic CI testing From a2fabe73910c7f8428b2f9e256d43d8b2729f04c 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/31] ci: This PR is to trigger periodic CI testing From 21e5b858ebc6b312edd1beda0977822a11b1ba3f 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/31] ci: This PR is to trigger periodic CI testing From 06bed384448c7740d550ac9d932376bfc1247c80 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/31] ci: This PR is to trigger periodic CI testing From 637ed4e4446e9fdef1c1712683d89cd2a326c1c2 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/31] ci: This PR is to trigger periodic CI testing From c4ea828dce8ffab1ef32908617fa377156dd53b6 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/31] ci: This PR is to trigger periodic CI testing From 31bdc1512f140ad44aaac4914732efa39ac9e943 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/31] ci: This PR is to trigger periodic CI testing From e26645c9304f8d19f3f858675fca47d078dbf2c0 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/31] ci: This PR is to trigger periodic CI testing From b8f201d306cd1860ebbab9866024fdbe44071e6f 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/31] ci: This PR is to trigger periodic CI testing From 6aa85371e2ea049787ba12dd4c08b842b6150a16 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/31] ci: This PR is to trigger periodic CI testing From 040c6be374dde34de8f274c172a9384b942cbcca 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/31] ci: This PR is to trigger periodic CI testing From 3c00747d71c63f4f8b44751ee0c96eab6ff788fa 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/31] ci: This PR is to trigger periodic CI testing From 40d96b1abc647d6990807ec4d1e1706f302e596f 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/31] ci: This PR is to trigger periodic CI testing From 2a491be2ecb6e6d4db3b5b4e0f828409ff5b0f22 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/31] ci: This PR is to trigger periodic CI testing From 62cd98c87b556858b03f1b726910d402f92c89d1 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/31] ci: This PR is to trigger periodic CI testing From f86f7e89c9cf870e2e39a32b066972a02c7cfa76 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/31] ci: This PR is to trigger periodic CI testing From 6a9b20442092d3988e19b80f766b53a816c5f2c0 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/31] ci: This PR is to trigger periodic CI testing From ec6106577ea891ae70d85666a196052fa9261de7 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/31] ci: This PR is to trigger periodic CI testing From 4407582601308dde72e22e81465412ad62137c76 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/31] ci: This PR is to trigger periodic CI testing From 73a978c0178003f2e85d1398d19eb832ec9d5093 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/31] ci: This PR is to trigger periodic CI testing