-
Notifications
You must be signed in to change notification settings - Fork 698
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
Introduce /rpmbuild-ctest-fedora
CI for all Fedora versions
#12176
Conversation
🤖 A k8s content image for this PR is available at: Click here to see how to deploy itIf you alread have Compliance Operator deployed: Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and: |
@mildas Is the no space left on deviceproblem caused by the fact that we build every SSG product on Fedora? |
@jan-cerny Yes, from what I've checked it seems so |
4a4f6dc
to
c9665a5
Compare
/packit build |
@mildas What needs to be done to move this PR a long? |
/packit build |
1 similar comment
/packit build |
@Mab879 Sorry, I completely forgot about this PR and didn't get notification about your ping. I will investigate what is going on with Fedora and try to fix it |
/rpmbuild-ctest-fedora
CI for all Fedora versions
Problem related to rpmbuild fixed in Contest and PR description updated. Now it's ready for merge. |
Code Climate has analyzed commit 373a9fb and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 59.5% (0.0% change). View more on Code Climate. |
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.
Thanks!
Description:
Re-introduce
rpmbuild-ctest
for all supported Fedora versions. The test takes srpm, builds it from sources, and runs ctest for all Fedora enabled products.rpmbuild-ctest
got necessary update related in RHSecurityCompliance/contest#224 Now, it installs recommended packages to enable more unit tests.Also improve TMT plan regexes to not match multiple profiles.
Before:
testing-farm:centos-stream-8-x86_64:/hardening/host-os/ansible/cis - matches all
cis
profiles because of regex matchAfter:
testing-farm:centos-stream-8-x86_64:/hardening/host-os/ansible/cis - matches only
cis
profile as intendedRationale:
Recently, one of our unit tests was failing on Fedora Rawhide and it was not caught by CI.
Review Hints:
See Testing Farm
/rpmbuild-ctest-fedora
Fedora jobs.