action #118351
[openQA] clone a job but read schedule from custom git branch
0%
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
History
#2
Updated by amanzini 4 months ago
concrete example:
- I modified a JSON schedule in my branch https://gitlab.suse.de/amanzini/osd-sle15-security/-/tree/poo116176 , by altering some variables.
- Now I want to clone an OSD job, but running my schedule instead of the original.
Can I use the SCHEDULE env var in the clone command with a custom gitref ?
#4
Updated by cdywan 4 months ago
- Related to action #116176: [security][fips] test fails in windows_network_setup added
#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?