-
Notifications
You must be signed in to change notification settings - Fork 106
TMT: Updates to account for official CentOS Stream and OSCI gating. #345
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
Conversation
Reviewer's Guide by SourceryThis pull request updates the testing and gating configurations to include CentOS Stream and OSCI. It adds support for CentOS Stream 9 and 10, Fedora ELN, as well as aarch64 architecture in the Copr build jobs. The test matrix is updated to include testing on CentOS Stream 9 and 10 for stable and testing releases using Bodhi and OSCI. Flow diagram: Updated gating process with Bodhi and OSCIflowchart LR
Build[Build] --> Tests[Tests]
Tests --> Decision{Gating Decision}
Decision -->|Pass| Push[Push to Repository]
Decision -->|Fail| Reject[Reject Update]
subgraph Gating["Gating Process"]
direction TB
T1["fedora-ci.koji-build.tier0.functional"] --> GD["Gating Decision"]
subgraph Contexts["Decision Contexts"]
DC1["bodhi_update_push_stable"]
DC2["bodhi_update_push_testing"]
end
Contexts --> GD
end
style Gating fill:#f5f5f5,stroke:#333,stroke-width:2px
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
9e337a3
to
7441a24
Compare
c647aae
to
cbfb6db
Compare
Ephemeral COPR build failed. @containers/packit-build please check. |
c9a5264
to
cbfb6db
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @lsm5 - I've reviewed your changes - here's some feedback:
Overall Comments:
- The removal of e2e tests from podman-tests.sh needs explanation. Was this intentional? If so, please provide rationale for removing this test coverage.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Intentional. Running e2e tests by fetching sources with If we absolutely need to run podman e2e tests, we should fetch sources using a |
e3d3645
to
7964f54
Compare
7964f54
to
cd094fd
Compare
Tests failed. @containers/packit-build please check. |
7f146d2
to
5817cf0
Compare
5817cf0
to
1d6b284
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @lsm5 - I've reviewed your changes - here's some feedback:
Overall Comments:
- The podman-tests.sh changes remove significant functionality around RPM source handling. Please explain the rationale for this simplification and where this functionality has been moved to.
- The PR removes test/Makefile without explanation. Please provide context for this removal and confirm if this functionality has been migrated elsewhere.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
adjust+: | ||
enabled: false | ||
when: initiator == packit | ||
- when: distro == centos-stream or distro == rhel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The removal of /upstream
and /downstream
is intentional as we can run the same set of tests across the board.
`dnf download` on CentOS Stream ends up downloading all rpm versions of a package from all available repos instead of only the latest rpm. This leads to more (unnecessary) complications in the test script. Things are a lot simpler if we directly test using the `podman-tests` package. This means we'll have to disable podman e2e tests and only do system tests but that shouldn't be too big a problem. A better way to run podman e2e tests would be by creating a `podman-src` rpm subpackage that'll install all the rpm sources. The same set of tests can be run across all environments so there's no need to maintain separate plans for upstream and downstream. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
container-selinux maybe noarch but it would help to have aarch64 visibility to ensure everything works, especially RE: podman. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
OSCI will gate on TMT tests for CentOS Stream. Bodhi will gate on pushes for both testing and stable. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
1d6b284
to
e8677a4
Compare
Intentional. Running e2e tests by fetching sources with If we absolutely need to run podman e2e tests, we should fetch sources using a podman-src / podman-devel subpackage.
No need for this Makefile. We're triggering the test script directly. |
COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo" | ||
if compgen -G $COPR_REPO_FILE > /dev/null; then | ||
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would something like this work? I think it's more readable
dnf config-manager --save --setopt="podman-next*.priority=1"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually I just pulled it out from memory and I am not sure if it's going to be the same for dnf4/dnf5. I should verify that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Things have changed quite a bit between dnf4 and dnf5. So, unless we have something that works across the board, I'd prefer to keep it this way. I pulled this from packit project's own TMT config btw.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, this actually changes from dnf4/dnf5. I just verified that and in dnf5 it would be
dnf config-manager setopt "copr:copr.fedorainfracloud.org:rhcontainerbot:podman-next.priority=1"
which would add few lines in
/etc/dnf/repos.override.d/99-config_manager.repo
[copr:copr.fedorainfracloud.org:rhcontainerbot:podman-next]
priority=1
different command, different file: I am good with sed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so LGTM!
Merging.. |
See individual commits for details.
Summary by Sourcery
Tests: