ci: tox-lsr 3.17.0 - container test improvements, use ansible 2.20 for fedora 43 [citest_skip]#199
Open
ci: tox-lsr 3.17.0 - container test improvements, use ansible 2.20 for fedora 43 [citest_skip]#199
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 Core 2.20 on Fedora 43, and optimizes container test execution by adjusting environment variables to control requirements and callback plugins between test runs. Flow diagram for container and qemu test execution with tox-lsr 3.17.0flowchart TD
A[Workflow_triggered] --> B[Checkout_repository]
B --> C[Install_tox_lsr_3_17_0_via_pip]
C --> D[Initialize_tox_environment]
D --> E[Set_env_DISABLE_REQUIREMENTS_for_first_run]
E --> F[Run_container_tests_without_extra_requirements]
F --> G[Adjust_env_for_callback_plugins]
G --> H[Run_container_tests_with_callback_plugins_enabled]
H --> I[Run_qemu_kvm_integration_tests_with_ansible_core_2_20]
I --> J[Collect_and_improve_test_output]
J --> K[Publish_CI_results]
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:
- The tox-lsr version (3.17.0) is hard-coded in multiple workflows; consider centralizing this (e.g., via a reusable workflow or a shared action) to avoid future version drift between CI jobs.
- In the container test loop, the SKIP_REQUIREMENTS / SKIP_CALLBACK_PLUGINS toggling relies on side effects between iterations; setting these explicitly at the top of each iteration based on whether it’s the first run would make the intent clearer and less error-prone.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The tox-lsr version (3.17.0) is hard-coded in multiple workflows; consider centralizing this (e.g., via a reusable workflow or a shared action) to avoid future version drift between CI jobs.
- In the container test loop, the SKIP_REQUIREMENTS / SKIP_CALLBACK_PLUGINS toggling relies on side effects between iterations; setting these explicitly at the top of each iteration based on whether it’s the first run would make the intent clearer and less error-prone.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 newer tox-lsr and Ansible versions for Fedora 43 container and qemu tests, and optimize container test runs.
CI: