foliolib.helper.platform.upgrade_platform
- foliolib.helper.platform.upgrade_platform(platform: str, tenantid: str, node: Optional[str] = None, deploy_async: bool = False, exclude: Optional[list] = None, **kwargs)
Upgrade a folio platform.
- Parameters
platform (str) – Path to the folder of the folio platform.
tenantid (str) – tenant id
node (str) – The node id on which module should be deployed. Default first node from nodes list.
deploy_async (bool, optional) – Wether to deploy asynchronously. Defaults to False.
**kwargs (properties) – Keyword Arguments
- Keyword Arguments
ignoreErrors (boolean) – default = false Okapi 4.2.0 and later, it is possible to ignore errors during the upgrade operation. This is done by supplying parameter ignoreErrors=true. In this case, Okapi will try to upgrade all modules in the modules list, regardless if one of them fails. However, for individual modules, if they fail, their upgrade will not be commited. This is an experimental parameter which was added to be able to inspect all problem(s) with module upgrade(s).
invoke (boolean) – default = true Whether to invoke for tenant init/permissions/purge
preRelease (boolean) – default = true Whether pre-releases should be considered for installation.
simulate (boolean) – default = false Whether the upgrade is simulated
tenantParameters (string) – Parameters for Tenant init