From b19088dc3d26d517be38babcfaed758882278470 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/36] 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 51f33f9fe7d20e9e047a95f1c30ec9cf5bcdc300 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/36] ci: This PR is to trigger periodic CI testing From 17376ad231aaef13897d5df136588c5891d3a460 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/36] ci: This PR is to trigger periodic CI testing From f6fda457b0927e98ee7ed6beab257ff894e6443c 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/36] ci: This PR is to trigger periodic CI testing From 37f72b47c2b6e9c1297ef8e1b6a2ef46728e923b 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/36] ci: This PR is to trigger periodic CI testing From 3d7872e37caa401a76809f4267eafc00b58e6718 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/36] ci: This PR is to trigger periodic CI testing From b1621bdc25f69d11724d4207674b4040e99c0d3e 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/36] ci: This PR is to trigger periodic CI testing From 3f07e3d2bad50f29d3934cad2fade105625ef47c 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/36] ci: This PR is to trigger periodic CI testing From 9c49a461a93781d5a9ed59ffc3b4259cd77896d5 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/36] ci: This PR is to trigger periodic CI testing From 2d07bcd481335bb7c4738799268a7fa8bbc4a560 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/36] ci: This PR is to trigger periodic CI testing From c2856d64ed6bca4c9dab227975fa49d98fe6f13e 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/36] ci: This PR is to trigger periodic CI testing From f553d1a8ed06220366a573b4c7b56cd628dec03a 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/36] ci: This PR is to trigger periodic CI testing From 67ea809000323ed15c5970e7f6b92999a0a9a119 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/36] ci: This PR is to trigger periodic CI testing From fad3a3ef82e8fb9ee7a21bc46ad037966cc5d759 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/36] ci: This PR is to trigger periodic CI testing From 9993a36ccda6ca33038134eeb7cee38e56ced03f 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/36] ci: This PR is to trigger periodic CI testing From 82bf25018101acf5c37a7234ad66b5387abb277b 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/36] ci: This PR is to trigger periodic CI testing From 9928819f8d47dde8bcf6ce21964061a91959dcf4 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/36] ci: This PR is to trigger periodic CI testing From d5ea4619ad96e66152db29bbb9c94751836a0624 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/36] ci: This PR is to trigger periodic CI testing From ab5a57b3fd2da46bab9c056e015c25a6e2c0e13b 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/36] ci: This PR is to trigger periodic CI testing From fbda3feb403bf7274de4f580b2a6e2ca12463e83 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/36] ci: This PR is to trigger periodic CI testing From 41faa9125226a77176e753f64c930f2b3629ad34 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/36] ci: This PR is to trigger periodic CI testing From dc0b3dde02a9d2d6d16c466badb881bcd420ef82 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/36] ci: This PR is to trigger periodic CI testing From 412400235a48437304b4df52c32cdb034c76e3ff 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/36] ci: This PR is to trigger periodic CI testing From 7bbd995634517168467c7ffce1f109acd63b982c 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/36] ci: This PR is to trigger periodic CI testing From f20f4de23934073eaaebb27792b334fc754c240c 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/36] ci: This PR is to trigger periodic CI testing From 10d502f7380bed085cebf35102b04132395b044a 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/36] ci: This PR is to trigger periodic CI testing From f7cd9aaf60247428c002a8904d41045d985e6ca5 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/36] ci: This PR is to trigger periodic CI testing From a3527cd15219fadc10818053e6f1832717b0cc16 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/36] ci: This PR is to trigger periodic CI testing From c8bd592595d4eeb548202ff0daf4fb1f2f01e3f9 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/36] ci: This PR is to trigger periodic CI testing From cef51f101d18bf8987c4aa3c0e9ebfccfb604ace 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/36] ci: This PR is to trigger periodic CI testing From 7a60052ff092d7164a4063acfbbc7030f1262425 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/36] ci: This PR is to trigger periodic CI testing From 3f8c3024c434ec50524dd0975c3981471c95e540 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/36] ci: This PR is to trigger periodic CI testing From 08c3b2a51e79393f98a60c067c16f9070a012d93 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/36] ci: This PR is to trigger periodic CI testing From 311491274360eef0b1b528f38199cf564a4b721d 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/36] ci: This PR is to trigger periodic CI testing From a96b01b59b78ca2ab2ea50349304342ba48a2047 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Mar 2026 11:25:03 +0000 Subject: [PATCH 35/36] ci: This PR is to trigger periodic CI testing From f8c932bcf39edd1fc90474a867de82156ebfc517 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Mar 2026 11:29:07 +0000 Subject: [PATCH 36/36] ci: This PR is to trigger periodic CI testing