cli.meta.roles.applications package

Subpackages

Submodules

cli.meta.roles.applications.dynamic_services module

Print the group-conditional service keys, comma-separated for disable=.

A service key is group-conditional when some role declares it with a Jinja enabled expression rather than a literal, i.e. the shape tests/integration/roles/meta/services/test_dynamic_flags.py enforces. Those keys are the ones a test deploy may drop without changing what the role under test is: their providers are co-deployed only because a host happens to be in the provider’s group.

Keys without a provider role are omitted — disable= cannot act on them.

cli.meta.roles.applications.dynamic_services.dynamic_service_keys(roles_dir: Path) → list[str]

Return every group-conditional service key that has a provider role.

cli.meta.roles.applications.dynamic_services.main(argv: list[str] | None = None) → int

cli.meta.roles.applications.new_in_branch module

Print application roles new on this branch (absent under roles/ at a ref, default origin/main); empty when the ref is unresolvable.

cli.meta.roles.applications.new_in_branch.main(argv: list[str] | None = None) → int
cli.meta.roles.applications.new_in_branch.new_application_roles(roles_dir: Path, ref: str = 'origin/main') → list[str]
cli.meta.roles.applications.new_in_branch.roles_present_in_ref(roles_dir: Path, ref: str) → set[str] | None

Module contents