Hello folks,

so far, the zuulV3 integration doesn't really support tenant, all the
configuration is done in a single tenant. Though after some reflection,
it seems like we could really benefit from this new tenant concept.


Basically a zuulV3 tenant is a collection of untrusted project that are
bound to a config repository holding the secrets and shared jobs.
The status page doesn't support tenant well, but it will probably be
able to provide a status page per tenant.


Regarding the Software Factory resources, it seems like we could declare
tenant config repository and update the resources engine so that it
clone those repos to collect there resources. For example we would have:

* config/resources/tenants.yaml:
resources:
 projects:
   Software-Factory:
     project-config: config-sf
   DCI:
     project-config: config-dci
   SkyDive:
     project-config: github.com/skydive-project/config

* config-sf, config-dci and skydive-project/config: would be a copy of
 the config repo with only the needed resources.

* then the config-update job would now do this:
 for each project:
   clone the project-config
   load the resources from the project-config
   generate the zuulv3 config
   ...

This would enable a much more simple process to add/remove projects.
For example, we could have a template project-config to generate
everything a project usualy needs.

What do you think?

Regards
-Tristan

Attachment: pgp5Qeh6JiLkV.pgp
Description: PGP signature

_______________________________________________
Softwarefactory-dev mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/softwarefactory-dev

Reply via email to