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

pkg: fix deb package building and extend CI #183

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

muzarski
Copy link
Collaborator

@muzarski muzarski commented Oct 2, 2024

Fixed an issue that occurred during deb packages build.

Extended CI by pkg build checks - after future changes, we want to make sure that building packages still works as expected.
In CI, I included builds for 4 distributions (that we've chosen for recent release):

  • fedora 40 (rpm)
  • rocky 9 (rpm)
  • ubuntu jammy (deb)
  • ubuntu noble (deb)

Please, let me know if I should include builds for some other distros as well.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • PR description sums up the changes and reasons why they should be introduced.
  • [ ] I have implemented Rust unit tests for the features/changes introduced.
  • [ ] I have enabled appropriate tests in .github/workflows/build.yml in gtest_filter.
  • [ ] I have enabled appropriate tests in .github/workflows/cassandra.yml in gtest_filter.

When building debian packages a lot of errors occur.
After investigation, it seems that happens due to
`dh` (debhelpers, see https://manpages.debian.org/testing/debhelper/dh.1.en.html)
treating the top-level Makefile as build tool for some steps.

The top-level Makefile was created only for testing/CI purposes.
When building packages, we should make use of cmake - this is exactly
what this commit does.
@muzarski muzarski force-pushed the fix-pkg-dh-buildsystem branch 10 times, most recently from 53884b7 to b7edf31 Compare October 2, 2024 17:43
@muzarski muzarski marked this pull request as draft October 2, 2024 17:44
@muzarski muzarski force-pushed the fix-pkg-dh-buildsystem branch 8 times, most recently from b2a2d6a to 1fd54cf Compare October 2, 2024 18:31
@muzarski muzarski self-assigned this Oct 2, 2024
@muzarski muzarski added this to the 0.2 milestone Oct 2, 2024
Since changes such as introducing a top-level Makefile
can cause a failure during building packages, we will extend
our CI to test that we can successfully build packages
after introducing some changes in the future.
@muzarski muzarski marked this pull request as ready for review October 2, 2024 19:45
@muzarski muzarski mentioned this pull request Oct 3, 2024
@muzarski muzarski merged commit c1eb4d0 into scylladb:master Oct 3, 2024
11 checks passed
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.

3 participants