Files
autogits/obs-staging-bot
2025-10-02 17:40:00 +02:00
..
.
2024-07-07 21:12:40 +02:00
.
2024-07-07 21:12:40 +02:00
wip
2025-05-16 17:57:02 +02:00
.
2024-07-18 16:43:27 +02:00
2025-10-02 17:40:00 +02:00

OBS Staging Bot

Build a PR against a ProjectGit, if review is requested.

Areas of Responsibility

  • Monitors Notification API in Gitea for review requests
  • Reviews Package build results in OBS for all changed packages in ProjectGit PR

Target Usage

Any project (devel, etc) that accepts PR and wants build results

Configuration File

Bot reads staging.config from the project git or the PR to the project git. It's a JSON file with following syntax

{
  "ObsProject": "home:foo:project",
  "StagingProject": "home:foo:project:staging",
  "QA": [
    {
      "Name": "ProjectBuild",
      "Origin": "home:foo:product:images"
    }
  ]
}
  • ObsProject: (required) Project where the base project is built. Builds in this project will be used to compare to builds based on sources from the PR
  • StagingProject: template project that will be used as template for the staging project. Omitting this will use the ObsProject repositories to create the staging. Staging project will be created under the template, or in the bot's home directory if not specified.
  • QA: set of projects to build ontop of the binaries built in staging.