-
Notifications
You must be signed in to change notification settings - Fork 114
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
98
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.
+64
−0
Draft
Changes from all commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
f881eb6
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5401a63
ci: This PR is to trigger periodic CI testing
github-actions[bot] d95c864
ci: This PR is to trigger periodic CI testing
github-actions[bot] ab4b8ae
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3911594
ci: This PR is to trigger periodic CI testing
github-actions[bot] f3e171e
ci: This PR is to trigger periodic CI testing
github-actions[bot] f0fbe07
ci: This PR is to trigger periodic CI testing
github-actions[bot] 23d8c60
ci: This PR is to trigger periodic CI testing
github-actions[bot] b54070c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6c3849c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9cee8a9
ci: This PR is to trigger periodic CI testing
github-actions[bot] f1738a0
ci: This PR is to trigger periodic CI testing
github-actions[bot] c3ec90e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3d31091
ci: This PR is to trigger periodic CI testing
github-actions[bot] bb914d5
ci: This PR is to trigger periodic CI testing
github-actions[bot] 83be86e
ci: This PR is to trigger periodic CI testing
github-actions[bot] d9e8e23
ci: This PR is to trigger periodic CI testing
github-actions[bot] 0443333
ci: This PR is to trigger periodic CI testing
github-actions[bot] 1f1a5f8
ci: This PR is to trigger periodic CI testing
github-actions[bot] a7878a5
ci: This PR is to trigger periodic CI testing
github-actions[bot] c54fea3
ci: This PR is to trigger periodic CI testing
github-actions[bot] 84c40f8
ci: This PR is to trigger periodic CI testing
github-actions[bot] b8753c2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6747e17
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7397ca5
ci: This PR is to trigger periodic CI testing
github-actions[bot] c4730d2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 62e2f90
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2dfec0f
ci: This PR is to trigger periodic CI testing
github-actions[bot] d5de0d1
ci: This PR is to trigger periodic CI testing
github-actions[bot] ceb14e2
ci: This PR is to trigger periodic CI testing
github-actions[bot] d59943f
ci: This PR is to trigger periodic CI testing
github-actions[bot] 51be039
ci: This PR is to trigger periodic CI testing
github-actions[bot] f19a18c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 63b175e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 67414fe
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2f4e74b
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7874d0f
ci: This PR is to trigger periodic CI testing
github-actions[bot] ad1be2e
ci: This PR is to trigger periodic CI testing
github-actions[bot] eded762
ci: This PR is to trigger periodic CI testing
github-actions[bot] c8eed87
ci: This PR is to trigger periodic CI testing
github-actions[bot] 4769358
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2624adb
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3664fda
ci: This PR is to trigger periodic CI testing
github-actions[bot] e032889
ci: This PR is to trigger periodic CI testing
github-actions[bot] 91698dd
ci: This PR is to trigger periodic CI testing
github-actions[bot] 749a88f
ci: This PR is to trigger periodic CI testing
github-actions[bot] f427a08
ci: This PR is to trigger periodic CI testing
github-actions[bot] 4278e93
ci: This PR is to trigger periodic CI testing
github-actions[bot] c81cd2d
ci: This PR is to trigger periodic CI testing
github-actions[bot] b512f1c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 08f3eb6
ci: This PR is to trigger periodic CI testing
github-actions[bot] e121fa0
ci: This PR is to trigger periodic CI testing
github-actions[bot] 32ff67c
ci: This PR is to trigger periodic CI testing
github-actions[bot] df1f70d
ci: This PR is to trigger periodic CI testing
github-actions[bot] 41d599a
ci: This PR is to trigger periodic CI testing
github-actions[bot] 098bfa9
ci: This PR is to trigger periodic CI testing
github-actions[bot] b56d043
ci: This PR is to trigger periodic CI testing
github-actions[bot] f697c4e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 4627c50
ci: This PR is to trigger periodic CI testing
github-actions[bot] e56e0c5
ci: This PR is to trigger periodic CI testing
github-actions[bot] e8c2a5a
ci: This PR is to trigger periodic CI testing
github-actions[bot] 525ac3a
ci: This PR is to trigger periodic CI testing
github-actions[bot] e7970d5
ci: This PR is to trigger periodic CI testing
github-actions[bot] 0798758
ci: This PR is to trigger periodic CI testing
github-actions[bot] ee1ca4d
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2ab80fc
ci: This PR is to trigger periodic CI testing
github-actions[bot] d2474ae
ci: This PR is to trigger periodic CI testing
github-actions[bot] 980821b
ci: This PR is to trigger periodic CI testing
github-actions[bot] ff7b90a
ci: This PR is to trigger periodic CI testing
github-actions[bot] d8602d0
ci: This PR is to trigger periodic CI testing
github-actions[bot] ab3c2bc
ci: This PR is to trigger periodic CI testing
github-actions[bot] fac230e
ci: This PR is to trigger periodic CI testing
github-actions[bot] b4b7300
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6e387fe
ci: This PR is to trigger periodic CI testing
github-actions[bot] df41a28
ci: This PR is to trigger periodic CI testing
github-actions[bot] 15f0e64
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2bdb4f8
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8d450a1
ci: This PR is to trigger periodic CI testing
github-actions[bot] 1b3b99b
ci: This PR is to trigger periodic CI testing
github-actions[bot] feab51f
ci: This PR is to trigger periodic CI testing
github-actions[bot] a167239
ci: This PR is to trigger periodic CI testing
github-actions[bot] d74079f
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8c7b2f6
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2205446
ci: This PR is to trigger periodic CI testing
github-actions[bot] 79a9a81
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6523299
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8167465
ci: This PR is to trigger periodic CI testing
github-actions[bot] d1e0b75
ci: This PR is to trigger periodic CI testing
github-actions[bot] c0ccc0c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2c2687a
ci: This PR is to trigger periodic CI testing
github-actions[bot] 37fcf69
ci: This PR is to trigger periodic CI testing
github-actions[bot] 573d5f9
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2b76d31
ci: This PR is to trigger periodic CI testing
github-actions[bot] f78aee1
ci: This PR is to trigger periodic CI testing
github-actions[bot] 1551944
ci: This PR is to trigger periodic CI testing
github-actions[bot] 4d8eea6
ci: This PR is to trigger periodic CI testing
github-actions[bot] 438325a
ci: This PR is to trigger periodic CI testing
github-actions[bot] a3b521b
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