mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-02-13 06:28:24 +00:00
Previously, the only way for Tutor users to use a fork of edx-platform or a custom NPM registry was to use build args during the image build. This is suboptimal in the case of automatically building images from CI pipelines, which may want to auto-detect when an image needs to be rebuilt based on config.yml changes. In addition, the EDX_PLATFORM_VERSION build argument can already be set via a corresponding config.yml parameter (OPENEDX_COMMON_VERSION), so it's reasonable to follow that precedent and also introduce config.yml parameters to correspond with the EDX_PLATFORM_REPOSITORY and NPM_REGISTRY build arguments. Thus, introduce two new configuration parameters: - EDX_PLATFORM_REPOSITORY - NPM_REGISTRY These parameters can now optionally be used instead of the aforementioned build args.