Project

General

Profile

Actions

action #162899

closed

QA (public) - coordination #162890: [saga][epic] feature discoverability

coordination #162896: [epic] Job triggering on jobless openQA instances

[timeboxed:20h][spike solution] Trigger os-autoinst-distri-example tests from fresh openQA instances on a "+" button on the index page size:M

Added by okurz 6 months ago. Updated 2 months ago.

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

0%

Estimated time:

Description

Goals

  • G1: Have a discoverable way for newcomers how to trigger openQA jobs
  • G2: We know what the requirements or challenges here about triggering on the webUI itself, e.g. user permissions, and such

Suggestions


Related issues 2 (1 open1 closed)

Precedes openQA Project (public) - action #166610: Trigger custom tests from openQA instances on a "+" button on the index pageNew2024-06-272024-06-27

Actions
Copied to openQA Project (public) - action #166658: Trigger os-autoinst-distri-example tests from fresh openQA instances via a button on the index page size:SResolvedmkittler2024-10-02

Actions
Actions #1

Updated by okurz 5 months ago

  • Target version changed from Tools - Next to Ready
Actions #2

Updated by livdywan 5 months ago

  • Subject changed from [timeboxed:20h][spike solution] Trigger os-autoinst-distri-example tests from fresh openQA instances on a "+" button on the index page to [timeboxed:20h][spike solution] Trigger os-autoinst-distri-example tests from fresh openQA instances on a "+" button on the index page size:M
  • Status changed from New to Workable
Actions #3

Updated by ybonatakis 4 months ago

  • Assignee set to ybonatakis
Actions #4

Updated by ybonatakis 4 months ago

  • Status changed from Workable to In Progress
Actions #5

Updated by livdywan 4 months ago

As discussed briefly in the daily we probably want API calls from the web UI analoguous to what openqa-cli does which is just a wrapper around that.

This search gives you existing uses of "ajax" POST calls:
https://github.com/search?q=repo%3Aos-autoinst%2FopenQA+path%3A%2F%5Eassets%5C%2Fjavascripts%5C%2F%2F+POST&type=code or git grep POST assets/javascripts locally

Actions #6

Updated by openqa_review 4 months ago

  • Due date set to 2024-09-17

Setting due date based on mean cycle time of SUSE QE Tools

Actions #7

Updated by livdywan 4 months ago · Edited

Action items:

  • Clean up the proof of concept a little (typos, js in its own file) and propose a draft PR
  • Clarify G2 - as it seems there's no special considerations you can probably just say that nothing special is needed here as it simply uses requests like we already do elsewhere?
  • Take a screenshot and put it in the PR for easy demonstration of what you came up with
  • File a follow-up ticket for the implementation (not timeboxed, not spike)
Actions #9

Updated by ybonatakis 3 months ago

  • Status changed from In Progress to Feedback

livdywan wrote in #note-7:

Action items:

  • Clean up the proof of concept a little (typos, js in its own file) and propose a draft PR

I cleanup a bit. Mainly js and html stuff

  • Clarify G2 - as it seems there's no special considerations you can probably just say that nothing special is needed here as it simply uses requests like we already do elsewhere?

AFAIU the user doesnt need any particular requirements. Once he/she log in, he/she should be able to run the os-autoinst-distri-example (or any other). I was able to run the job as admin and as operator.
I run test from main repo as well as from other branch https://github.com/os-autoinst/os-autoinst-distri-example#training

  • Take a screenshot and put it in the PR for easy demonstration of what you came up with

Done. A small mp4 video

  • File a follow-up ticket for the implementation (not timeboxed, not spike)

TBD

Actions #10

Updated by ybonatakis 3 months ago · Edited

#166610 new followup ticket to bring this in reality

Actions #11

Updated by ybonatakis 3 months ago

  • Precedes action #166610: Trigger custom tests from openQA instances on a "+" button on the index page added
Actions #12

Updated by ybonatakis 3 months ago

  • Status changed from Feedback to Resolved

I provided a PR with suggestions and created a follow up issue. I dont see any crazy challenges in implemented this. ofc considering we want to replace jqueries the implementation might wait to avoid conflicts.
I also found this feature useful, as i used it while I was working in backend and I could take advantage of it and run a job in a sensible, quick and easy way

PR has unresolved feedback which might be considered for the actual implementation. I will have to respond on those

Actions #13

Updated by okurz 3 months ago

  • Copied to action #166658: Trigger os-autoinst-distri-example tests from fresh openQA instances via a button on the index page size:S added
Actions #14

Updated by okurz 2 months ago

  • Due date deleted (2024-09-17)
Actions

Also available in: Atom PDF