From 1376fc8aca0e43b9e93ba077ce597d4e9500fb9c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Oct 2023 22:13:00 +0000 Subject: [PATCH 01/57] ci: This PR is to trigger periodic CI testing --- tests/callback_plugins/dump_packages.py | 48 +++++++++++++++++++++++++ 1 file changed, 48 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 00000000..3ec9cf1d --- /dev/null +++ b/tests/callback_plugins/dump_packages.py @@ -0,0 +1,48 @@ +# -*- 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"] == "package" and fields["args"].get("state") != "absent": + if isinstance(fields["args"]["name"], list): + packages = " ".join(fields["args"]["name"]) + else: + packages = fields["args"]["name"] + self._display.display("lsrpackages: " + packages) From 56156f0d2407ca3f510b49008b3e2d50ec3ba9c9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 22:59:19 +0000 Subject: [PATCH 02/57] ci: This PR is to trigger periodic CI testing --- tests/callback_plugins/dump_packages.py | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/tests/callback_plugins/dump_packages.py b/tests/callback_plugins/dump_packages.py index 3ec9cf1d..15aa6dbd 100644 --- a/tests/callback_plugins/dump_packages.py +++ b/tests/callback_plugins/dump_packages.py @@ -41,8 +41,19 @@ def __init__(self, *args, **kwargs): def v2_runner_on_ok(self, result): fields = result._task_fields if fields["action"] == "package" and fields["args"].get("state") != "absent": - if isinstance(fields["args"]["name"], list): - packages = " ".join(fields["args"]["name"]) - else: - packages = fields["args"]["name"] - self._display.display("lsrpackages: " + packages) + 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 f7848968e5e09075d4155d4604bf3a0040e23a91 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Oct 2023 22:12:44 +0000 Subject: [PATCH 03/57] ci: This PR is to trigger periodic CI testing From 0cf5a6c80e354638d4d1f6889edb3e24408e9cc8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Oct 2023 22:12:35 +0000 Subject: [PATCH 04/57] ci: This PR is to trigger periodic CI testing From 2c640d037fe1d915df6125048d4b4f3fdf89ddab Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 22:12:31 +0000 Subject: [PATCH 05/57] ci: This PR is to trigger periodic CI testing From e6edf24bb7a77d88045a9c7053b6304b8f88de83 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Nov 2023 22:13:33 +0000 Subject: [PATCH 06/57] ci: This PR is to trigger periodic CI testing From 2102a8465f940787af3d96aa7c05f880f0883c63 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Nov 2023 22:12:39 +0000 Subject: [PATCH 07/57] ci: This PR is to trigger periodic CI testing --- tests/callback_plugins/dump_packages.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/callback_plugins/dump_packages.py b/tests/callback_plugins/dump_packages.py index 15aa6dbd..89a343d0 100644 --- a/tests/callback_plugins/dump_packages.py +++ b/tests/callback_plugins/dump_packages.py @@ -40,7 +40,10 @@ def __init__(self, *args, **kwargs): def v2_runner_on_ok(self, result): fields = result._task_fields - if fields["action"] == "package" and fields["args"].get("state") != "absent": + if ( + fields["action"] in ["package", "dnf", "yum"] + and fields["args"].get("state") != "absent" + ): packages = set() if "invocation" in result._result: results = [result._result] From 3dbbe0c9f7ec6d3d51552736536ea71be1391774 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Nov 2023 22:13:06 +0000 Subject: [PATCH 08/57] ci: This PR is to trigger periodic CI testing From 93f2f030dbf2695da67059b3b0b84a8a7723f3eb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Nov 2023 22:13:17 +0000 Subject: [PATCH 09/57] ci: This PR is to trigger periodic CI testing From eed93267b8b7c6f7b3cefe2627dfa42735e518eb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Dec 2023 22:13:02 +0000 Subject: [PATCH 10/57] ci: This PR is to trigger periodic CI testing From 16791567ac3f685a15c44a09817e2ea705e331e7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Dec 2023 22:13:13 +0000 Subject: [PATCH 11/57] ci: This PR is to trigger periodic CI testing From bd9697b5d293bd81ff1523d43ed76a052ec680b9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Dec 2023 22:13:21 +0000 Subject: [PATCH 12/57] ci: This PR is to trigger periodic CI testing From dbefbc82da2841d38de00339ff4e60a72bfa5b29 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 Dec 2023 22:13:17 +0000 Subject: [PATCH 13/57] ci: This PR is to trigger periodic CI testing From de24f198f254faddcd6d027fed138856fc0a6a5c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Dec 2023 22:13:12 +0000 Subject: [PATCH 14/57] ci: This PR is to trigger periodic CI testing From b52ceabf574d52aa51411b875eb05ccdecc6ba9e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Jan 2024 22:13:21 +0000 Subject: [PATCH 15/57] ci: This PR is to trigger periodic CI testing From 3b92233ae71879092a0586b4dd8cf633b9900160 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Jan 2024 22:13:56 +0000 Subject: [PATCH 16/57] ci: This PR is to trigger periodic CI testing From a176edadfb3dcb1383d33976880cde9ad3f27950 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Jan 2024 22:14:03 +0000 Subject: [PATCH 17/57] ci: This PR is to trigger periodic CI testing From 7ea3503afa24f394edf5b3f585bd2f45f86ad70c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Jan 2024 22:13:07 +0000 Subject: [PATCH 18/57] ci: This PR is to trigger periodic CI testing From 80fa68cf4b23dac74278bbb9d1524b0998efc939 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 22:14:27 +0000 Subject: [PATCH 19/57] ci: This PR is to trigger periodic CI testing From bb5c1e8e1ba9ec3398ea27e38e51e4817031fbfc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 10 Feb 2024 22:12:27 +0000 Subject: [PATCH 20/57] ci: This PR is to trigger periodic CI testing From d40cd259b41cd6c046ac89177ab93e2b60d00489 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 17 Feb 2024 22:15:02 +0000 Subject: [PATCH 21/57] ci: This PR is to trigger periodic CI testing From 063da34f15f84de4ca6cd1a27005f24313efd3f5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 24 Feb 2024 22:13:14 +0000 Subject: [PATCH 22/57] ci: This PR is to trigger periodic CI testing From 38abca1cb8e9fa357c4c8d10f98eaa6934e2eaed Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Mar 2024 22:13:47 +0000 Subject: [PATCH 23/57] ci: This PR is to trigger periodic CI testing From 2cb0292648cd1d39c596c76e944b1a1df1afdaf0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Mar 2024 22:14:12 +0000 Subject: [PATCH 24/57] ci: This PR is to trigger periodic CI testing From 5f5b84845e7da72655d27c597cae331e0702de6e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Mar 2024 22:13:53 +0000 Subject: [PATCH 25/57] ci: This PR is to trigger periodic CI testing From 55b844cd0e8bb6f0987937cfe55f10a1984fcd95 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 Mar 2024 22:13:34 +0000 Subject: [PATCH 26/57] ci: This PR is to trigger periodic CI testing From 9451e350bfd3be082d4a38dcc9e8a1a2ab6e6661 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Mar 2024 22:14:09 +0000 Subject: [PATCH 27/57] ci: This PR is to trigger periodic CI testing From 7325a59f83da9088695a90cef040a51d7cb213a1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Apr 2024 22:13:49 +0000 Subject: [PATCH 28/57] ci: This PR is to trigger periodic CI testing From 27eafe50a059ce90386b270d77e0a6d3916c06fb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Apr 2024 22:12:37 +0000 Subject: [PATCH 29/57] ci: This PR is to trigger periodic CI testing From ce84e9a4078ee2ff7d1aa28792332d60433b0041 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Apr 2024 22:14:16 +0000 Subject: [PATCH 30/57] ci: This PR is to trigger periodic CI testing From 85a55c6809e65450df0e179f87e5468301884213 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Apr 2024 22:14:13 +0000 Subject: [PATCH 31/57] ci: This PR is to trigger periodic CI testing From 9d1a1d2a873e5528337dd069c159ccca702f2ccf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 May 2024 22:13:47 +0000 Subject: [PATCH 32/57] ci: This PR is to trigger periodic CI testing From e878b7a67385d589d896d96e8876904b7aa40ccf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 May 2024 22:13:22 +0000 Subject: [PATCH 33/57] ci: This PR is to trigger periodic CI testing From 65802c34fa5edbf18b01ce4cfa93fcbf04805b5a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 May 2024 22:13:38 +0000 Subject: [PATCH 34/57] ci: This PR is to trigger periodic CI testing From aff975753601f49d46ee9ec43e69812b4cc63265 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 May 2024 22:14:33 +0000 Subject: [PATCH 35/57] ci: This PR is to trigger periodic CI testing From a3d5257e408cce24e6ab38c805dd6f0ca3557fba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Jun 2024 22:14:05 +0000 Subject: [PATCH 36/57] ci: This PR is to trigger periodic CI testing From 63025de46161acf53292d28f0b39d6d04bdb1993 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Jun 2024 22:15:28 +0000 Subject: [PATCH 37/57] ci: This PR is to trigger periodic CI testing From 5088df9dd5f2a6e3309eca7d9a6bffdf60490cc2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 15 Jun 2024 22:15:03 +0000 Subject: [PATCH 38/57] ci: This PR is to trigger periodic CI testing From 703597007f0f84ca938ab26681d4f52b0af28b40 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Jun 2024 22:14:48 +0000 Subject: [PATCH 39/57] ci: This PR is to trigger periodic CI testing From e4206cc15e90704a9dc908755ec25c8c56bf8f67 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 Jun 2024 22:16:27 +0000 Subject: [PATCH 40/57] ci: This PR is to trigger periodic CI testing From cfb346edbe9cefb0610d6c07de02524b6df1277c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Jul 2024 22:15:33 +0000 Subject: [PATCH 41/57] ci: This PR is to trigger periodic CI testing From e31b1e814194d813369fc2d1a65e0714fe7c9501 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Jul 2024 22:14:45 +0000 Subject: [PATCH 42/57] ci: This PR is to trigger periodic CI testing From ddfa775c389b4f4811577e550b6c1084f6dc9769 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Jul 2024 22:15:35 +0000 Subject: [PATCH 43/57] ci: This PR is to trigger periodic CI testing From 4a40ac2cd0a9eca2a3ab83a063fcd234357b9e41 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Jul 2024 22:14:48 +0000 Subject: [PATCH 44/57] ci: This PR is to trigger periodic CI testing From 500672f10225ec46b94752174bf70ae5e3e17f21 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 3 Aug 2024 22:14:32 +0000 Subject: [PATCH 45/57] 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 89a343d0..433fe54d 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 041073a08beb57f3d54efb8a924fa53320cbc54b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 10 Aug 2024 22:15:49 +0000 Subject: [PATCH 46/57] ci: This PR is to trigger periodic CI testing From 97f69a77b27d5870f307f0243100f97fc656a630 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 17 Aug 2024 22:14:50 +0000 Subject: [PATCH 47/57] ci: This PR is to trigger periodic CI testing From 6b08a5b7691c25e9fa22f0a6c4266f73c8bc1274 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 24 Aug 2024 22:15:11 +0000 Subject: [PATCH 48/57] ci: This PR is to trigger periodic CI testing From cccc029e71467a6d692cde63d05d51ee8229e2cf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 31 Aug 2024 22:17:29 +0000 Subject: [PATCH 49/57] ci: This PR is to trigger periodic CI testing From 7800b2fbdec60797490e1d8b815b175c4378709d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Sep 2024 22:16:45 +0000 Subject: [PATCH 50/57] ci: This PR is to trigger periodic CI testing From 433c4f2353dc91a3fa25060e45255fa42f9b10fd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Sep 2024 22:17:24 +0000 Subject: [PATCH 51/57] ci: This PR is to trigger periodic CI testing From 8bd7612db794e32f74f3c6b4ffa3812dd21c7509 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Sep 2024 22:16:23 +0000 Subject: [PATCH 52/57] ci: This PR is to trigger periodic CI testing From b168ff73586254d8554bcc9758d76c170e2779bd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 22:16:40 +0000 Subject: [PATCH 53/57] ci: This PR is to trigger periodic CI testing From f39bcdcb24f6f6aad3f4e561872b76602bdf2479 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 22:17:28 +0000 Subject: [PATCH 54/57] ci: This PR is to trigger periodic CI testing From 68ca25881eadde233633925532294f315af09497 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2024 23:20:37 +0000 Subject: [PATCH 55/57] ci: This PR is to trigger periodic CI testing From e8c3c85291858af3b4ca1420c32f8759ef0ec85a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 19 Oct 2024 22:17:51 +0000 Subject: [PATCH 56/57] ci: This PR is to trigger periodic CI testing From 66e9cc5bb29dadc32c1dbf03373bbe428e10198d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Oct 2024 22:16:41 +0000 Subject: [PATCH 57/57] ci: This PR is to trigger periodic CI testing