Skip to content

Commit

Permalink
refactor!: remove distro defaults settings to add from strain/conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanDavidBuitrago committed Jun 14, 2023
1 parent 4041532 commit 2fd2fa9
Showing 1 changed file with 2 additions and 133 deletions.
135 changes: 2 additions & 133 deletions tutordistro/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,140 +17,9 @@
templates = os.path.join(HERE, "templates")

config = {
"defaults": {
"VERSION": __version__,
"EXTRA_MIDDLEWARES": [],
# DISTRO PACKAGES
"EOX_CORE_DPKG": {
"index": "git",
"name": "eox-core",
"repo": "eox-core",
"version": "v8.0.0",
"domain": "github.com",
"protocol": "https",
"path": "eduNEXT",
"variables": {
"development": {
"EOX_CORE_USERS_BACKEND": "eox_core.edxapp_wrapper"
".backends.users_m_v1",
"EOX_CORE_ENROLLMENT_BACKEND": "eox_core.edxapp_wrapper"
".backends.enrollment_o_v1",
"EOX_CORE_PRE_ENROLLMENT_BACKEND": "eox_core"
".edxapp_wrapper"
".backends"
".pre_enrollment_l_v1",
},
"production": {
"EOX_CORE_USERS_BACKEND": "eox_core.edxapp_wrapper"
".backends.users_m_v1",
"EOX_CORE_ENROLLMENT_BACKEND": "eox_core.edxapp_wrapper"
".backends.enrollment_o_v1",
"EOX_CORE_PRE_ENROLLMENT_BACKEND": "eox_core"
".edxapp_wrapper"
".backends"
".pre_enrollment_l_v1",
},
},
"private": False,
},
"EOX_TENANT_DPKG": {
"index": "git",
"name": "eox-tenant",
"repo": "eox-tenant",
"version": "v8.0.0",
"domain": "github.com",
"protocol": "https",
"path": "eduNEXT",
"variables": {
"development": {
"EOX_TENANT_USERS_BACKEND": "eox_tenant.edxapp_wrapper"
".backends.users_l_v1",
"EOX_TENANT_LOAD_PERMISSIONS": False,
},
"production": {
"EOX_TENANT_USERS_BACKEND": "eox_tenant.edxapp_wrapper"
".backends.users_l_v1",
"EOX_TENANT_LOAD_PERMISSIONS": False,
},
},
"private": False,
},
"EOX_THEMING_DPKG": {
"index": "git",
"name": "eox-theming",
"repo": "eox-theming",
"version": "v5.0.0",
"domain": "github.com",
"protocol": "https",
"path": "eduNEXT",
"EOX_THEMING_CONFIG_SOURCES": [
"from_eox_tenant_microsite_v2",
"from_django_settings"
],
"private": False,
},
"EOX_HOOKS_DPKG": {
"index": "git",
"name": "eox-hooks",
"repo": "eox-hooks",
"version": "v4.0.0",
"domain": "github.com",
"protocol": "https",
"path": "eduNEXT",
"private": False,
},
"EOX_TAGGING_DPKG": {
"index": "git",
"name": "eox-tagging",
"repo": "eox-tagging",
"version": "v5.0.0",
"domain": "github.com",
"protocol": "https",
"path": "eduNEXT",
"private": False,
},
"EOX_AUDIT_MODEL_DPKG": {
"index": "git",
"name": "eox-audit-model",
"repo": "eox-audit-model",
"version": "v2.0.0",
"domain": "github.com",
"protocol": "https",
"path": "eduNEXT",
"private": False,
},
"THEMES_ROOT": "/openedx/themes",
"THEME_DIRS": [
"/openedx/themes/ednx-saas-themes/edx-platform",
"/openedx/themes/ednx-saas-themes/edx-platform/bragi-generator",
],
"THEMES_NAME": [
"bragi",
],
"THEMES": [
{
"name": "ednx-saas-themes",
"repo": "ednx-saas-themes",
"version": "edunext/olmo.master",
"domain": "github.com",
"protocol": "ssh",
"path": "eduNEXT",
},
],
"INSTALL_EDNX_REQUIREMENTS": False,
"DISABLE_MFE": False
},
"defaults": {},
"unique": {},
"overrides": {
"DOCKER_IMAGE_OPENEDX":
"docker.io/ednxops/distro-edunext-edxapp:olmo",
"DOCKER_IMAGE_OPENEDX_DEV":
"docker.io/ednxops/distro-edunext-edxapp-dev:olmo",
"EDX_PLATFORM_REPOSITORY":
"https://github.com/eduNEXT/edunext-platform.git",
"EDX_PLATFORM_VERSION":
"ednx-release/olmo.master",
},
"overrides": {},
}


Expand Down

0 comments on commit 2fd2fa9

Please sign in to comment.