-
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
87
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
87 commits
Select commit
Hold shift + click to select a range
6999ee0
ci: This PR is to trigger periodic CI testing
github-actions[bot] bc240c4
ci: This PR is to trigger periodic CI testing
github-actions[bot] f801f67
ci: This PR is to trigger periodic CI testing
github-actions[bot] d5234e9
ci: This PR is to trigger periodic CI testing
github-actions[bot] aee44d6
ci: This PR is to trigger periodic CI testing
github-actions[bot] 58130d4
ci: This PR is to trigger periodic CI testing
github-actions[bot] f39e516
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3a79257
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2ba4ad7
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6f20d61
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7ee6f73
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7773af7
ci: This PR is to trigger periodic CI testing
github-actions[bot] bae0b21
ci: This PR is to trigger periodic CI testing
github-actions[bot] fbcdcba
ci: This PR is to trigger periodic CI testing
github-actions[bot] bf2fb19
ci: This PR is to trigger periodic CI testing
github-actions[bot] b2f31f0
ci: This PR is to trigger periodic CI testing
github-actions[bot] a646842
ci: This PR is to trigger periodic CI testing
github-actions[bot] 46e171c
ci: This PR is to trigger periodic CI testing
github-actions[bot] df2ebb2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 26eab82
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2c4cbf6
ci: This PR is to trigger periodic CI testing
github-actions[bot] 041adaf
ci: This PR is to trigger periodic CI testing
github-actions[bot] e923f23
ci: This PR is to trigger periodic CI testing
github-actions[bot] a1e1873
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8244015
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8e6c799
ci: This PR is to trigger periodic CI testing
github-actions[bot] 580377c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6d4f3d8
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9829f2b
ci: This PR is to trigger periodic CI testing
github-actions[bot] c288dc1
ci: This PR is to trigger periodic CI testing
github-actions[bot] bc36a8b
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7e9307b
ci: This PR is to trigger periodic CI testing
github-actions[bot] 198eb19
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2e4a480
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7e85318
ci: This PR is to trigger periodic CI testing
github-actions[bot] a069efd
ci: This PR is to trigger periodic CI testing
github-actions[bot] f08b70f
ci: This PR is to trigger periodic CI testing
github-actions[bot] 591d44d
ci: This PR is to trigger periodic CI testing
github-actions[bot] a026e3f
ci: This PR is to trigger periodic CI testing
github-actions[bot] b808db0
ci: This PR is to trigger periodic CI testing
github-actions[bot] bd81b79
ci: This PR is to trigger periodic CI testing
github-actions[bot] 47bf648
ci: This PR is to trigger periodic CI testing
github-actions[bot] ff31cad
ci: This PR is to trigger periodic CI testing
github-actions[bot] 67ea0e0
ci: This PR is to trigger periodic CI testing
github-actions[bot] 1245a07
ci: This PR is to trigger periodic CI testing
github-actions[bot] ca698be
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5f462c5
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3d3d6a6
ci: This PR is to trigger periodic CI testing
github-actions[bot] 09f0da2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6b78119
ci: This PR is to trigger periodic CI testing
github-actions[bot] 883fed8
ci: This PR is to trigger periodic CI testing
github-actions[bot] fdca45d
ci: This PR is to trigger periodic CI testing
github-actions[bot] 96ee78f
ci: This PR is to trigger periodic CI testing
github-actions[bot] 19a9fbc
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5d06a1b
ci: This PR is to trigger periodic CI testing
github-actions[bot] cbb5ca4
ci: This PR is to trigger periodic CI testing
github-actions[bot] 913649f
ci: This PR is to trigger periodic CI testing
github-actions[bot] b463bcd
ci: This PR is to trigger periodic CI testing
github-actions[bot] 65ac1a1
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9bd12d6
ci: This PR is to trigger periodic CI testing
github-actions[bot] d270c14
ci: This PR is to trigger periodic CI testing
github-actions[bot] f6ca054
ci: This PR is to trigger periodic CI testing
github-actions[bot] 15fd8b2
ci: This PR is to trigger periodic CI testing
github-actions[bot] c217906
ci: This PR is to trigger periodic CI testing
github-actions[bot] 37ea9c2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8d0f3ae
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2489b81
ci: This PR is to trigger periodic CI testing
github-actions[bot] c522338
ci: This PR is to trigger periodic CI testing
github-actions[bot] 0690f1e
ci: This PR is to trigger periodic CI testing
github-actions[bot] d60fa6b
ci: This PR is to trigger periodic CI testing
github-actions[bot] 96cd7f9
ci: This PR is to trigger periodic CI testing
github-actions[bot] e5780bf
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9192abc
ci: This PR is to trigger periodic CI testing
github-actions[bot] eb990f0
ci: This PR is to trigger periodic CI testing
github-actions[bot] f6e1389
ci: This PR is to trigger periodic CI testing
github-actions[bot] e141c3c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9599982
ci: This PR is to trigger periodic CI testing
github-actions[bot] c755b68
ci: This PR is to trigger periodic CI testing
github-actions[bot] bebfb8c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 0d50b8c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 0012828
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9cbd469
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7ef7bf7
ci: This PR is to trigger periodic CI testing
github-actions[bot] 4924266
ci: This PR is to trigger periodic CI testing
github-actions[bot] ba54728
ci: This PR is to trigger periodic CI testing
github-actions[bot] a8016fb
ci: This PR is to trigger periodic CI testing
github-actions[bot] 70067ac
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