That way a source merge of any product is not triggering rebuilds in pull request QA sub projects. We may need a config option here to enable/disable this.
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.