Project

General

Profile

Actions

action #97847

closed

Feature request: Ability for bot-ng to schedule test runs on custom openQA instance

Added by ph03nix about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2021-09-01
Due date:
% Done:

0%

Estimated time:

Description

User story

In order to test non-trivial changes on maintenance job groups we could previously use the openQABot to run a custom metadata definition against our own openQA development instances. This was very useful, because it reveals issues soon and one has not to wait for the next scheduling round to test the changes (and run into trouble because something broke).

This however is not possible anymore with the new QA bot. We need this feature, otherwise the implementation of new scenarios is slowed down drastically, as changes can not be tested outside of the production environment (OSD) and can only happen at the typical scheduling tasks (i.e. 1 scheduling round per day).

Acceptance criteria

  • Add the ability to bot-ng to schedule test runs on a custom openQA instance (e.g. configurable with the --remote) parameter
  • Remove the necessity of the QAM Dashboard token for such runs to prevent users from accidentally updating the dashboard with non-production data

Further details

I've already drafted a basic implementation in a merge request, Ondrej however mentioned that this will not work due to editiong conflicts with the QEM Dashboard

Actions #1

Updated by ph03nix about 3 years ago

  • Project changed from 119 to QA
Actions #2

Updated by ph03nix about 3 years ago

  • Description updated (diff)
Actions #3

Updated by VANASTASIADIS about 3 years ago

  • Status changed from New to Workable
  • Target version set to Ready

After talking with Felix, I am pushing this in the backlog, as it seems to be a major blocker in testing new scenarios.

Actions #4

Updated by osukup about 3 years ago

  • Assignee set to osukup
Actions #5

Updated by osukup about 3 years ago

https://gitlab.suse.de/qa-maintenance/bot-ng/-/merge_requests/17 , dashboard token is still required but it will not be used as post/put/update requests are now behind condition

Actions #6

Updated by ph03nix about 3 years ago

Thanks Ondrej, this is really great. For the dashboard, I filed https://gitlab.suse.de/opensuse/qem-dashboard/-/issues/15 last week to open the API for those purposes, but it faces some resistance. Don't know if this will be ever possible.

Actions #7

Updated by osukup about 3 years ago

  • Status changed from Workable to Feedback
Actions #8

Updated by osukup about 3 years ago

Ah, there is small problem --> bot still needs token because data from dashboard are mandatory :(

only solution for this part is https://gitlab.suse.de/opensuse/qem-dashboard/-/issues/15

Actions #9

Updated by osukup about 3 years ago

osukup wrote:

Ah, there is small problem --> bot still needs token because data from dashboard are mandatory :(

only solution for this part is https://gitlab.suse.de/opensuse/qem-dashboard/-/issues/15

read-only part of dashboard api is now without authorization --> any string works as token

Actions #10

Updated by osukup about 3 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF