Closed benoitblanc closed 1 year ago
@pka the problem is to handle branch name, as it was done here https://github.com/qwc-services/qwc-config-generator/commit/505245954b93d5f59e04f56a3490882b440bd6f6
What is the best way to do it ? Environment variable JSON_SCHEMAS_VERSION
or an option in config-generator configuration ?
Fixed in 27806d4d (v2023.2-lts
, v2023.03.09
)
The schema-versions.json
is used during config generation to assign the same schema URLs to the $schema
headers in all generated service configs. This is always done, even if validate_schema
is false
.
Thanks !
With image
v2023.1-lts
, I have an error when I try to generate configuration from container with command:Here are the logs:
The problem is in
config_generator.py
when searching forschemas-versions.json
file in parent directory.I am also wondering if this step is needed when
validate_schema
isfalse
in tenantConfig file ? Is it not handled for now.I can not resolve this one by pushing a PR for now, but I'll try to do it in the next days if you can not. Please, just answer my previous question to know how to handle it :-).
Thanks