Project

General

Profile

Actions

action #168013

closed

coordination #58184: [saga][epic][use case] full version control awareness within openQA

coordination #152847: [epic] version control awareness within openQA for test distributions

Only make one api call in openqa-advanced-retrigger-jobs

Added by tinita 2 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2024-10-09
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Currently openqa-advanced-retrigger-jobs makes one API call to /jobs/id/restart per job.
The /jobs/restart endpoint can already handle multiple jobs. We should use that.
Especially now since we trigger a git_clone for every restart event, see #164898.

Also we can now use the new comment feature, so also the optional comment API call can be replaced.

Suggestions

  • Improve script in general while implementing this, e.g. offer helpful output in dry_run mode what SQL would be executed

Related issues 2 (1 open1 closed)

Related to openQA Project (public) - action #164898: Replace fetchneedles with a minion job for the regular update of git repos size:MResolvedtinita

Actions
Related to openQA Project (public) - action #160889: [retro] Scripts used to retrigger jobs are difficult to use size:SWorkableokurz2024-05-24

Actions
Actions #1

Updated by tinita 2 months ago

  • Related to action #164898: Replace fetchneedles with a minion job for the regular update of git repos size:M added
Actions #2

Updated by tinita 2 months ago

  • Description updated (diff)
Actions #3

Updated by tinita 2 months ago

  • Description updated (diff)
Actions #4

Updated by okurz 2 months ago

  • Target version set to future
Actions #5

Updated by okurz 2 months ago

  • Target version changed from future to Ready
Actions #6

Updated by okurz 2 months ago

  • Parent task set to #152847
Actions #7

Updated by mkittler 2 months ago

  • Status changed from New to In Progress
  • Assignee set to mkittler
Actions #8

Updated by mkittler 2 months ago

  • Status changed from In Progress to Feedback
Actions #9

Updated by tinita 2 months ago

  • Related to action #160889: [retro] Scripts used to retrigger jobs are difficult to use size:S added
Actions #10

Updated by okurz 2 months ago

  • Status changed from Feedback to Resolved

https://github.com/os-autoinst/scripts/pull/348 merged. I guess that should suffice

Actions #11

Updated by tinita 2 months ago

I guess I will do the other improvements myself

Actions

Also available in: Atom PDF