action #97847
closedFeature request: Ability for bot-ng to schedule test runs on custom openQA instance
0%
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
Updated by VANASTASIADIS over 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.
Updated by osukup over 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
Updated by ph03nix over 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.
Updated by osukup over 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
Updated by osukup over 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