-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify models on a per-environment basis #33
Comments
Without Manchester involvement no concrete use case. |
I realised that one other possible solution to this would be to store the information in the database. This has the advantage of putting it with other information that we might want to vary per-environment (the nations/regions in the dropdown). The downside is that that data is currently managed through migrations, and the migrations themselves are essentially part of the codebase. We'd have to address that somehow, either by keeping the related migrations in the codebase but segregating them by environment somehow (scoping?), or possibly by moving them into the |
This is now partially supported by the use of an |
The selection of models that is executed is currently determined by the contents of
models.yml
in theweb-ui
repo. This means that the set of models is always the same for each deployment. It's looking like we might want to have multiple deployments that have different sets of models (or different versions) on each.I can think of a number of solutions:
models.yml
, and add some environment variable that is used to filter the list by model slug.infrastructure
definition of the container.supportedParameters
) we wouldn't be able to support thatmodels.yml
file into the container.web-ui
to be the default set for local development.model-connector-template
, we've suggested that modellers write ameta.yml
that contains the metadata, but the file isn't actually directly used, it's just a template for later copying intomodels.yml
. There might be some way to make this information available (through a DockerLABEL
?), that we could then pull automatically either at run-time, or ininfrastructure
with a volume-mount as aboveimageURL
, not everything elseNote that there is an
isProductionReady
flag inmodels.yml
which can be used to hide some models, but it's not really sufficient for these needs (and should probably be removed)The text was updated successfully, but these errors were encountered: