Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing settings only for specific test when cloning jobs #5385

Merged
merged 3 commits into from
Dec 7, 2023

Conversation

Martchus
Copy link
Contributor

@Martchus Martchus commented Dec 5, 2023

This is especially useful when cloning MM clusters and specific jobs are supposed to run on specific hosts (e.g. to test connectivity between specific hosts).

Related ticket: https://progress.opensuse.org/issues/151310

lib/OpenQA/Script/CloneJob.pm Outdated Show resolved Hide resolved
script/openqa-clone-job Outdated Show resolved Hide resolved
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c29c64c) 98.36% compared to head (7dbb80c) 98.36%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5385   +/-   ##
=======================================
  Coverage   98.36%   98.36%           
=======================================
  Files         389      389           
  Lines       37493    37494    +1     
=======================================
+ Hits        36879    36882    +3     
+ Misses        614      612    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This is especially useful when cloning MM clusters and specific jobs are
supposed to run on specific hosts (e.g. to test connectivity between
specific hosts).

Related ticket: https://progress.opensuse.org/issues/151310
* Avoid printing line number so this doesn't look like a bug in the script
  itself
* Make it clear that this is about a command-line argument and that it is
  not a valid setting (instead of just saying "does not match")
As discussed on the related PR this has the advantage of being in-line with
the "POST jobs"-API. Even though these specifications have a slightly
different meaning in these places it still makes sense to use the same
syntax so users don't need to remember which syntax to use where.
@mergify mergify bot merged commit db07886 into os-autoinst:master Dec 7, 2023
36 checks passed
@Martchus Martchus deleted the clone-scope branch December 7, 2023 12:29
os-autoinst-bot pushed a commit to os-autoinst-bot/openQA that referenced this pull request Dec 8, 2023
commit db07886
Merge: f2e8217 7dbb80c
Author:     mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 7 11:58:55 2023 +0000
Commit:     GitHub <[email protected]>
CommitDate: Thu Dec 7 11:58:55 2023 +0000

    Merge pull request os-autoinst#5385 from Martchus/clone-scope

    Allow passing settings only for specific test when cloning jobs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants