-
Notifications
You must be signed in to change notification settings - Fork 21
prowgen multiple targets #79
Comments
As discussed on Slack, "jobs that require multiple targets" should not be a thing. If there is a dependency between targets, ci-operator should be able to compute it from its dependency graph - that's one of its raisons d'etre. Prowgen follows ci-operator concepts. The right place to fix this is to make ci-operator aware of this dependency. |
I'm having a hard time imagining how ci-operator can be made aware of this :/ |
I can currently add these jobs and ci-operator can deal with it. But I cant commit files because prowgen cleans the targets. So it looks like prowgen issue to me. |
You could create a job with multiple targets easily - just hand-craft a job that is not generated and Prowgen (or better, its |
@petr-muller im happy to do this, but I still need a way to pass default generated jobs via rehearse jobs: |
@mjudeikis The issue where rehearsal jobs were blocking in |
Thanks |
We just did this, but now our job config file is a mess... we have |
I believe we need to improve Can you please file an issue on https://github.com/openshift/ci-operator, describe there how your targets are dependent and why, and maybe link these related issues there so we can record the context? Then we can close this one. |
Our jobs depends on multiple targets.
In example running job
X
it requires multiple targets to be ran for it:In this case
e2e-upgrade-v1.2
requires allimages
to be available, and templaterbac
to be available too. But prowgen when generating step for:Does not allow to all additional targets :/
The text was updated successfully, but these errors were encountered: