Posix Registry

class forml.provider.registry.filesystem.posix.Registry(path: str | Path = PosixPath('/home/docs/.forml/registry'), staging: str | Path | None = None)[source]

Bases: Registry

File-based registry backed by a locally-accessible posix file system.

Parameters:
path: str | Path = PosixPath('/home/docs/.forml/registry')

Registry root file system location. Defaults to $FORML_HOME/registry.

staging: str | Path | None = None

File system location reachable from all runner nodes to be used for package staging (defaults to <path>/.stage).

The provider can be enabled using the following platform configuration:

config.toml
 [REGISTRY.devrepo]
 provider = "posix"
 path = "/mnt/forml/dev/repo/"