Project

General

Profile

Actions

coordination #161168

open

[epic] Support hooks for obs-sync plugin

Added by szarate 7 months ago. Updated 5 days ago.

Status:
Blocked
Priority:
Normal
Assignee:
Category:
Feature requests
Start date:
2024-06-04
Due date:
% Done:

75%

Estimated time:
(Total: 0.00 h)

Description

Motivation

See Discussion in https://suse.slack.com/archives/C02CANHLANP/p1716882218853889 and #159828-9

In general there is the need to be able to hook into different stages of how OBS Sync plugin works, or an alternative solution that allows a release manager or maintenance coordinator (with help of QE) to dynamically select/alter the test variables and openqa cli parameters, using a script.

  • Main focus would be before and after the iso post is done, So that via hook, we could alter test schedules for a given build, based on the information contained by the assets (or other places where the owner of the hook has control)
  • before and after syncing assets is secondary, so that administrator/anybody else, can do fancy things if needed

Intent

The intention here is to be able to dynamically select a set of tests or jobgroups to include in the isos post based on information provided either by patchinfo or available in the obs/ibs repository. In the beginning, the support has to be enabled for o3 (i.e Tumbleweed, with @dimstar as a stakeholder)

 So, the requirement we would need from this tool is to read and parse the information from the staging repo (patchinfo) or information available in the obs project, add extra parameters to the isos post, for example `FOO=VAR` variable o _GROUP_ID depending on which packages are to be tested. This way, we can customize which set of tests are triggered for specific packages. e.g. trigger kernel-ltp tests for kernel updates and skip them otherwise (similar to metadata incident config in bot-ng). 

Acceptance criteria

Notes

Out of scope

  • Implementing actual hook scripts, other than the hello world example (reference). #161750

Subtasks 4 (1 open3 closed)

action #161876: hook script support for obs-sync plugin - multiple hook scriptsNew2024-06-04

Actions
action #161879: hook script support for obs-sync plugin - single hook script before "isos post" size:MResolvedmkittler2024-06-04

Actions
action #162515: [timeboxed:20h][spike solution] Adaptable product scheduling in openqa-trigger-from-obs size:SResolvedybonatakis2024-06-19

Actions
action #164388: [timeboxed:20h][spike solution] Adaptable product scheduling in openqa-trigger-from-obs - take 2Rejectedokurz2024-06-19

Actions
Actions

Also available in: Atom PDF