From 683bec7a93d6a68b65a49bde4078a91ee0f7a5c0 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:51:29 +0000 Subject: [PATCH 01/25] 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 3920c31cdc7811b833ac03f53994fc8d599e3b19 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:49:10 +0000 Subject: [PATCH 02/25] ci: This PR is to trigger periodic CI testing From f6b498c1393a9e0a53e069a9455cd706358911cf 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:55:59 +0000 Subject: [PATCH 03/25] ci: This PR is to trigger periodic CI testing From adf2928e683c7762d31e3604f083dfbf5ae75f33 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:56:19 +0000 Subject: [PATCH 04/25] ci: This PR is to trigger periodic CI testing From 74eb3cbc710647fb778948f2387fe6a3155bd1ab 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:59:24 +0000 Subject: [PATCH 05/25] ci: This PR is to trigger periodic CI testing From f8dbe845edd10061d75488c4437ca8c369c002df 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:55 +0000 Subject: [PATCH 06/25] ci: This PR is to trigger periodic CI testing From 984736edd7b04383cdb12340c6459bdc1e080f6f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 00:04:16 +0000 Subject: [PATCH 07/25] ci: This PR is to trigger periodic CI testing From 53c4187ba8b43f7957127cdce4b91f5de68335b0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 3 May 2026 00:08:25 +0000 Subject: [PATCH 08/25] ci: This PR is to trigger periodic CI testing From fbbcc6088fba63edf5edf2661e73a04aa15dee74 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 10 May 2026 00:12:29 +0000 Subject: [PATCH 09/25] ci: This PR is to trigger periodic CI testing From bab2f37777ffab027e0b6df2e4b53898044caaf0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 17 May 2026 01:24:12 +0000 Subject: [PATCH 10/25] ci: This PR is to trigger periodic CI testing From 6a17ffac4d09c061596545ece3dee174d0ac65c4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 24 May 2026 01:29:41 +0000 Subject: [PATCH 11/25] ci: This PR is to trigger periodic CI testing From 218248e9a24bab60a88957aba42162f0c75deb87 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 31 May 2026 01:34:48 +0000 Subject: [PATCH 12/25] ci: This PR is to trigger periodic CI testing From b73ea4725cb988f4d91f7d8b9974316afd83e07e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 01:37:55 +0000 Subject: [PATCH 13/25] ci: This PR is to trigger periodic CI testing From 3740f8eaa8dc3dfefedceb7003f610cc7ea9964a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 14 Jun 2026 01:55:14 +0000 Subject: [PATCH 14/25] ci: This PR is to trigger periodic CI testing From 6d7f292c2d0bee95da71471369c7fe46a3192c96 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 21 Jun 2026 01:59:11 +0000 Subject: [PATCH 15/25] ci: This PR is to trigger periodic CI testing From ba4f84b33b1ae10c66737d091db8aa3bfa50d845 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 28 Jun 2026 01:33:43 +0000 Subject: [PATCH 16/25] ci: This PR is to trigger periodic CI testing From ba74bcec47aef35b0b151d64d49ae48460e04b19 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 01:16:09 +0000 Subject: [PATCH 17/25] ci: This PR is to trigger periodic CI testing From a53c7de41689b79b3df662d519c6f7ddf9b71013 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 12 Jul 2026 01:05:23 +0000 Subject: [PATCH 18/25] ci: This PR is to trigger periodic CI testing From 21c95fe9e0d8c87ce4b5aef398c17f2c4ce3fe82 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 Jul 2026 01:01:56 +0000 Subject: [PATCH 19/25] ci: This PR is to trigger periodic CI testing From c3da0076840045bc25aa5c7717455a11b2b116f0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 26 Jul 2026 01:07:35 +0000 Subject: [PATCH 20/25] ci: This PR is to trigger periodic CI testing From ff5fd247edd2c993565adefeb92d254dee35b572 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 2 Aug 2026 01:07:02 +0000 Subject: [PATCH 21/25] ci: This PR is to trigger periodic CI testing From 7bb818f721acb25c6c3029b9f024bd17c0f2bfbd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Aug 2026 23:55:50 +0000 Subject: [PATCH 22/25] ci: This PR is to trigger periodic CI testing From 31909bfa01bdd95c0da921739ac3f85cb640a17e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 15 Aug 2026 23:46:09 +0000 Subject: [PATCH 23/25] ci: This PR is to trigger periodic CI testing From 33eaa3db2965cb2a53a5ebf95c290cde799d0fa3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Aug 2026 23:46:59 +0000 Subject: [PATCH 24/25] ci: This PR is to trigger periodic CI testing From c6d4af39bddbc4cc517b5561b9ed391b81606287 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 30 Aug 2026 01:30:46 +0000 Subject: [PATCH 25/25] ci: This PR is to trigger periodic CI testing