mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-05 23:20:40 +00:00
Fix undefined settings in k8s scripts
In k8s, creating a user is an interactive command, so it needs to run in exec. Thus, the DJANGO_SETTINGS_MODULE needs to be defined for this command. Close #344
This commit is contained in:
parent
2fc28bef79
commit
b328e0f7d9
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
Note: Breaking changes between versions are indicated by "💥".
|
Note: Breaking changes between versions are indicated by "💥".
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
- [Bugfix] Fix undefined settings in k8s scripts, such as `createuser`
|
||||||
|
|
||||||
## v10.0.7 (2020-06-22)
|
## v10.0.7 (2020-06-22)
|
||||||
|
|
||||||
- [Bugfix] Fix TypeError on viewing xblock
|
- [Bugfix] Fix TypeError on viewing xblock
|
||||||
|
@ -3,6 +3,7 @@ from . import fmt
|
|||||||
from . import plugins
|
from . import plugins
|
||||||
|
|
||||||
BASE_OPENEDX_COMMAND = """
|
BASE_OPENEDX_COMMAND = """
|
||||||
|
export DJANGO_SETTINGS_MODULE=$SERVICE_VARIANT.envs.$SETTINGS
|
||||||
echo "Loading settings $DJANGO_SETTINGS_MODULE"
|
echo "Loading settings $DJANGO_SETTINGS_MODULE"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user