You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having per-template schemas adds a bit more assurance to users of tower-as-code, however it also adds a bunch of complexity. For example, having to know about yamale.
I suggest we drop schemas for individual templates and keep around just a global schema for the template objects. This way users won't have to touch it, but will still have the option to extend if they really want to.
If I understand your proposal correctly, you want to have one schema for everything in the derived repository. Yes, it would reduce the setup complexity and other problems too, but you will have to have for each different schema specific repository.
Currently, the implementation support for each glob-based-pattern custom schema, so you can store in one repository divergent assets with a specific schema. You need to change (customize) the CI configuration file only. For instance, you are able to store various types of assets with type specific schema in one repository:
Your case is actually supported as well as the second case - storing all-in-one repository. I agree with the large complexity in this case. This could be discussed and we will do the best for this case.
In that case, it would be useful to have schemas for the asset types (templates, inventories, credentials, projects, ...) and maybe some known asset relations (like roles assigned to an asset or templates which are part of a workflow template).
Having per-template schemas adds a bit more assurance to users of tower-as-code, however it also adds a bunch of complexity. For example, having to know about yamale.
I suggest we drop schemas for individual templates and keep around just a global schema for the template objects. This way users won't have to touch it, but will still have the option to extend if they really want to.
CC: @europ @fpob
The text was updated successfully, but these errors were encountered: