Follow up on #2654#2687
Conversation
|
Btw, this will not affect centos stream/rhel as Packit isn't used for updates there. |
|
I was more worried about |
|
@mtrmac Ack, sure thing. If it helps ... .. no packages listed. Also, see the CI jobs on this dist-git PR for corresponding downstream tests: https://src.fedoraproject.org/rpms/skopeo/pull-request/83# where we removed dependency on skopeo-tests in TMT jobs. That diff isn't dependent on skopeo-tests anymore for CI jobs. The So, I'd say we're fine. |
|
I'm more fond of skopeo-tests still being shipped as (meta)package - the reason is simple - if we ever decide to run a different test suite than TMT we need to reintroduce it again - or manually rewrite dependencies again into a new test framework with every framework change. The existence of skopeo-tests just takes care of it independently. |
ya, metapackage, to confirm meaning something that only installs the test dependencies sounds like a great thing. I can do that and skip the test files installation. |
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
The sole purpose of skopeo-tests subpackage was to make system test files readily available for CI on bodhi updates. Given we can reuse test config from upstream via TMT, there's no reason to continue shipping the test files. This subpackage can be repurposed to only install test dependencies. Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
With TMT being able to fetch and run tests using git url and ref, there's no need to sync files on every propose_downstream Packit action. Removing files_to_sync should be safe as we only need to sync `.packit.yaml` which is part of Packit's default behavior already. Other files like gating.yaml only need to exist downstream and shouldn't need any frequent manual changes, so we can remove those from upstream and packit file-sync too. New setup: We use a `prepare-files` action that will operate only on `plans/main.fmf` in downstream dist-git and update the ref with the tag from the latest release. Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
|
rebased on main, no code changes. |
|
Merging.. |
Please review and merge #2654 first if that makes things simpler.
See individual commits. This makes Packit config and process simpler. Reusability of TMT tests is also much easier:
See: https://src.fedoraproject.org/rpms/skopeo/pull-request/83# and containers/container-libs#287