From 8d50832ab8c664c4c015ed8987c006ba026f4f06 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Oct 2023 19:10:08 +0000 Subject: [PATCH 001/119] 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 7774ca98fc07bdc71cb9395bfb83648f217a1987 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:27 +0000 Subject: [PATCH 002/119] 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 7acec09e06ff3e278b3e700bf3c9aa6d9bd8cb7d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Oct 2023 19:10:02 +0000 Subject: [PATCH 003/119] ci: This PR is to trigger periodic CI testing From bbb444de0a5dc45499486c40776ab805ce5ea057 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Oct 2023 19:10:18 +0000 Subject: [PATCH 004/119] ci: This PR is to trigger periodic CI testing From b2a382313b8d2136a65c551ab510b2cf140d6d9f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 19:10:08 +0000 Subject: [PATCH 005/119] ci: This PR is to trigger periodic CI testing From f93e4ed2a4f427d7ce76db3d463f8fbcb145ee25 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Nov 2023 19:10:14 +0000 Subject: [PATCH 006/119] ci: This PR is to trigger periodic CI testing From ae87827dc790d557e95708646dac7da5d06cf097 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Nov 2023 19:10:16 +0000 Subject: [PATCH 007/119] 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 6f17471518cdb90f4d9fcbd9127a30be0e373572 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Nov 2023 19:10:35 +0000 Subject: [PATCH 008/119] ci: This PR is to trigger periodic CI testing From fa940b2bc8b34992fe931a7253c651a0038542dc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Nov 2023 19:10:39 +0000 Subject: [PATCH 009/119] ci: This PR is to trigger periodic CI testing From 5161be5ef5f17db0deadcfbd2437b8ccace27e42 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Dec 2023 19:11:22 +0000 Subject: [PATCH 010/119] ci: This PR is to trigger periodic CI testing From 8712654c98d8d86bf90937b99d27aae19dc43a0a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Dec 2023 19:10:40 +0000 Subject: [PATCH 011/119] ci: This PR is to trigger periodic CI testing From c434edf7487988617ea72d9d6c2b4b78cd5fec1a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Dec 2023 19:10:46 +0000 Subject: [PATCH 012/119] ci: This PR is to trigger periodic CI testing From 0c5f555daad4a79de16ffc7f7c14ee4f535af514 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 Dec 2023 19:10:41 +0000 Subject: [PATCH 013/119] ci: This PR is to trigger periodic CI testing From 7125bce6ded16092afc66d27c64c90e082dd92cc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Dec 2023 19:10:36 +0000 Subject: [PATCH 014/119] ci: This PR is to trigger periodic CI testing From 649174901e4c31174eb8010a7a127eabc24ee9b6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Jan 2024 19:10:51 +0000 Subject: [PATCH 015/119] ci: This PR is to trigger periodic CI testing From b733bcb1c8225790446436b873c7c7d8544731e5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Jan 2024 19:11:20 +0000 Subject: [PATCH 016/119] ci: This PR is to trigger periodic CI testing From 56bca5c0fe62671713e019502c3163e022a46041 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Jan 2024 19:11:39 +0000 Subject: [PATCH 017/119] ci: This PR is to trigger periodic CI testing From 808bbc9b791a1e30fa28c25524d37bbd36d1d275 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Jan 2024 19:11:10 +0000 Subject: [PATCH 018/119] ci: This PR is to trigger periodic CI testing From a8471ce7d19718b6aece170add005abd970b6444 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 19:10:32 +0000 Subject: [PATCH 019/119] ci: This PR is to trigger periodic CI testing From 5d68a26dd9f6da9b72d3c2a2cf0092112a3fcd13 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 10 Feb 2024 19:10:22 +0000 Subject: [PATCH 020/119] ci: This PR is to trigger periodic CI testing From e8c5fa5862350a5c41165666ad77c1733cb8de22 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 17 Feb 2024 19:11:18 +0000 Subject: [PATCH 021/119] ci: This PR is to trigger periodic CI testing From 054db17bf95539f43f4eba20ad31dde6ebc08d9e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 24 Feb 2024 19:10:23 +0000 Subject: [PATCH 022/119] ci: This PR is to trigger periodic CI testing From 991455238e1481326555554f2fd0824d91a64038 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Mar 2024 19:10:12 +0000 Subject: [PATCH 023/119] ci: This PR is to trigger periodic CI testing From 4f0818bb3d2a03f457e03b546b8b9df05fec4db2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Mar 2024 19:10:09 +0000 Subject: [PATCH 024/119] ci: This PR is to trigger periodic CI testing From c064f078dc380616474b3972facd0022f44a3230 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Mar 2024 19:11:03 +0000 Subject: [PATCH 025/119] ci: This PR is to trigger periodic CI testing From bafd86eeb14ecfc311a15dd8ce1af2235a3a421b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 Mar 2024 19:10:37 +0000 Subject: [PATCH 026/119] ci: This PR is to trigger periodic CI testing From 49e20e46908d4dabfc73751ed71c662ae68aeb0e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Mar 2024 19:11:15 +0000 Subject: [PATCH 027/119] ci: This PR is to trigger periodic CI testing From fa101d808a175510ab5a173fd232ee948027c101 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Apr 2024 19:10:41 +0000 Subject: [PATCH 028/119] ci: This PR is to trigger periodic CI testing From 3e225e639ae7aa82f9e07119f07093bca273d9b5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Apr 2024 19:09:41 +0000 Subject: [PATCH 029/119] ci: This PR is to trigger periodic CI testing From a2dcd44f00f2d27444178ab7fff46616125cb97e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Apr 2024 19:11:27 +0000 Subject: [PATCH 030/119] ci: This PR is to trigger periodic CI testing From 9476010cdb88f5232f72cbfef0b7f655feadbeaa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Apr 2024 19:10:30 +0000 Subject: [PATCH 031/119] ci: This PR is to trigger periodic CI testing From 0d912ed327aeb96b38e62eee255d95df2f4124b4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 May 2024 19:12:22 +0000 Subject: [PATCH 032/119] ci: This PR is to trigger periodic CI testing From b4d343914898faf5b3f25a366f383b01bc824c51 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 May 2024 19:11:33 +0000 Subject: [PATCH 033/119] ci: This PR is to trigger periodic CI testing From 914e17e200577cedc9a9d3e48411a114a053bd26 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 May 2024 19:10:51 +0000 Subject: [PATCH 034/119] ci: This PR is to trigger periodic CI testing From d4412ee391c19b240624b2c2a8c7a1d730e02811 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 May 2024 19:12:10 +0000 Subject: [PATCH 035/119] ci: This PR is to trigger periodic CI testing From af1887a80afb71b421a9f2e560f91c410dc7784f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Jun 2024 19:14:51 +0000 Subject: [PATCH 036/119] ci: This PR is to trigger periodic CI testing From 0fb5820ebc693c990b0145e1ce14af1392e6cdf8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Jun 2024 19:12:19 +0000 Subject: [PATCH 037/119] ci: This PR is to trigger periodic CI testing From 8dc1606b6c0db7bda6fcf7f0c3d6434b0c564c12 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 15 Jun 2024 19:12:49 +0000 Subject: [PATCH 038/119] ci: This PR is to trigger periodic CI testing From 5687267894eab8624a68879d2d6e173bab627644 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Jun 2024 19:14:03 +0000 Subject: [PATCH 039/119] ci: This PR is to trigger periodic CI testing From bcc2c82eedc2a0fa2cb3811639a052b0f9c4aef8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 Jun 2024 19:11:35 +0000 Subject: [PATCH 040/119] ci: This PR is to trigger periodic CI testing From 9b939759adc5462363d7e604efee4ff846315165 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Jul 2024 19:12:03 +0000 Subject: [PATCH 041/119] ci: This PR is to trigger periodic CI testing From 56ba969686e3895514de692ff70caf1269d07915 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Jul 2024 19:12:22 +0000 Subject: [PATCH 042/119] ci: This PR is to trigger periodic CI testing From 36f6c272fdc2ce2c543451ae749bdc24617ec6e6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Jul 2024 19:11:40 +0000 Subject: [PATCH 043/119] ci: This PR is to trigger periodic CI testing From 04c2edf93fd74fc7f0a88754b2820d342a06ee3e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Jul 2024 19:12:35 +0000 Subject: [PATCH 044/119] ci: This PR is to trigger periodic CI testing From fe395e27e847782123cdeaa17dc2eb26719301ee Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 3 Aug 2024 19:12:31 +0000 Subject: [PATCH 045/119] 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 04a8d4d9e856cc8c35fa39e608347ae22efc4ce2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 10 Aug 2024 19:12:47 +0000 Subject: [PATCH 046/119] ci: This PR is to trigger periodic CI testing From cedcab30058d054a4943dc4453aaa9c0a58a9b81 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 17 Aug 2024 19:14:10 +0000 Subject: [PATCH 047/119] ci: This PR is to trigger periodic CI testing From fb72342161109a2ed9dc4378a25d98aea3e76125 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 24 Aug 2024 19:11:58 +0000 Subject: [PATCH 048/119] ci: This PR is to trigger periodic CI testing From 0cbc11db8f862a8f896ae9f9ce69d66d581779d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 31 Aug 2024 19:12:36 +0000 Subject: [PATCH 049/119] ci: This PR is to trigger periodic CI testing From 9eb4a7e7c7c0c091a63274eabacfb94d70aa87c7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Sep 2024 19:14:12 +0000 Subject: [PATCH 050/119] ci: This PR is to trigger periodic CI testing From 8048e9001f00ebd27472c9040232eb57df5d8a70 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Sep 2024 19:12:42 +0000 Subject: [PATCH 051/119] ci: This PR is to trigger periodic CI testing From ed5661a39064f3179694269953e51aec3788b50c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Sep 2024 19:13:12 +0000 Subject: [PATCH 052/119] ci: This PR is to trigger periodic CI testing From 72acd04423bc0e1a15166da0bbda219d495cd10b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 19:13:51 +0000 Subject: [PATCH 053/119] ci: This PR is to trigger periodic CI testing From c1a290de2d69c267cad49cb2b91bf9d038cb6bcc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 19:13:42 +0000 Subject: [PATCH 054/119] ci: This PR is to trigger periodic CI testing From e175885edc00c35c33de82911c42f2f596b6b2e7 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:18:58 +0000 Subject: [PATCH 055/119] ci: This PR is to trigger periodic CI testing From f9e749d6763902ca6232e81ef72d44a48319cda3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 19 Oct 2024 19:14:06 +0000 Subject: [PATCH 056/119] ci: This PR is to trigger periodic CI testing From 79f7b8b237cf85c34580295f98609ec16729218d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Oct 2024 19:12:52 +0000 Subject: [PATCH 057/119] ci: This PR is to trigger periodic CI testing From e1d5f2316994508b38a7094f127472a71cfc4a38 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Nov 2024 19:15:38 +0000 Subject: [PATCH 058/119] ci: This PR is to trigger periodic CI testing From be65009df540ae16b45c53537f274e742b0a620a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 10 Nov 2024 01:14:18 +0000 Subject: [PATCH 059/119] ci: This PR is to trigger periodic CI testing From f7fe2cfe596bd1463c12bf99a48024fc4a059813 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Nov 2024 21:33:13 +0000 Subject: [PATCH 060/119] ci: This PR is to trigger periodic CI testing From 2a839bf3f6efe755f4aec933b6724dab5826f17c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 Nov 2024 19:13:56 +0000 Subject: [PATCH 061/119] ci: This PR is to trigger periodic CI testing From 7637f97d5636d116134cdcd9dfb41b387b7420d8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Nov 2024 19:13:26 +0000 Subject: [PATCH 062/119] ci: This PR is to trigger periodic CI testing From 28ceb97fac56a34010e9dad468a17bdd31dd84e2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Dec 2024 19:13:36 +0000 Subject: [PATCH 063/119] ci: This PR is to trigger periodic CI testing From a3d9955437129baf9f22902cd0f92ed38a35bed6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 19:13:50 +0000 Subject: [PATCH 064/119] ci: This PR is to trigger periodic CI testing From 7b9f8293b0c19f2316b2c58d50d1ab1a70854102 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Dec 2024 19:12:30 +0000 Subject: [PATCH 065/119] ci: This PR is to trigger periodic CI testing From ed7f6fc4c293c62b044c87d7e232dcc84723ae76 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Dec 2024 19:12:41 +0000 Subject: [PATCH 066/119] ci: This PR is to trigger periodic CI testing From 2e18f454dcab0f2a47ab09a87a6195b96ca5b2f5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Jan 2025 19:13:39 +0000 Subject: [PATCH 067/119] ci: This PR is to trigger periodic CI testing From de41bbcaaa634fe654169ad93acd3f94e3243355 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Jan 2025 19:12:44 +0000 Subject: [PATCH 068/119] ci: This PR is to trigger periodic CI testing From 373b4a8a1caf80769244daf202eefedb1197f77a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Jan 2025 19:12:34 +0000 Subject: [PATCH 069/119] ci: This PR is to trigger periodic CI testing From f1f6034743f059a05455b33ff19e8f2908100cbc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Jan 2025 19:12:08 +0000 Subject: [PATCH 070/119] ci: This PR is to trigger periodic CI testing From 04e11502651978d0dae8b5adc36ac4a09b5524b4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Feb 2025 23:18:38 +0000 Subject: [PATCH 071/119] ci: This PR is to trigger periodic CI testing From 1608e0c542c813ddf35ede1597fa24050265d108 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Feb 2025 19:13:53 +0000 Subject: [PATCH 072/119] ci: This PR is to trigger periodic CI testing From 759a0c6f7465c67f0c1585790cd5ba963343a0bd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 15 Feb 2025 19:14:32 +0000 Subject: [PATCH 073/119] ci: This PR is to trigger periodic CI testing From 7d6475c789406c9a19d7e143b1b6274b51c48cf5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Feb 2025 19:13:18 +0000 Subject: [PATCH 074/119] ci: This PR is to trigger periodic CI testing From 256715875fb2b5e7d0c37e087ab46aa55ddb1cf3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Mar 2025 19:13:06 +0000 Subject: [PATCH 075/119] ci: This PR is to trigger periodic CI testing From 8c9e73247a60f9e0ee82d8d756bc29f64cc77b75 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Mar 2025 19:12:30 +0000 Subject: [PATCH 076/119] ci: This PR is to trigger periodic CI testing From 681bbfded3b1dcff2632aef5c0c4fb5dadfe61f4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 15 Mar 2025 19:13:20 +0000 Subject: [PATCH 077/119] ci: This PR is to trigger periodic CI testing From 98b479512dc68e167bf7a282e19f89380c769c17 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Mar 2025 19:13:52 +0000 Subject: [PATCH 078/119] ci: This PR is to trigger periodic CI testing From 6b20620813eb16c7959cc70313d936136559839c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 Mar 2025 19:15:07 +0000 Subject: [PATCH 079/119] ci: This PR is to trigger periodic CI testing From 37677d62a68edfb9f06d5723a7e1a90a1a006ba5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 19:13:39 +0000 Subject: [PATCH 080/119] ci: This PR is to trigger periodic CI testing From d090e6ebacdc7e06937e591f000cf62de8172312 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Apr 2025 19:14:52 +0000 Subject: [PATCH 081/119] ci: This PR is to trigger periodic CI testing From a19a7da1f08b5fef025b6051d7d457a228528e8c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 19 Apr 2025 19:15:18 +0000 Subject: [PATCH 082/119] ci: This PR is to trigger periodic CI testing From 24365af4406c0a63926a45ed568ccc741a333414 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Apr 2025 19:15:00 +0000 Subject: [PATCH 083/119] ci: This PR is to trigger periodic CI testing From a7c295b87af794d2a65697bc8c3f4304053c1288 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 3 May 2025 19:14:29 +0000 Subject: [PATCH 084/119] ci: This PR is to trigger periodic CI testing From f061c74c7c7d5f5607c64999bb1ed4581089ed7c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 10 May 2025 19:14:25 +0000 Subject: [PATCH 085/119] ci: This PR is to trigger periodic CI testing From e42fc1c42b0c57025a0a7ce97adab78cd580f0ff Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 17 May 2025 19:15:51 +0000 Subject: [PATCH 086/119] ci: This PR is to trigger periodic CI testing --- tests/callback_plugins/dump_packages.py | 64 ------------------------- 1 file changed, 64 deletions(-) diff --git a/tests/callback_plugins/dump_packages.py b/tests/callback_plugins/dump_packages.py index 433fe54d..e69de29b 100644 --- a/tests/callback_plugins/dump_packages.py +++ b/tests/callback_plugins/dump_packages.py @@ -1,64 +0,0 @@ -# -*- 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 f3e78fead6ca038293ccc719028d4220c500b5f2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 24 May 2025 19:14:33 +0000 Subject: [PATCH 087/119] ci: This PR is to trigger periodic CI testing --- tests/callback_plugins/dump_packages.py | 64 +++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/tests/callback_plugins/dump_packages.py b/tests/callback_plugins/dump_packages.py index e69de29b..433fe54d 100644 --- a/tests/callback_plugins/dump_packages.py +++ 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 149d276a0e8ed728fb4e880efc4e71491990b41d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 31 May 2025 19:14:45 +0000 Subject: [PATCH 088/119] ci: This PR is to trigger periodic CI testing From 89eaca83d652557ba57ded5dff335e3421f82d40 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:15:11 +0000 Subject: [PATCH 089/119] ci: This PR is to trigger periodic CI testing From fa9a1a041ac629b899827a1eb08e6230bc59989a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Jun 2025 19:15:09 +0000 Subject: [PATCH 090/119] ci: This PR is to trigger periodic CI testing From ef588991d0f48e775de37d132aacebbd9c495a08 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Jun 2025 19:15:51 +0000 Subject: [PATCH 091/119] ci: This PR is to trigger periodic CI testing From 2c7c18aea1e644dc6e87b126a439e19a2fb9d6fd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Jun 2025 19:15:34 +0000 Subject: [PATCH 092/119] ci: This PR is to trigger periodic CI testing From 943601ee9ad4ecbeff0bc2335cecd6b4dd9a525f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Jul 2025 20:19:28 +0000 Subject: [PATCH 093/119] ci: This PR is to trigger periodic CI testing From 6a0c34818707f98e3ada61a454c62447dc519e5c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Jul 2025 19:16:05 +0000 Subject: [PATCH 094/119] ci: This PR is to trigger periodic CI testing From 8b931eedb42f254ab03fba12ce3ec537bc932147 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 19 Jul 2025 19:16:06 +0000 Subject: [PATCH 095/119] ci: This PR is to trigger periodic CI testing From 26483902b274505b0959d649bf3104d40da0c020 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Jul 2025 19:16:22 +0000 Subject: [PATCH 096/119] ci: This PR is to trigger periodic CI testing From b4f2a66996f9bf20b3a5d8fb69bf1fd8239d57d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Aug 2025 19:16:44 +0000 Subject: [PATCH 097/119] ci: This PR is to trigger periodic CI testing From 4cc2d6184401ce9d888376d2f80bbbe19f1c8790 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Aug 2025 19:16:01 +0000 Subject: [PATCH 098/119] ci: This PR is to trigger periodic CI testing From 62390b8064db7248c2479ce5635eebeaefc0ed9b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Aug 2025 19:15:44 +0000 Subject: [PATCH 099/119] ci: This PR is to trigger periodic CI testing From 2b48afe59aadba7105d4523d070db1cc211c8f14 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 Aug 2025 19:14:20 +0000 Subject: [PATCH 100/119] ci: This PR is to trigger periodic CI testing From 991bc3a149f1c45552aa007d7438ae2a6b1b9b45 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Aug 2025 19:14:01 +0000 Subject: [PATCH 101/119] ci: This PR is to trigger periodic CI testing From 6244a5a36fda68699c2ce0a1f675f65cff874bbc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Sep 2025 19:13:03 +0000 Subject: [PATCH 102/119] ci: This PR is to trigger periodic CI testing From 4b6ae370fd05a5fe795df3a22a44933e01da6d55 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Sep 2025 19:13:15 +0000 Subject: [PATCH 103/119] ci: This PR is to trigger periodic CI testing From c56911a5a771e22c9f0344f8edb126f4a73f69fe Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Sep 2025 19:13:04 +0000 Subject: [PATCH 104/119] ci: This PR is to trigger periodic CI testing From 2d9899763b0478f4888918c40b272fe60f356804 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Sep 2025 19:13:35 +0000 Subject: [PATCH 105/119] ci: This PR is to trigger periodic CI testing From bc6c7e7100e158678e955397be6d9da156b08883 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Oct 2025 19:13:29 +0000 Subject: [PATCH 106/119] ci: This PR is to trigger periodic CI testing From 9ba819e5d5f2b6e8ba014a28eb15447b336c3880 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Oct 2025 19:13:10 +0000 Subject: [PATCH 107/119] ci: This PR is to trigger periodic CI testing From dba36032d0177f0e70ff51dc7dfc1cde6e2473b9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Oct 2025 19:13:55 +0000 Subject: [PATCH 108/119] ci: This PR is to trigger periodic CI testing From 32741a41c471e7a6e9cdf32090e24ab7487230fb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Oct 2025 19:14:51 +0000 Subject: [PATCH 109/119] ci: This PR is to trigger periodic CI testing From 6cd502811e1a9356f5d0d708b482ab5198933836 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Nov 2025 19:13:45 +0000 Subject: [PATCH 110/119] ci: This PR is to trigger periodic CI testing From 10cc371251b73a45699264bc06aded0f07ae337c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Nov 2025 19:14:53 +0000 Subject: [PATCH 111/119] ci: This PR is to trigger periodic CI testing From bd9e80607d5bcc74245026a035ceae592a1d4924 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 15 Nov 2025 19:14:12 +0000 Subject: [PATCH 112/119] ci: This PR is to trigger periodic CI testing From 186e890c58c8438d36bcd1fb66d86e8a3eabe7e4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Nov 2025 19:15:29 +0000 Subject: [PATCH 113/119] ci: This PR is to trigger periodic CI testing From bf634a0b02d051b78d64326d52f2f42241b42f19 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 Nov 2025 19:16:19 +0000 Subject: [PATCH 114/119] ci: This PR is to trigger periodic CI testing From 303b4b92be377c98206752e2e386b4a1a481a63a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Dec 2025 19:15:57 +0000 Subject: [PATCH 115/119] ci: This PR is to trigger periodic CI testing From d835ab167d441bd9d62cbcf0b9027f584b00c3fb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Dec 2025 19:16:08 +0000 Subject: [PATCH 116/119] ci: This PR is to trigger periodic CI testing From e1012371aef51c5c6d904a672a60ba8908cf504f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Dec 2025 19:16:35 +0000 Subject: [PATCH 117/119] ci: This PR is to trigger periodic CI testing From da101ad969aed9c572bb68aa9df723533c4aaf23 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Dec 2025 19:16:28 +0000 Subject: [PATCH 118/119] ci: This PR is to trigger periodic CI testing From a5fdad9b485d08ede611d7b0d03b623bd78409fb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 3 Jan 2026 19:16:43 +0000 Subject: [PATCH 119/119] ci: This PR is to trigger periodic CI testing