-
Notifications
You must be signed in to change notification settings - Fork 21
ci: This PR is to trigger periodic CI testing #176
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
120
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
120 commits
Select commit
Hold shift + click to select a range
e759e41
ci: This PR is to trigger periodic CI testing
github-actions[bot] b35fb29
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8daa1aa
ci: This PR is to trigger periodic CI testing
github-actions[bot] e34f05f
ci: This PR is to trigger periodic CI testing
github-actions[bot] 354fc1c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 670083f
ci: This PR is to trigger periodic CI testing
github-actions[bot] 25ac2be
ci: This PR is to trigger periodic CI testing
github-actions[bot] 240aad9
ci: This PR is to trigger periodic CI testing
github-actions[bot] 1535c97
ci: This PR is to trigger periodic CI testing
github-actions[bot] d7f9401
ci: This PR is to trigger periodic CI testing
github-actions[bot] fe47492
ci: This PR is to trigger periodic CI testing
github-actions[bot] bf2dd77
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7e019fc
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3608640
ci: This PR is to trigger periodic CI testing
github-actions[bot] 52c1004
ci: This PR is to trigger periodic CI testing
github-actions[bot] 93b96f6
ci: This PR is to trigger periodic CI testing
github-actions[bot] bad47a4
ci: This PR is to trigger periodic CI testing
github-actions[bot] d0cfb58
ci: This PR is to trigger periodic CI testing
github-actions[bot] e7b3cbe
ci: This PR is to trigger periodic CI testing
github-actions[bot] bb88fb3
ci: This PR is to trigger periodic CI testing
github-actions[bot] 60126ee
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2af5bf9
ci: This PR is to trigger periodic CI testing
github-actions[bot] a545df5
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8c05fd6
ci: This PR is to trigger periodic CI testing
github-actions[bot] 259b55e
ci: This PR is to trigger periodic CI testing
github-actions[bot] da73a84
ci: This PR is to trigger periodic CI testing
github-actions[bot] de88f7f
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6dba045
ci: This PR is to trigger periodic CI testing
github-actions[bot] 1582dea
ci: This PR is to trigger periodic CI testing
github-actions[bot] 70b7687
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7f7e4f5
ci: This PR is to trigger periodic CI testing
github-actions[bot] a23ae8a
ci: This PR is to trigger periodic CI testing
github-actions[bot] db5f938
ci: This PR is to trigger periodic CI testing
github-actions[bot] b6f0f01
ci: This PR is to trigger periodic CI testing
github-actions[bot] e1fe0cf
ci: This PR is to trigger periodic CI testing
github-actions[bot] c25583b
ci: This PR is to trigger periodic CI testing
github-actions[bot] ea2f30a
ci: This PR is to trigger periodic CI testing
github-actions[bot] e8d3b98
ci: This PR is to trigger periodic CI testing
github-actions[bot] f10336b
ci: This PR is to trigger periodic CI testing
github-actions[bot] a5128b6
ci: This PR is to trigger periodic CI testing
github-actions[bot] b79831f
ci: This PR is to trigger periodic CI testing
github-actions[bot] dfd7232
ci: This PR is to trigger periodic CI testing
github-actions[bot] 81f5684
ci: This PR is to trigger periodic CI testing
github-actions[bot] 36ac0ae
ci: This PR is to trigger periodic CI testing
github-actions[bot] b26eef5
ci: This PR is to trigger periodic CI testing
github-actions[bot] 0a2ac36
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2097d0e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 72f7ece
ci: This PR is to trigger periodic CI testing
github-actions[bot] cb3a608
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2daf801
ci: This PR is to trigger periodic CI testing
github-actions[bot] 98608a7
ci: This PR is to trigger periodic CI testing
github-actions[bot] 02fc470
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3691fa2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3159bfe
ci: This PR is to trigger periodic CI testing
github-actions[bot] 092598b
ci: This PR is to trigger periodic CI testing
github-actions[bot] 020dfdb
ci: This PR is to trigger periodic CI testing
github-actions[bot] e118dcc
ci: This PR is to trigger periodic CI testing
github-actions[bot] 223b05e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 008dfd8
ci: This PR is to trigger periodic CI testing
github-actions[bot] bfbd79e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 4d726ef
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5916fe4
ci: This PR is to trigger periodic CI testing
github-actions[bot] b5aba6c
ci: This PR is to trigger periodic CI testing
github-actions[bot] af6d366
ci: This PR is to trigger periodic CI testing
github-actions[bot] c759034
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5ad9c39
ci: This PR is to trigger periodic CI testing
github-actions[bot] 877e920
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9c7e2da
ci: This PR is to trigger periodic CI testing
github-actions[bot] 03561f1
ci: This PR is to trigger periodic CI testing
github-actions[bot] 1e72b3b
ci: This PR is to trigger periodic CI testing
github-actions[bot] 870b78d
ci: This PR is to trigger periodic CI testing
github-actions[bot] 10d2dd4
ci: This PR is to trigger periodic CI testing
github-actions[bot] ee11185
ci: This PR is to trigger periodic CI testing
github-actions[bot] 09cf72e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9bb2d77
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2b971c5
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3ca83d2
ci: This PR is to trigger periodic CI testing
github-actions[bot] adc7b24
ci: This PR is to trigger periodic CI testing
github-actions[bot] a3bc459
ci: This PR is to trigger periodic CI testing
github-actions[bot] be1b726
ci: This PR is to trigger periodic CI testing
github-actions[bot] ec627f2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5c1ecf2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 53c3e43
ci: This PR is to trigger periodic CI testing
github-actions[bot] 7d55723
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5371294
ci: This PR is to trigger periodic CI testing
github-actions[bot] d8fed2c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 68cceaf
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9f80964
ci: This PR is to trigger periodic CI testing
github-actions[bot] b61a7f2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9d5317c
ci: This PR is to trigger periodic CI testing
github-actions[bot] 561e403
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8863f43
ci: This PR is to trigger periodic CI testing
github-actions[bot] c3190ba
ci: This PR is to trigger periodic CI testing
github-actions[bot] 74ce10e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9bbfc1d
ci: This PR is to trigger periodic CI testing
github-actions[bot] 2da12e9
ci: This PR is to trigger periodic CI testing
github-actions[bot] e1ca81b
ci: This PR is to trigger periodic CI testing
github-actions[bot] b1b68d9
ci: This PR is to trigger periodic CI testing
github-actions[bot] f6d6189
ci: This PR is to trigger periodic CI testing
github-actions[bot] 76ff87a
ci: This PR is to trigger periodic CI testing
github-actions[bot] 808832d
ci: This PR is to trigger periodic CI testing
github-actions[bot] 32a5718
ci: This PR is to trigger periodic CI testing
github-actions[bot] 94691d1
ci: This PR is to trigger periodic CI testing
github-actions[bot] b3d8493
ci: This PR is to trigger periodic CI testing
github-actions[bot] cf2ba65
ci: This PR is to trigger periodic CI testing
github-actions[bot] 63e58e1
ci: This PR is to trigger periodic CI testing
github-actions[bot] 1db3d3e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 8687f11
ci: This PR is to trigger periodic CI testing
github-actions[bot] 851dcb8
ci: This PR is to trigger periodic CI testing
github-actions[bot] f22e890
ci: This PR is to trigger periodic CI testing
github-actions[bot] 3df38d7
ci: This PR is to trigger periodic CI testing
github-actions[bot] 1de9fd5
ci: This PR is to trigger periodic CI testing
github-actions[bot] ee97297
ci: This PR is to trigger periodic CI testing
github-actions[bot] 5340172
ci: This PR is to trigger periodic CI testing
github-actions[bot] 498596e
ci: This PR is to trigger periodic CI testing
github-actions[bot] 6108535
ci: This PR is to trigger periodic CI testing
github-actions[bot] 9b60d48
ci: This PR is to trigger periodic CI testing
github-actions[bot] ef23822
ci: This PR is to trigger periodic CI testing
github-actions[bot] cf1fff2
ci: This PR is to trigger periodic CI testing
github-actions[bot] 77c0db1
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