Ya for me its 176 steps for mfe build but I have the issue of white screen after build in this url : http://apps.local.overhang.io/learning/course/course-v1:SLX+SRP01+2023_V1/home
PROJECT_CONFIG_MANAGER: You must provide at least one of sdkKey or datafile
error coming in console
I needed access to the private repository so did it this way:
from tutor import hooks
from tutor.hooks import priorities
from tutor.types import Config, get_typed
from tutormfe.hooks import MFE_APPS, MFE_ATTRS_TYPE
@hooks.Actions.CONFIG_LOADED.add()
def _config_loaded_action(config: Config) -> None:
deploy_token = get_typed(config, "MYPLUGIN_LEARNING_REPO_DEPLOY_TOKEN", str, "")
repo_version = get_typed(config, "MYPLUGIN_LEARNING_REPO_VERSION", str, "")
@MFE_APPS.add(priority=priorities.DEFAULT)
def _replace_mfes(apps: dict[str, MFE_ATTRS_TYPE]) -> dict[str, MFE_ATTRS_TYPE]:
apps["learning"] = {
"repository": f"https://{deploy_token}@gitlab.myorganization.com/frontend-app-learning.git",
"version": repo_version,
"port": apps["learning"]["port"],
}
return apps