From 306b653932dbdbcba7025e569b7a8c219a286f2a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Nov 2023 01:15:42 +0000 Subject: [PATCH 01/50] This PR is to trigger periodic CI testing From 1aa5b6b5be3d39b3dfe09522153d41d71f7ca952 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Nov 2023 01:13:23 +0000 Subject: [PATCH 02/50] This PR is to trigger periodic CI testing From c75c127d642bc33cd2f29f3a0dd5f672c9237f7b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Dec 2023 01:13:22 +0000 Subject: [PATCH 03/50] This PR is to trigger periodic CI testing From 305b51dad0d35438f3a791d29ffb9e5c9f9e2713 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Dec 2023 12:17:42 +0000 Subject: [PATCH 04/50] ci: This PR is to trigger periodic CI testing --- tests/callback_plugins/dump_packages.py | 62 +++++++++++++++++++++++++ 1 file changed, 62 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..89a343d --- /dev/null +++ b/tests/callback_plugins/dump_packages.py @@ -0,0 +1,62 @@ +# -*- 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) + + self._display.display("lsrpackages: " + " ".join(sorted(list(packages)))) From b8b9824b3812cec48af0aac0aa8d766bfce25f3d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Dec 2023 12:17:46 +0000 Subject: [PATCH 05/50] ci: This PR is to trigger periodic CI testing From 903fa1fd7f5b8e61c3963bec505b8452c27f930a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 Dec 2023 12:16:48 +0000 Subject: [PATCH 06/50] ci: This PR is to trigger periodic CI testing From c2c2b56e75f7b91b982caf1770526b6742907137 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Dec 2023 12:17:22 +0000 Subject: [PATCH 07/50] ci: This PR is to trigger periodic CI testing From 5e00e5b0f8e46c7f725d07e628749a8dd3377d6d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Jan 2024 12:17:46 +0000 Subject: [PATCH 08/50] ci: This PR is to trigger periodic CI testing From 35d4e5f6379660154c655705628da607f12a776e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Jan 2024 12:17:57 +0000 Subject: [PATCH 09/50] ci: This PR is to trigger periodic CI testing From 326df88f6ed425c1bd5456e2445b947196dbff87 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Jan 2024 12:17:54 +0000 Subject: [PATCH 10/50] ci: This PR is to trigger periodic CI testing From ff3469d8bf22541d49fd0455a3c0875a2e91d4a1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Jan 2024 12:15:40 +0000 Subject: [PATCH 11/50] ci: This PR is to trigger periodic CI testing From e1f73b695aecfb852b378eca058330f600b68cee Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 12:16:46 +0000 Subject: [PATCH 12/50] ci: This PR is to trigger periodic CI testing From e24486d0a06620e15842e66266ff6008391bd43f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 10 Feb 2024 12:16:49 +0000 Subject: [PATCH 13/50] ci: This PR is to trigger periodic CI testing From d7e2dbd5199ace24f94f52c2651201143889c597 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 17 Feb 2024 12:16:11 +0000 Subject: [PATCH 14/50] ci: This PR is to trigger periodic CI testing From 5fd8f0038245d9b85f568088083bca66bc35a15b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 24 Feb 2024 12:16:02 +0000 Subject: [PATCH 15/50] ci: This PR is to trigger periodic CI testing From f1e71bf0ab495b18685f9dccf15bde422477928d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Mar 2024 12:16:21 +0000 Subject: [PATCH 16/50] ci: This PR is to trigger periodic CI testing From 61580f8bd8f502ad49212b4429d7416ca8dd216f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Mar 2024 12:15:48 +0000 Subject: [PATCH 17/50] ci: This PR is to trigger periodic CI testing From 998e3888c8c58ead4be19a8c7b0960e4070b9620 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Mar 2024 12:18:59 +0000 Subject: [PATCH 18/50] ci: This PR is to trigger periodic CI testing From f5daeb44ac23ddc50d035ca251301e3902d6b2f9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 Mar 2024 12:19:38 +0000 Subject: [PATCH 19/50] ci: This PR is to trigger periodic CI testing From 8761a5ba355a720526d166e15380be5f8b553f17 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Mar 2024 12:16:23 +0000 Subject: [PATCH 20/50] ci: This PR is to trigger periodic CI testing From 9f341058dcdf0c01f4502f8a162307cb19d96c64 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Apr 2024 12:17:25 +0000 Subject: [PATCH 21/50] ci: This PR is to trigger periodic CI testing From 0ad7eef0b5add295024f12f62a20d07eac858b45 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Apr 2024 12:14:43 +0000 Subject: [PATCH 22/50] ci: This PR is to trigger periodic CI testing From 079333eb9638909f1ee23df6f3f5e68c4f5f05de Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Apr 2024 12:17:39 +0000 Subject: [PATCH 23/50] ci: This PR is to trigger periodic CI testing From 145eac4c5a18e33ce8d27109b999cd0b78e6090c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Apr 2024 12:17:01 +0000 Subject: [PATCH 24/50] ci: This PR is to trigger periodic CI testing From b4268a6b54aa2fa7ceb6ff9861da8fa221687dec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 May 2024 12:17:20 +0000 Subject: [PATCH 25/50] ci: This PR is to trigger periodic CI testing From 39e79b0f0f5f099ad38666cbaf19042efa55d086 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 May 2024 12:18:14 +0000 Subject: [PATCH 26/50] ci: This PR is to trigger periodic CI testing From b8900d6c6908ec646eb1452a79d671b5882f5e0a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 May 2024 12:18:40 +0000 Subject: [PATCH 27/50] ci: This PR is to trigger periodic CI testing From befdbc680ab3357801af0d35d13d71aab8f02029 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 May 2024 12:19:18 +0000 Subject: [PATCH 28/50] ci: This PR is to trigger periodic CI testing From 410d38a8ddd61768cac636e6b4ff8c821e5b09f8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Jun 2024 12:19:16 +0000 Subject: [PATCH 29/50] ci: This PR is to trigger periodic CI testing From 38e8b1bafd2249bb64c25e7cdb8b974e1569fc89 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Jun 2024 12:18:48 +0000 Subject: [PATCH 30/50] ci: This PR is to trigger periodic CI testing From 3f0a854dbe133c4d3aca6072c22e94d6b02e929e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 15 Jun 2024 12:19:49 +0000 Subject: [PATCH 31/50] ci: This PR is to trigger periodic CI testing From edda05eb417346fbf5090d497e8f22e78ac30ed9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Jun 2024 12:19:10 +0000 Subject: [PATCH 32/50] ci: This PR is to trigger periodic CI testing From 99958c69a73a8c01136107f0c063f5d665a41d75 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 Jun 2024 12:20:28 +0000 Subject: [PATCH 33/50] ci: This PR is to trigger periodic CI testing From 1915d3d539ecc96ae268d1568be8ae47f7175150 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Jul 2024 12:19:13 +0000 Subject: [PATCH 34/50] ci: This PR is to trigger periodic CI testing From 243c96878c013a1f2e8092344e4f87c0bf927ce8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Jul 2024 12:19:15 +0000 Subject: [PATCH 35/50] ci: This PR is to trigger periodic CI testing From 78ddc061be06a8f0cbb4f6966cdef724f1ec6713 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Jul 2024 12:19:41 +0000 Subject: [PATCH 36/50] ci: This PR is to trigger periodic CI testing From 9338634999d7b17fe730e798d0bdc60feb0bd9ca Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Jul 2024 12:21:50 +0000 Subject: [PATCH 37/50] ci: This PR is to trigger periodic CI testing From 4e0720b162e11781779b1babcd5d8433dff6a65d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 3 Aug 2024 12:19:58 +0000 Subject: [PATCH 38/50] ci: This PR is to trigger periodic CI testing --- tests/callback_plugins/dump_packages.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/callback_plugins/dump_packages.py b/tests/callback_plugins/dump_packages.py index 89a343d..433fe54 100644 --- a/tests/callback_plugins/dump_packages.py +++ b/tests/callback_plugins/dump_packages.py @@ -58,5 +58,7 @@ def v2_runner_on_ok(self, result): 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 80b9e48e1a951a253e7839d21d6cf75bf9e437e8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 10 Aug 2024 12:20:42 +0000 Subject: [PATCH 39/50] ci: This PR is to trigger periodic CI testing From b3176e41a118a7223869a7f4e4a1abaf53c911d4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 17 Aug 2024 12:19:44 +0000 Subject: [PATCH 40/50] ci: This PR is to trigger periodic CI testing From 42523cb9bd3674437c5da49702d5760c8c3f2240 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 24 Aug 2024 12:20:35 +0000 Subject: [PATCH 41/50] ci: This PR is to trigger periodic CI testing From 3c01c3257ada4c4fb8fbfe3fb836a0c8f6003f40 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 31 Aug 2024 12:21:13 +0000 Subject: [PATCH 42/50] ci: This PR is to trigger periodic CI testing From ba514497077872c7c7b01c74ef35ed038691b9c1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Sep 2024 12:20:58 +0000 Subject: [PATCH 43/50] ci: This PR is to trigger periodic CI testing From 708af4a3bd3897b7799b1a99b6727cb633c50ae3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Sep 2024 12:21:33 +0000 Subject: [PATCH 44/50] ci: This PR is to trigger periodic CI testing From 5b1c4657a46081828779f8221db78b937862cec1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Sep 2024 12:21:44 +0000 Subject: [PATCH 45/50] ci: This PR is to trigger periodic CI testing From 6f19af5ea333003dc3459bd250e5025145f4585f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 12:38:01 +0000 Subject: [PATCH 46/50] ci: This PR is to trigger periodic CI testing From 09344243365ab6c9caa62aac28c6418e21fa9f97 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 12:23:20 +0000 Subject: [PATCH 47/50] ci: This PR is to trigger periodic CI testing From 6b00e6801d93630cb13103a4d43d6f6c0ce946b4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2024 15:43:39 +0000 Subject: [PATCH 48/50] ci: This PR is to trigger periodic CI testing From 8eb8433fcaad0fcee48f0ab04e81380f343b3d75 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 19 Oct 2024 12:23:18 +0000 Subject: [PATCH 49/50] ci: This PR is to trigger periodic CI testing From 523a2604763b3ad268f7cfa7ffd41b285a4f2c06 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Oct 2024 12:23:14 +0000 Subject: [PATCH 50/50] ci: This PR is to trigger periodic CI testing