Skip to content

Packaging: automate build in OBS

Tomas Krizek requested to merge obs into master

This MR automates package builds in home:CZ-NIC:knot-dns-devel. It is currently configured to trigger a build when something is merged into the master branch.

There is a change in the prerelease version format, which can now only contain alphanumeric character and dots (see first commit for details).

To be able to automate builds, I've added the downstream packaging files from Fedora, Debian and Arch into upstream. These files (tracked in distro/ are currently very similar if not the same as their downstream origin. However, these files are bound to change in the future. I propose the following policy:

  • try to stay as close to the downstream files as possible (fedora/rawhide, sid)
  • rpm/arch files - these are pretty simple to keep up to date and I plan to handle this myself
  • debian -I don't have any plan on how to keep these updated myself. However, I'll be reaching out the debian dns packaging group once we merge this, to notify them of this effort and perhaps they'll join in.

I suggest you also use the provided scripts to test & release Knot DNS to home:CZ-NIC:knot-dns-latest. See the instructions in scripts/build-in-obs.sh and distro/tests/README.md. In knot-resolver, we've made these steps part of our release process.

Finally, it's up for consideration whether you want to backport this to 2.6 as well. Unless there are many more 2.6.x versions coming, it might be better to delay the official announcement of home:CZ-NIC:knot-dns-latest until 2.7.0.

Edited by Daniel Salzman

Merge request reports