Project

General

Profile

action #118351

[openQA] clone a job but read schedule from custom git branch

Added by amanzini 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Support
Target version:
Start date:
2022-10-12
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

We have openqa-clone-custom-git-refspec that works great for testing code on custom branches and running jobs on OSD/O3.
Would be nice to have a similar option or feature to clone a job but pointing to a custom json or yaml gitref repo schedule, to test changes on variables and settings.


Related issues

Related to openQA Tests - action #116176: [security][fips] test fails in windows_network_setupResolved

History

#1 Updated by cdywan 4 months ago

Are you aware that you can specify the schedule via the SCHEDULE variable? Can you perhaps give a more concrete example?

#2 Updated by amanzini 4 months ago

concrete example:

Can I use the SCHEDULE env var in the clone command with a custom gitref ?

#3 Updated by cdywan 4 months ago

  • Project changed from openQA Project to openQA Tests

I guess what you want is to override YAML_SCHEDULE from a branch? That's not an openQA feature but it's implemented in the test distribution.

#4 Updated by cdywan 4 months ago

  • Related to action #116176: [security][fips] test fails in windows_network_setup added

#5 Updated by amanzini 4 months ago

  • Subject changed from [openQA] clone a job but reading schedule from custom git branch to [openQA] clone a job but read schedule from custom git branch

#6 Updated by okurz 3 months ago

  • Category set to Enhancement to existing tests

#7 Updated by szarate 3 months ago

  • Project changed from openQA Tests to openQA Project
  • Category changed from Enhancement to existing tests to Feature requests

I guess what you want is to override YAML_SCHEDULE from a branch? That's not an openQA feature but it's implemented in the test distribution.

There's #77071 but that's for that conversation

Andrea, I think that in this case, you're better off by commiting the altered schedule in your fork, as already mentioned, or look how to implement it yourself for the time being.

Oli, if you don't see a valid feature request, please reject the ticket, the tests don't have anything to do with this. The link should suffice when analizing #77071

#8 Updated by okurz 3 months ago

  • Category changed from Feature requests to Support
  • Status changed from New to Feedback
  • Assignee set to okurz
  • Target version set to Ready

Reading the ticket again I wonder where this needs any new feature at all. Andrea, you can overwrite any test variable on cloning also when cloning within one instance. So assuming that a YAML schedule file is available in a repo it's also possible to specify and use that schedule. If of course you are adding a new schedule file then specify your repo to clone and additionally point to your new schedule within. Does this work for you?

#9 Updated by amanzini 3 months ago

  • Status changed from Feedback to Resolved

yes, assuming that I can point YAML_SCHEDULE to a file in my own branch, I guess that can work; probably this feature needs only to be better documented. Thanks!

Also available in: Atom PDF