Project

General

Profile

Actions

action #128360

closed

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

coordination #48641: [epic] Trigger openQA tests in pull requests of any product github pull request

Supporting fork based development model size:M

Added by okurz over 1 year ago. Updated over 1 year ago.

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

0%

Estimated time:

Description

Supporting fork based development model

Motivation

We found a nice way to trigger openQA tests within GitHub workflows but that needs openQA credentials which are for example for os-autoinst-distri-openQA only provided in the base repository but not available to forks. We must find a way to support the fork based development model, what people usually do in GitHub.

Acceptance criteria

  • AC1: PRs like https://github.com/os-autoinst/os-autoinst-distri-example/pull/19 can successfully execute openQA based CI checks.
  • AC2: The normal openQA cleanup strategy still applies, i.e. jobs are still cleaned up as normal
  • AC3: openqa.opensuse.org+os-autoinst-distri-example support this workflow from github fork repositories
  • AC4: Documentation covers the setup and use of this feature
  • AC5: The implementation is generally reusable for any openQA instance and any openQA test distribution

Suggestions

Out of scope

  • It does not actually matter which specific openQA jobs are triggered, just any that refers to the test distribution
  • It's ok if changes to scenario-definitions.yaml in the PR are not effective for the spawned jobs before merge

Related issues 3 (0 open3 closed)

Blocks openQA Project (public) - action #126950: [openQA-in-openQA] openQA tests in pull requests to github.com/os-autoinst/os-autoinst-distri-openQA/ size:MResolvedjbaier_cz2023-03-30

Actions
Copied from openQA Project (public) - action #127949: [spike][timeboxed:20h] Research native GitHub for running openQA tests as CI checks size:MResolvedmkittler2023-04-19

Actions
Copied to openQA Project (public) - action #129730: Adapt http://open.qa/docs/#_running_openqa_jobs_as_ci_checks for the use of github pull_request_target size:MResolvedmkittler

Actions
Actions

Also available in: Atom PDF