Project

General

Profile

Actions

coordination #161168

open

[epic] Support hooks for obs-sync plugin

Added by szarate 3 months ago. Updated 23 days ago.

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

50%

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 (2 open2 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 2Newokurz2024-06-19

Actions
Actions #1

Updated by szarate 3 months ago

  • Description updated (diff)
Actions #2

Updated by okurz 3 months ago

  • Target version set to future

@szarate is this something that QE Core should work on with better understanding of both https://github.com/os-autoinst/openqa-trigger-from-obs/ as well as the requirements?

Actions #3

Updated by szarate 3 months ago

okurz wrote in #note-2:

@szarate is this something that QE Core should work on with better understanding of both https://github.com/os-autoinst/openqa-trigger-from-obs/ as well as the requirements?

No, we're splitting the work: Tools will work on adding the support, and we (qe-core) will work on implementing the hooks.

Actions #4

Updated by okurz 2 months ago

  • Description updated (diff)
Actions #5

Updated by szarate 2 months ago

  • Subtask #161750 added
Actions #6

Updated by okurz 2 months ago

  • Description updated (diff)
  • Target version changed from future to Ready

Clarified a little bit further bit hrommel1 and szarate. Adding to the tools team backlog and reducing prio accordingly to "Normal" which according to our SLOs in https://progress.opensuse.org/projects/qa/wiki/Tools#SLOs-service-level-objectives-internal means we should pick up the ticket within 1 month.

Actions #7

Updated by okurz 2 months ago

  • Subtask deleted (#161750)
Actions #8

Updated by szarate 2 months ago

  • Description updated (diff)
  • Target version changed from Ready to future
Actions #9

Updated by szarate 2 months ago

  • Description updated (diff)
Actions #10

Updated by szarate 2 months ago

  • Target version changed from future to Ready
Actions #11

Updated by szarate 2 months ago

  • Description updated (diff)
Actions #12

Updated by szarate 2 months ago

  • Description updated (diff)
Actions #13

Updated by szarate 2 months ago

  • Description updated (diff)
Actions #14

Updated by szarate 2 months ago

  • Description updated (diff)
Actions #15

Updated by szarate 2 months ago

  • Description updated (diff)
Actions #16

Updated by okurz 2 months ago

  • Copied to action #161876: hook script support for obs-sync plugin - multiple hook scripts added
Actions #17

Updated by okurz 2 months ago

  • Tracker changed from action to coordination
  • Subject changed from Support hooks for obs-sync plugin to [epic] Support hooks for obs-sync plugin
  • Assignee set to okurz
Actions #18

Updated by okurz 2 months ago

  • Subtask #161876 added
Actions #19

Updated by okurz 2 months ago

  • Subtask #161879 added
Actions #20

Updated by okurz 2 months ago

  • Status changed from New to Blocked
Actions #21

Updated by mkittler about 2 months ago

  • Subtask #162515 added
Actions #22

Updated by okurz 23 days ago

  • Subtask #164388 added
Actions #23

Updated by okurz 23 days ago

  • Target version changed from Ready to Tools - Next

Created new #164388 for "take 2". I asked in https://suse.slack.com/archives/C02CANHLANP/p1721807401639009 #eng-testing for clarification:

So regarding https://progress.opensuse.org/issues/161168 , especially to …): We tried with https://progress.opensuse.org/issues/162515 but failed to come up with a viable proof of concept. Before you can expect anything useful from the tools team we need to get out of step 1 of https://miro.medium.com/v2/resize:fit:2800/0*K9vXpKMfe6hNQQnw.png

Actions

Also available in: Atom PDF