tdfs4ds.deploy.environment¶
tdfs4ds.deploy.environment
¶
Environment files and bundle loading (0.3.8.15). Reads files only, no database.
expand_env
¶
${NAME} -> environ[NAME] in every string (secrets come from the CI secret store or the
shell, never from a file). An unset name stays as written, so it is visible in a report.
load_environment
¶
An environment as a dict: a path to a YAML file or a dict. ${NAME} is expanded from the
process environment (environ). Keys: name, connection, variables, domain_map,
options.
bundle_root
¶
(root, definitions folder) of a bundle given its root or its definitions folder.
load_definitions
¶
(definitions in deployment order, {key: relative file}, manifest) of a bundle.
load_policy
¶
The conflict policy: policy (dict or path), else <root>/conflict_policy.yaml, else the defaults.