mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 06:07:56 +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 "💥".
|
||||
|
||||
## Unreleased
|
||||
|
||||
- [Bugfix] Fix undefined settings in k8s scripts, such as `createuser`
|
||||
|
||||
## v10.0.7 (2020-06-22)
|
||||
|
||||
- [Bugfix] Fix TypeError on viewing xblock
|
||||
|
@ -3,6 +3,7 @@ from . import fmt
|
||||
from . import plugins
|
||||
|
||||
BASE_OPENEDX_COMMAND = """
|
||||
export DJANGO_SETTINGS_MODULE=$SERVICE_VARIANT.envs.$SETTINGS
|
||||
echo "Loading settings $DJANGO_SETTINGS_MODULE"
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user