-
Notifications
You must be signed in to change notification settings - Fork 5
ci: This PR is to trigger periodic CI testing #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
systemroller
wants to merge
89
commits into
main
Choose a base branch
from
weekly-ci
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
89 commits
Select commit
Hold shift + click to select a range
2fde7ca
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5997baf
ci: This PR is to trigger periodic CI testing
github-actions[bot] 95d038e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8c49d10
ci: This PR is to trigger periodic CI testing
github-actions[bot] c6ff3f0
ci: This PR is to trigger periodic CI testing
github-actions[bot] d21ee1c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3cbbece
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7c10da4
ci: This PR is to trigger periodic CI testing
github-actions[bot] 54e96d6
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7824ad4
ci: This PR is to trigger periodic CI testing
github-actions[bot] a9bce68
ci: This PR is to trigger periodic CI testing
github-actions[bot] ddf6c27
ci: This PR is to trigger periodic CI testing
github-actions[bot] c30a37f
ci: This PR is to trigger periodic CI testing
github-actions[bot] 0c5c340
ci: This PR is to trigger periodic CI testing
github-actions[bot] da5a172
ci: This PR is to trigger periodic CI testing
github-actions[bot] a229aa4
ci: This PR is to trigger periodic CI testing
github-actions[bot] edef3ac
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6a9b7a9
ci: This PR is to trigger periodic CI testing
github-actions[bot] 30717df
ci: This PR is to trigger periodic CI testing
github-actions[bot] 58726cb
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6ed6e2c
ci: This PR is to trigger periodic CI testing
github-actions[bot] d86fd3c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 45adb41
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3b62359
ci: This PR is to trigger periodic CI testing
github-actions[bot] f326190
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2018ff8
ci: This PR is to trigger periodic CI testing
github-actions[bot] 28bde45
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7eaed00
ci: This PR is to trigger periodic CI testing
github-actions[bot] 053dc1b
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2fda7be
ci: This PR is to trigger periodic CI testing
github-actions[bot] 38cbde1
ci: This PR is to trigger periodic CI testing
github-actions[bot] ae3cf07
ci: This PR is to trigger periodic CI testing
github-actions[bot] c299128
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5aa22a1
ci: This PR is to trigger periodic CI testing
github-actions[bot] 318e5d5
ci: This PR is to trigger periodic CI testing
github-actions[bot] dc3b3f6
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3508d50
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7285b26
ci: This PR is to trigger periodic CI testing
github-actions[bot] 62e143f
ci: This PR is to trigger periodic CI testing
github-actions[bot] 47a9243
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7b1da90
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9b2d579
ci: This PR is to trigger periodic CI testing
github-actions[bot] 935d6ff
ci: This PR is to trigger periodic CI testing
github-actions[bot] 4f452f5
ci: This PR is to trigger periodic CI testing
github-actions[bot] a6e02ee
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9100901
ci: This PR is to trigger periodic CI testing
github-actions[bot] 331528a
ci: This PR is to trigger periodic CI testing
github-actions[bot] 0258eee
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2c03424
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2d7e374
ci: This PR is to trigger periodic CI testing
github-actions[bot] 04b89ec
ci: This PR is to trigger periodic CI testing
github-actions[bot] f2ad524
ci: This PR is to trigger periodic CI testing
github-actions[bot] ec8587a
ci: This PR is to trigger periodic CI testing
github-actions[bot] e9c947c
ci: This PR is to trigger periodic CI testing
github-actions[bot] c88fb52
ci: This PR is to trigger periodic CI testing
github-actions[bot] c302ea1
ci: This PR is to trigger periodic CI testing
github-actions[bot] b07a194
ci: This PR is to trigger periodic CI testing
github-actions[bot] b935812
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7c5bfcc
ci: This PR is to trigger periodic CI testing
github-actions[bot] 55265df
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3599c29
ci: This PR is to trigger periodic CI testing
github-actions[bot] b951b1d
ci: This PR is to trigger periodic CI testing
github-actions[bot] 247be1a
ci: This PR is to trigger periodic CI testing
github-actions[bot] cff63e2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 04537d2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 821e1a4
ci: This PR is to trigger periodic CI testing
github-actions[bot] ac881f6
ci: This PR is to trigger periodic CI testing
github-actions[bot] ab818e9
ci: This PR is to trigger periodic CI testing
github-actions[bot] ad51b56
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3e19fa2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 4f46e29
ci: This PR is to trigger periodic CI testing
github-actions[bot] 320f37b
ci: This PR is to trigger periodic CI testing
github-actions[bot] d638295
ci: This PR is to trigger periodic CI testing
github-actions[bot] 871e557
ci: This PR is to trigger periodic CI testing
github-actions[bot] 985f6ca
ci: This PR is to trigger periodic CI testing
github-actions[bot] 0dc028a
ci: This PR is to trigger periodic CI testing
github-actions[bot] bf11dc5
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7e8e4c9
ci: This PR is to trigger periodic CI testing
github-actions[bot] edd7d45
ci: This PR is to trigger periodic CI testing
github-actions[bot] 07706ce
ci: This PR is to trigger periodic CI testing
github-actions[bot] f4cbd24
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2d73254
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5db87a8
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5d8479e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 84e151f
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2665012
ci: This PR is to trigger periodic CI testing
github-actions[bot] 915d8d8
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6a04c4f
ci: This PR is to trigger periodic CI testing
github-actions[bot] d9c0429
ci: This PR is to trigger periodic CI testing
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable