Skip to content

ci: automate OBS builds and packaging tests

Tomas Krizek requested to merge distrotests into master
  • Schedules can be used to build packages in OBS (knot-dns-devel, knot-dns-testing) and execute packaging tests on them
    • edit to select target branch and then press the play button
    • pipeline will be created, which will trigger OBS build
    • once it is built, packaging tests are executed (installation of package from OBS + test with simple zonefile)
    • build for knot-dns-devel is executed nightly; don't forget to switch it back to master branch in case you use it for something else
  • Environments track which build are deployed in OBS
  • I didn't automate knot-dns-latest or knot-dns OBS repos to avoid accidental deployment of incorrect version - I plan to keep releasing these manually for now

Example of successful run: https://gitlab.labs.nic.cz/knot/knot-dns/pipelines/49745

Merge request reports