87bf3cc
@@ -0,0 +1,15 @@
+ --- !Policy
+ product_versions:
+ - fedora-*
Does this work for EPEL as well? I guess we could just try and see...
Good question. I opened testing PR to fix tests on EPEL 8 and if that works, we can test the gating.
Also I've seen this possibly related issue which doesn't answer the question in a satisfying manner but there's hope.
+ decision_context: bodhi_update_push_testing
+ subject_type: koji_build
+ rules:
+ - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
+
+ decision_context: bodhi_update_push_stable
as described in https://docs.fedoraproject.org/en-US/ci/gating/
Yes, please!
Before we can go ahead with this, I think we first need to fix the tests. They're just an outdated attempt from a long time ago (in a galaxy far away...). Especially the socket activation is totally irrelevant now.
Ideally, the tests/tests.yml would be very similar to our upstream test suite: https://gitlab.nic.cz/knot/knot-resolver/-/blob/master/distro/tests/knot-resolver-pkgtest.yaml without the repository configuration ofc. But the basic checks could be the same. I'm not sure how to keep these in sync, but even manually is a good start.
Oh yes, this is just a test of existing tests... metatest? :)
I'm looking at howto update the tests (from 2018) and the docs as well as all the packages I've looked into (for example this) use standard-test-basic role which runs individual tests as commands and when you want multiple you're supposed to drop a shell script into scripts/.
standard-test-basic
scripts/
I could easily rewrite current ansible tests into small shell scripts as suggested to get basic functionality but I wonder about reuse of upstream tests you mentioned...
I proposed a simple fix for existing tests in PR #4 .
With PR #4 merged, let's see what [citest] does here and maybe we can try enabling.
Well, EPEL doesn't seem to work, but at least we can cover Fedora for now.
Pull-Request has been merged by tkrizek
Does this work for EPEL as well? I guess we could just try and see...