- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
Open
Description
Currently the configuration system is a little ad-hoc, with some configuration options settable in the notebook, some on the CLI, and some on both. More configuration options (both build-time and run-time) are planned, and possibly more interfaces for xcengine/xcetool itself, so it would be nice to rationalize and future-proof the configuration system. Sketch of a refactored solution:
- Single source of truth for configuration options, which is used to create both the in-notebook and CLI configuration interfaces.
- Configuration settings are also written to a YAML file in the image to make them accessible at run-time. So e.g. default port could be set in the notebook. (Notebook config also could be retrieved at run-time by executing the parameters cell, but this would be inconvenience and wouldn't cover CLI options.)
- Configuration engine uses the "single source of truth" at image build time to process any in-notebook and/or CLI options supplied by the user.
Metadata
Metadata
Assignees
Labels
No labels