Skip to content
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

Migrate from rpkg to packit as rpkg is not available on CentOS Stream 9 #1120

Merged
merged 3 commits into from
Jun 7, 2023

Conversation

jiridanek
Copy link
Contributor

@jiridanek jiridanek commented Jun 6, 2023

I cannot simply change CentOS image from 8 to 9, because rpkg does not have packages for CentOS 9. That means upgrading to packit is required. See

and the links there for why packit is so awesome. (Mostly because it is the new hot thing that is getting tender love and care, as opposed to the older approaches that are left to rot.)

This PR is a lightweight version of

because it only uses packit to do local build and does not use the CI features.

edit: Looks like packit will run the CI tests on its own by default... well, that is nice bonus, right?

@jiridanek jiridanek added this to the 2.5.0 milestone Jun 6, 2023
@jiridanek jiridanek requested review from kgiusti and ganeshmurthy June 6, 2023 19:59
@jiridanek jiridanek self-assigned this Jun 6, 2023
fixup remove changelog

fixup remove changelog

fixup remove changelog

fixup remove changelog

fixup remove changelog

fixup remove changelog

fixup remove changelog

fixup remove changelog

fixup remove changelog

fixup remove changelog

fixup remove changelog

fixup remove changelog

Migrate from rpkg to packit as rpkg is not available on centos 9

Migrate from rpkg to packit as rpkg is not available on centos 9

Build RPM on CentOS Stream 9 (build on CentOS 8 fails)

Build RPM on CentOS Stream 9 (build on CentOS 8 fails)

Build RPM on CentOS Stream 9 (build on CentOS 8 fails)

Build RPM on CentOS Stream 9 (build on CentOS 8 fails)

Build RPM on CentOS Stream 9 (build on CentOS 8 fails)

Build RPM on CentOS Stream 9 (build on CentOS 8 fails)
@codecov
Copy link

codecov bot commented Jun 6, 2023

Codecov Report

Merging #1120 (9473256) into main (6055594) will increase coverage by 5.41%.
The diff coverage is 75.00%.

❗ Current head 9473256 differs from pull request most recent head d6c3b49. Consider uploading reports for the commit d6c3b49 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1120      +/-   ##
==========================================
+ Coverage   66.50%   71.91%   +5.41%     
==========================================
  Files         318      208     -110     
  Lines       64589    51971   -12618     
  Branches        0     5574    +5574     
==========================================
- Hits        42954    37377    -5577     
+ Misses      21635    12009    -9626     
- Partials        0     2585    +2585     
Flag Coverage Δ
pysystemtests 82.61% <ø> (+16.10%) ⬆️
pyunittests 54.51% <ø> (?)
systemtests 61.14% <69.44%> (?)
unittests 27.19% <30.55%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
calculator 30.80% <30.55%> (∅)
systemtests 68.32% <69.44%> (+1.82%) ⬆️

@jiridanek jiridanek force-pushed the jd_2023_06_06_rpm_centos9 branch from 9473256 to 0430f72 Compare June 6, 2023 20:08
@jiridanek jiridanek changed the title Migrate from rpkg to packit as rpkg is not available on centos 9 Migrate from rpkg to packit as rpkg is not available on CentOS Stream 9 Jun 7, 2023
@jiridanek jiridanek merged commit 8bb17f7 into skupperproject:main Jun 7, 2023
@jiridanek jiridanek deleted the jd_2023_06_06_rpm_centos9 branch June 7, 2023 13:27
kgiusti pushed a commit to kgiusti/skupper-router that referenced this pull request Jul 17, 2023
… 9 (skupperproject#1120)

* use %{python3_sitelib}/ because listing individual files inside fails on CentOS/Fedora differences

* build RPM on CentOS Stream 9 (build on CentOS 8 fails)

* add openssl RPM dependency for running tests

(cherry picked from commit 8bb17f7)
kgiusti pushed a commit that referenced this pull request Jul 20, 2023
… 9 (#1120)

* use %{python3_sitelib}/ because listing individual files inside fails on CentOS/Fedora differences

* build RPM on CentOS Stream 9 (build on CentOS 8 fails)

* add openssl RPM dependency for running tests

(cherry picked from commit 8bb17f7)
jiridanek added a commit to jiridanek/skupper-router that referenced this pull request Sep 19, 2023
… 9 (skupperproject#1120)

* use %{python3_sitelib}/ because listing individual files inside fails on CentOS/Fedora differences

* build RPM on CentOS Stream 9 (build on CentOS 8 fails)

* add openssl RPM dependency for running tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants