Project

General

Profile

Actions

action #118351

closed

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

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

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

0%

Estimated time:

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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by livdywan over 1 year ago

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

Actions #2

Updated by amanzini over 1 year ago

concrete example:

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

Actions #3

Updated by livdywan over 1 year 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.

Actions #4

Updated by livdywan over 1 year ago

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

Updated by amanzini over 1 year 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
Actions #6

Updated by okurz over 1 year ago

  • Category set to Enhancement to existing tests
Actions #7

Updated by szarate over 1 year 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

Actions #8

Updated by okurz over 1 year 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?

Actions #9

Updated by amanzini over 1 year 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!

Actions

Also available in: Atom PDF