-
Notifications
You must be signed in to change notification settings - Fork 115
ci: This PR is to trigger periodic CI testing #722
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
Draft
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.
Draft
Changes from all commits
Commits
Show all changes
89 commits
Select commit
Hold shift + click to select a range
70ae903
ci: This PR is to trigger periodic CI testing
github-actions[bot] d2983c0
ci: This PR is to trigger periodic CI testing
github-actions[bot] 1b2e530
ci: This PR is to trigger periodic CI testing
github-actions[bot] 611017f
ci: This PR is to trigger periodic CI testing
github-actions[bot] a93d725
ci: This PR is to trigger periodic CI testing
github-actions[bot] 910e029
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9402a1b
ci: This PR is to trigger periodic CI testing
github-actions[bot] e1780b5
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5418075
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9dca2e2
ci: This PR is to trigger periodic CI testing
github-actions[bot] af7d4a6
ci: This PR is to trigger periodic CI testing
github-actions[bot] 4658941
ci: This PR is to trigger periodic CI testing
github-actions[bot] 40567e9
ci: This PR is to trigger periodic CI testing
github-actions[bot] 43002df
ci: This PR is to trigger periodic CI testing
github-actions[bot] 29fdacb
ci: This PR is to trigger periodic CI testing
github-actions[bot] 13681c4
ci: This PR is to trigger periodic CI testing
github-actions[bot] 62b06e9
ci: This PR is to trigger periodic CI testing
github-actions[bot] 85cc782
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6d86eee
ci: This PR is to trigger periodic CI testing
github-actions[bot] b4dfad7
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3817dc6
ci: This PR is to trigger periodic CI testing
github-actions[bot] ed1340b
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3775838
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3d24f37
ci: This PR is to trigger periodic CI testing
github-actions[bot] ce03d91
ci: This PR is to trigger periodic CI testing
github-actions[bot] 00c94d0
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2508aaa
ci: This PR is to trigger periodic CI testing
github-actions[bot] bd72f9e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 077a8c8
ci: This PR is to trigger periodic CI testing
github-actions[bot] 4086921
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9060de4
ci: This PR is to trigger periodic CI testing
github-actions[bot] decd976
ci: This PR is to trigger periodic CI testing
github-actions[bot] be5b67d
ci: This PR is to trigger periodic CI testing
github-actions[bot] 775c1be
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6e1b1a6
ci: This PR is to trigger periodic CI testing
github-actions[bot] a24527c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3257a53
ci: This PR is to trigger periodic CI testing
github-actions[bot] 02dbc19
ci: This PR is to trigger periodic CI testing
github-actions[bot] ecc5891
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5345d3c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2a1af30
ci: This PR is to trigger periodic CI testing
github-actions[bot] c5a1c88
ci: This PR is to trigger periodic CI testing
github-actions[bot] bce229b
ci: This PR is to trigger periodic CI testing
github-actions[bot] 916011f
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8ffb179
ci: This PR is to trigger periodic CI testing
github-actions[bot] e2f09c1
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8236d54
ci: This PR is to trigger periodic CI testing
github-actions[bot] 1637ef4
ci: This PR is to trigger periodic CI testing
github-actions[bot] be67246
ci: This PR is to trigger periodic CI testing
github-actions[bot] 555c4bf
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2ef5106
ci: This PR is to trigger periodic CI testing
github-actions[bot] 09fa8bc
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9a51841
ci: This PR is to trigger periodic CI testing
github-actions[bot] 39a2e68
ci: This PR is to trigger periodic CI testing
github-actions[bot] 77add4c
ci: This PR is to trigger periodic CI testing
github-actions[bot] c0908ce
ci: This PR is to trigger periodic CI testing
github-actions[bot] 051ad3b
ci: This PR is to trigger periodic CI testing
github-actions[bot] 0d0e220
ci: This PR is to trigger periodic CI testing
github-actions[bot] 764298a
ci: This PR is to trigger periodic CI testing
github-actions[bot] f28ee96
ci: This PR is to trigger periodic CI testing
github-actions[bot] d791b0b
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8412000
ci: This PR is to trigger periodic CI testing
github-actions[bot] d093c0f
ci: This PR is to trigger periodic CI testing
github-actions[bot] c3ee120
ci: This PR is to trigger periodic CI testing
github-actions[bot] 228e19c
ci: This PR is to trigger periodic CI testing
github-actions[bot] cfa7c8e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3221110
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5818bee
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8090571
ci: This PR is to trigger periodic CI testing
github-actions[bot] 315f429
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3d77f7e
ci: This PR is to trigger periodic CI testing
github-actions[bot] a11266f
ci: This PR is to trigger periodic CI testing
github-actions[bot] acc9251
ci: This PR is to trigger periodic CI testing
github-actions[bot] bbb1021
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3f16f2c
ci: This PR is to trigger periodic CI testing
github-actions[bot] f48a51c
ci: This PR is to trigger periodic CI testing
github-actions[bot] c0e1e6e
ci: This PR is to trigger periodic CI testing
github-actions[bot] bef5c94
ci: This PR is to trigger periodic CI testing
github-actions[bot] 12c4a4e
ci: This PR is to trigger periodic CI testing
github-actions[bot] b8669c5
ci: This PR is to trigger periodic CI testing
github-actions[bot] ffca299
ci: This PR is to trigger periodic CI testing
github-actions[bot] d0cee29
ci: This PR is to trigger periodic CI testing
github-actions[bot] 44e2638
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3a3d4b9
ci: This PR is to trigger periodic CI testing
github-actions[bot] 64fcc67
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7035f00
ci: This PR is to trigger periodic CI testing
github-actions[bot] e88224c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 0e8fb62
ci: This PR is to trigger periodic CI testing
github-actions[bot] 53b14f8
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