Conversation
…r fedora 43 [citest_skip] tox-lsr 3.17.0 has some container test improvements - better output, faster runs Use Ansible 2.20 for qemu/container tests on fedora 43 Signed-off-by: Rich Megginson <rmeggins@redhat.com>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates CI workflows to use tox-lsr 3.17.0 and Ansible 2.20 for Fedora 43 test scenarios, and adjusts container test environment flags to leverage new tox-lsr behavior for faster, clearer container runs. Sequence diagram for CI job execution with tox_lsr_3_17_0 and Ansible_2_20 on Fedora_43sequenceDiagram
actor Developer
participant GitHub as GitHub
participant Workflow as GitHub_Actions_Workflow
participant Runner as GHA_Runner
participant Pip as pip3
participant Tox as tox
participant ToxLsr as tox_lsr_3_17_0
participant Fedora43 as Fedora_43_Test_Env
participant Ansible as Ansible_2_20
participant Tests as Test_Suite
Developer->>GitHub: Push commits or open PR
GitHub-->>Workflow: Trigger CI workflows
Workflow-->>Runner: Start ansible_test and related jobs
Runner->>Pip: pip3 install tox and tox_lsr_3_17_0
Pip-->>Runner: tox and tox_lsr_3_17_0 installed
Runner->>Tox: Invoke tox for CI environment
Tox->>ToxLsr: Use tox_lsr_3_17_0 configuration
ToxLsr->>Fedora43: Start Fedora 43 container or qemu guest
Fedora43->>Ansible: Provision environment with Ansible_2_20
ToxLsr->>Tests: Run Ansible and integration tests
Tests->>Ansible: Execute playbooks and roles
Ansible-->>Tests: Test results
Tests-->>ToxLsr: Aggregate results
ToxLsr-->>Tox: Return job status
Tox-->>Runner: Report success or failure
Runner-->>Workflow: Complete job with status
Workflow-->>GitHub: Update PR checks
GitHub-->>Developer: Display CI status on PR
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Consider defining the tox-lsr version and Ansible core versions in a single shared place (e.g., workflow env or reusable workflow) to avoid updating multiple hard-coded strings when versions change.
- In the container test loop, it might be clearer to explicitly reset SKIP_REQUIREMENTS/SKIP_CALLBACK_PLUGINS before the loop and then only set them once inside, to avoid relying on the comment to explain the first-vs-subsequent run behavior.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider defining the tox-lsr version and Ansible core versions in a single shared place (e.g., workflow env or reusable workflow) to avoid updating multiple hard-coded strings when versions change.
- In the container test loop, it might be clearer to explicitly reset SKIP_REQUIREMENTS/SKIP_CALLBACK_PLUGINS before the loop and then only set them once inside, to avoid relying on the comment to explain the first-vs-subsequent run behavior.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
tox-lsr 3.17.0 has some container test improvements - better output, faster runs
Use Ansible 2.20 for qemu/container tests on fedora 43
Signed-off-by: Rich Megginson rmeggins@redhat.com
Summary by Sourcery
Update CI workflows to use tox-lsr 3.17.0 and Ansible 2.20 for Fedora 43 test environments, improving container test performance and output.
CI: