Fix missing configuration parameters for android environment

This commit is contained in:
Régis Behmo 2019-03-27 07:34:38 -07:00
parent c28d5e948c
commit 75a6a2d44c
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## Latest
- [Bugfix] Fix Android app image build
## 3.3.1 (2019-03-25)
- [Improvement] Improve assets building for development

View File

@ -166,7 +166,7 @@ def load_defaults(config):
# Add extra configuration parameters that need to be computed separately
config["lms_cms_common_domain"] = utils.common_domain(config["LMS_HOST"], config["CMS_HOST"])
config["lms_host_reverse"] = config["LMS_HOST"].split(".")[::-1]
config["lms_host_reverse"] = ".".join(config["LMS_HOST"].split(".")[::-1])
def ask(question, key, config):
default = env.render_str(config, config[key])

View File

@ -1,5 +1,5 @@
APPLICATION_ID={{ lms_host_reverse }}
RELEASE_STORE_FILE=/openedx/config/app.keystore
RELEASE_STORE_PASSWORD={{ ANDROID_STORE_PASSWORD }}
RELEASE_KEY_PASSWORD={{ ANDROID_KEY_PASSWORD }}
RELEASE_STORE_PASSWORD={{ ANDROID_RELEASE_STORE_PASSWORD }}
RELEASE_KEY_PASSWORD={{ ANDROID_RELEASE_KEY_PASSWORD }}
RELEASE_KEY_ALIAS={{ ANDROID_RELEASE_KEY_ALIAS }}