octopize.deploy_tool 2.9.0__tar.gz → 3.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (581) hide show
  1. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/.gitignore +7 -0
  2. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/PKG-INFO +270 -76
  3. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/README.md +269 -75
  4. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/pyproject.toml +18 -1
  5. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/__init__.py +3 -6
  6. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/_guards.py +48 -0
  7. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/apply_command.py +30 -11
  8. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/authentik_env.py +52 -0
  9. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/authentik_readiness.py +434 -0
  10. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/checks.py +48 -2
  11. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/commands/install_command.py +54 -15
  12. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/commands/migrate_command.py +19 -23
  13. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/commands/subcommand_ports.py +80 -0
  14. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/commands/tasks/__init__.py +41 -0
  15. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/commands/tasks/authentik_migrate.py +627 -0
  16. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/commands/tasks/create_self_signed_cert_command.py +207 -0
  17. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/commands/tasks/create_self_signed_cert_task.py +90 -0
  18. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/commands/tasks/create_users.py +589 -0
  19. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/commands/tasks/provision_admin.py +857 -0
  20. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/commands/tasks/registry.py +182 -0
  21. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/commands/update_command.py +41 -16
  22. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/commands/verify_command.py +41 -20
  23. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/configure_command.py +5 -7
  24. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/configure_resume_policy.py +5 -4
  25. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/deployment_paths.py +202 -0
  26. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/diff_command.py +12 -8
  27. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/polling.py +97 -0
  28. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/ports.py +266 -19
  29. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/render_command.py +14 -59
  30. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/secret_files.py +87 -0
  31. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/start_command.py +123 -2
  32. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/stop_command.py +5 -1
  33. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/uninstall_command.py +300 -0
  34. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/application/user_config.py +88 -0
  35. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/authentik_migration.py +15 -10
  36. octopize_deploy_tool-2.9.0/tests/helpers/tls_fixtures.py → octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cert_generator.py +138 -65
  37. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/certificate_verifier.py +21 -11
  38. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/__init__.py +326 -0
  39. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/_shared.py +57 -0
  40. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/apply.py +43 -0
  41. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/configure.py +100 -0
  42. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/diff.py +143 -0
  43. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/install.py +135 -0
  44. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/migrate.py +119 -0
  45. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/render.py +51 -0
  46. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/start.py +54 -0
  47. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/stop.py +49 -0
  48. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/tasks.py +44 -0
  49. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/uninstall.py +77 -0
  50. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/update.py +117 -0
  51. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers/verify.py +83 -0
  52. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli_dependencies.py +78 -0
  53. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli_test_harness.py +168 -0
  54. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/config_resolver.py +546 -0
  55. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/control_flags.py +0 -16
  56. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/defaults.yaml +2 -3
  57. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/domain/configure_preset.py +1 -1
  58. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/domain/deployment_item.py +17 -2
  59. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/domain/deployment_item_registry.py +48 -11
  60. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/domain/deployment_state.py +3 -2
  61. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/domain/generation.py +33 -0
  62. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/domain/placement.py +46 -0
  63. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/domain/validation.py +9 -0
  64. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/domain/version_id.py +4 -3
  65. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/download_templates.py +1 -4
  66. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/environment.py +68 -0
  67. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/exceptions.py +45 -0
  68. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/infra/cert_infra.py +43 -0
  69. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/infra/current_version_resolver.py +1 -0
  70. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/infra/docker_client.py +293 -0
  71. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/infra/document_step_runner.py +249 -0
  72. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/infra/env_file_reader.py +14 -2
  73. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/infra/filesystem.py +141 -0
  74. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/infra/filesystem_legacy_source.py +13 -6
  75. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/infra/filesystem_user_config_scaffolder.py +47 -0
  76. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/infra/httpx2_http_client.py +236 -0
  77. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/infra/in_memory_state_repository.py +1 -0
  78. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/infra/noop_docker_client.py +65 -0
  79. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/infra/package_defaults_source.py +1 -0
  80. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/infra/package_template_provider.py +1 -0
  81. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/infra/preset_loader.py +2 -1
  82. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/infra/system_clock.py +22 -0
  83. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/infra/yaml_config_source.py +11 -6
  84. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/infra/yaml_state_repository.py +1 -0
  85. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/input_gatherer.py +25 -32
  86. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/normalizers.py +21 -0
  87. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/printer.py +81 -15
  88. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/renderer.py +14 -22
  89. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/resources/__init__.py +1 -0
  90. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/resources/config.example.yaml +98 -0
  91. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/secret_factory.py +39 -0
  92. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/self_signed_ssl.py +6 -21
  93. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/steps/__init__.py +9 -17
  94. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/steps/authentik.py +4 -37
  95. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/steps/authentik_blueprint.py +27 -31
  96. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/steps/base.py +230 -0
  97. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/steps/database.py +28 -0
  98. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/steps/email.py +20 -33
  99. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/steps/logging.py +5 -9
  100. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/steps/nginx.py +70 -28
  101. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/steps/required.py +157 -0
  102. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/steps/service_urls.py +4 -8
  103. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/steps/storage.py +25 -0
  104. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/steps/telemetry.py +249 -0
  105. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/steps/user.py +1 -5
  106. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/.env.template +1 -0
  107. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/_env_fragment_infra.template +4 -5
  108. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected → octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/templates}/authentik/octopize-avatar-blueprint.yaml +2 -2
  109. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/docker-compose.yml.template +19 -35
  110. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/tls_types.py +1 -0
  111. octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/topology_urls.py +34 -0
  112. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/url_contract.py +1 -1
  113. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/verbosity.py +1 -0
  114. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/version_compat.py +28 -30
  115. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/TESTING.md +48 -22
  116. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/conftest.py +15 -20
  117. octopize_deploy_tool-3.0.0/tests/e2e/__init__.py +12 -0
  118. octopize_deploy_tool-3.0.0/tests/e2e/test_install_start_uninstall.py +251 -0
  119. octopize_deploy_tool-3.0.0/tests/e2e/test_migrate_start_provision_verify.py +473 -0
  120. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/__init__.py +16 -18
  121. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/configure_happy_path/expected/.deployment_states/v1/deployment_state.yaml +31 -43
  122. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/configure_happy_path/input.yaml +3 -1
  123. octopize_deploy_tool-3.0.0/tests/fixtures/configure_help/output.txt +29 -0
  124. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.env +82 -0
  125. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/admin_emails +1 -0
  126. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/authjwt_secret_key +1 -0
  127. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/clevercloud_sso_salt +1 -0
  128. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/db_admin_password +1 -0
  129. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/db_admin_user +1 -0
  130. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/db_name +1 -0
  131. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/db_password +1 -0
  132. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/db_user +1 -0
  133. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/file_jwt_secret_key +1 -0
  134. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/organization_name +1 -0
  135. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/pepper +1 -0
  136. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/smtp_password +1 -0
  137. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/storage_admin_access_key_id +1 -0
  138. octopize_deploy_tool-3.0.0/tests/fixtures/e2e/legacy_deployment/.secrets/storage_admin_secret_access_key +1 -0
  139. octopize_deploy_tool-3.0.0/tests/fixtures/help/output.txt +27 -0
  140. {octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/.env +6 -6
  141. {octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/templates → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/authentik/octopize-avatar-blueprint.yaml +2 -2
  142. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/docker-compose.yml +19 -35
  143. octopize_deploy_tool-3.0.0/tests/fixtures/install_help/output.txt +19 -0
  144. {octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/.env +6 -6
  145. {octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/authentik/octopize-avatar-blueprint.yaml +2 -2
  146. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/docker-compose.yml +19 -35
  147. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/migrate_help/output.txt +0 -7
  148. octopize_deploy_tool-3.0.0/tests/fixtures/missing_subcommand/output.txt +3 -0
  149. octopize_deploy_tool-3.0.0/tests/fixtures/tasks_authentik_migrate_help/output.txt +40 -0
  150. octopize_deploy_tool-3.0.0/tests/fixtures/tasks_create_self_signed_cert_help/output.txt +44 -0
  151. octopize_deploy_tool-3.0.0/tests/fixtures/tasks_create_users_help/output.txt +27 -0
  152. octopize_deploy_tool-3.0.0/tests/fixtures/tasks_help/output.txt +14 -0
  153. octopize_deploy_tool-3.0.0/tests/fixtures/tasks_provision_admin_help/output.txt +19 -0
  154. octopize_deploy_tool-3.0.0/tests/fixtures/uninstall_help/output.txt +21 -0
  155. octopize_deploy_tool-3.0.0/tests/fixtures/update_help/output.txt +21 -0
  156. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/update_interactive_diff/base_v1/generated_files/.env +1 -1
  157. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/update_interactive_diff/expected_apply_output/.env +6 -6
  158. {octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/authentik/octopize-avatar-blueprint.yaml +2 -2
  159. {octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/docker-compose.yml +19 -35
  160. octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output/.env +89 -0
  161. octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output/authentik/octopize-avatar-blueprint.yaml +1738 -0
  162. {octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output}/docker-compose.yml +19 -35
  163. {octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/base_v1/generated_files}/.env +1 -1
  164. octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/.env +89 -0
  165. octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/octopize-avatar-blueprint.yaml +1738 -0
  166. octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/docker-compose.yml +576 -0
  167. octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output/.env +89 -0
  168. octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/octopize-avatar-blueprint.yaml +1738 -0
  169. octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output/docker-compose.yml +576 -0
  170. octopize_deploy_tool-3.0.0/tests/helpers/fakes.py +998 -0
  171. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/helpers/fixture_dir_comparison.py +1 -0
  172. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/helpers/normalization.py +4 -2
  173. octopize_deploy_tool-3.0.0/tests/helpers/steps.py +75 -0
  174. octopize_deploy_tool-3.0.0/tests/helpers/tls_fixtures.py +111 -0
  175. octopize_deploy_tool-3.0.0/tests/integration/test_cli_integration.py +183 -0
  176. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/integration/test_configure_command.py +54 -11
  177. octopize_deploy_tool-3.0.0/tests/integration/test_create_self_signed_cert_task.py +114 -0
  178. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/integration/test_diff_command.py +4 -7
  179. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/integration/test_install_command.py +18 -0
  180. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/integration/test_update_command.py +3 -1
  181. octopize_deploy_tool-3.0.0/tests/test_cli_harness.py +116 -0
  182. octopize_deploy_tool-3.0.0/tests/unit/infra/__init__.py +0 -0
  183. octopize_deploy_tool-3.0.0/tests/unit/infra/test_docker_client.py +143 -0
  184. octopize_deploy_tool-3.0.0/tests/unit/infra/test_document_step_runner.py +420 -0
  185. octopize_deploy_tool-3.0.0/tests/unit/infra/test_filesystem.py +246 -0
  186. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/infra/test_filesystem_legacy_source.py +12 -0
  187. octopize_deploy_tool-3.0.0/tests/unit/infra/test_httpx2_http_client.py +106 -0
  188. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/infra/test_preset_loader.py +2 -1
  189. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/infra/test_yaml_deployment_state_repository.py +1 -1
  190. octopize_deploy_tool-3.0.0/tests/unit/steps/test_authentik.py +108 -0
  191. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/steps/test_authentik_blueprint.py +83 -95
  192. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/steps/test_database.py +22 -25
  193. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/steps/test_email.py +96 -94
  194. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/steps/test_logging.py +29 -25
  195. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/steps/test_nginx.py +51 -47
  196. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/steps/test_required.py +61 -71
  197. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/steps/test_service_urls.py +35 -26
  198. octopize_deploy_tool-3.0.0/tests/unit/steps/test_storage.py +38 -0
  199. octopize_deploy_tool-3.0.0/tests/unit/steps/test_telemetry.py +446 -0
  200. octopize_deploy_tool-3.0.0/tests/unit/steps/test_user.py +33 -0
  201. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_apply_command.py +79 -23
  202. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_authentik_client.py +19 -1
  203. octopize_deploy_tool-3.0.0/tests/unit/test_authentik_env.py +56 -0
  204. octopize_deploy_tool-3.0.0/tests/unit/test_authentik_migrate_command.py +248 -0
  205. octopize_deploy_tool-3.0.0/tests/unit/test_authentik_migrate_for_docker.py +257 -0
  206. octopize_deploy_tool-3.0.0/tests/unit/test_authentik_migrate_parsers.py +214 -0
  207. octopize_deploy_tool-3.0.0/tests/unit/test_authentik_readiness.py +315 -0
  208. octopize_deploy_tool-3.0.0/tests/unit/test_cert_generator.py +71 -0
  209. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_certificate_verifier.py +13 -10
  210. octopize_deploy_tool-3.0.0/tests/unit/test_cli_verify_ssl.py +39 -0
  211. octopize_deploy_tool-3.0.0/tests/unit/test_config_resolver.py +316 -0
  212. octopize_deploy_tool-3.0.0/tests/unit/test_config_resolver_consistency.py +217 -0
  213. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_configure_command.py +2 -11
  214. octopize_deploy_tool-3.0.0/tests/unit/test_create_self_signed_cert_task.py +269 -0
  215. octopize_deploy_tool-3.0.0/tests/unit/test_create_users.py +507 -0
  216. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_diff_command.py +1 -2
  217. octopize_deploy_tool-3.0.0/tests/unit/test_environment.py +102 -0
  218. octopize_deploy_tool-3.0.0/tests/unit/test_generation.py +130 -0
  219. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_input_gatherer.py +1 -4
  220. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_install_command.py +120 -26
  221. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_migrate_command.py +30 -7
  222. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_normalizers.py +4 -4
  223. octopize_deploy_tool-3.0.0/tests/unit/test_placement.py +86 -0
  224. octopize_deploy_tool-3.0.0/tests/unit/test_polling.py +92 -0
  225. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_preflight_checks.py +109 -3
  226. octopize_deploy_tool-3.0.0/tests/unit/test_provision_admin.py +924 -0
  227. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_render_command.py +16 -105
  228. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_renderer.py +124 -91
  229. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_rich_implementations.py +0 -14
  230. octopize_deploy_tool-2.9.0/tests/unit/steps/test_base.py → octopize_deploy_tool-3.0.0/tests/unit/test_secret_factory.py +17 -17
  231. octopize_deploy_tool-3.0.0/tests/unit/test_secret_files.py +66 -0
  232. octopize_deploy_tool-3.0.0/tests/unit/test_select_authentik_migrate_parser.py +101 -0
  233. octopize_deploy_tool-3.0.0/tests/unit/test_start_command.py +434 -0
  234. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_task_registry.py +25 -14
  235. octopize_deploy_tool-3.0.0/tests/unit/test_uninstall_command.py +299 -0
  236. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_update_command.py +127 -33
  237. octopize_deploy_tool-3.0.0/tests/unit/test_user_config.py +135 -0
  238. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_validation.py +2 -2
  239. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_verify_command.py +4 -3
  240. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/application/commands/subcommand_ports.py +0 -59
  241. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/application/commands/tasks/__init__.py +0 -17
  242. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/application/commands/tasks/registry.py +0 -82
  243. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/application/deployment_paths.py +0 -91
  244. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/cli.py +0 -1715
  245. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/cli_test_harness.py +0 -210
  246. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/components.py +0 -84
  247. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/configurator.py +0 -198
  248. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/configure.py +0 -558
  249. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/exceptions.py +0 -20
  250. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/generate_env.py +0 -208
  251. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/generate_env_paths.py +0 -188
  252. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/infra/configurator_runner_adapter.py +0 -258
  253. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/infra/docker_client.py +0 -159
  254. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/infra/filesystem_directory_copier.py +0 -73
  255. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/infra/filesystem_directory_reader.py +0 -34
  256. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/infra/filesystem_file_writer.py +0 -35
  257. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/infra/filesystem_symlink_updater.py +0 -34
  258. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/infra/httpx2_http_client.py +0 -98
  259. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/infra/noop_docker_client.py +0 -57
  260. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/infra/system_clock.py +0 -13
  261. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/state_manager.py +0 -230
  262. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/steps/api_local_source.py +0 -111
  263. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/steps/base.py +0 -568
  264. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/steps/component_selection.py +0 -83
  265. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/steps/database.py +0 -36
  266. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/steps/local_source.py +0 -98
  267. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/steps/required.py +0 -184
  268. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/steps/storage.py +0 -46
  269. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/steps/target_environment.py +0 -629
  270. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/steps/telemetry.py +0 -122
  271. octopize_deploy_tool-2.9.0/src/octopize_avatar_deploy/topology_urls.py +0 -184
  272. octopize_deploy_tool-2.9.0/tests/fixtures/authentik_migrate_help/output.txt +0 -34
  273. octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected/.deployment-state.yaml +0 -93
  274. octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected/.env +0 -89
  275. octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected/nginx/nginx.conf +0 -112
  276. octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/input.yaml +0 -18
  277. octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/output.txt +0 -88
  278. octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected/.deployment-state.yaml +0 -93
  279. octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected/.env +0 -89
  280. octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected/nginx/nginx.conf +0 -112
  281. octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/input.yaml +0 -18
  282. octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/output.txt +0 -88
  283. octopize_deploy_tool-2.9.0/tests/fixtures/config_not_found/output.txt +0 -1
  284. octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected/.deployment-state.yaml +0 -93
  285. octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected/.env +0 -89
  286. octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected/deployment-config.yaml +0 -53
  287. octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected/nginx/nginx.conf +0 -112
  288. octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected/.deployment-state.yaml +0 -93
  289. octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected/.env +0 -89
  290. octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected/authentik/octopize-avatar-blueprint.yaml +0 -1738
  291. octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected/nginx/nginx.conf +0 -112
  292. octopize_deploy_tool-2.9.0/tests/fixtures/configure_help/output.txt +0 -36
  293. octopize_deploy_tool-2.9.0/tests/fixtures/deploy_help/output.txt +0 -29
  294. octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected/.deployment-state.yaml +0 -102
  295. octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected/.env +0 -90
  296. octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected/authentik/octopize-avatar-blueprint.yaml +0 -1738
  297. octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected/compose.override.yaml +0 -49
  298. octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected/docker-compose.yml +0 -592
  299. octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected/nginx/nginx.conf +0 -112
  300. octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected/test-.npmrc +0 -1
  301. octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected/test-avatar-repo/services/api/main.py +0 -1
  302. octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected/test-avatar-website/package.json +0 -1
  303. octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/input.yaml +0 -22
  304. octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/output.txt +0 -96
  305. octopize_deploy_tool-2.9.0/tests/fixtures/generate_env_help/output.txt +0 -46
  306. octopize_deploy_tool-2.9.0/tests/fixtures/generate_env_output_dir_error/output.txt +0 -3
  307. octopize_deploy_tool-2.9.0/tests/fixtures/help/output.txt +0 -34
  308. octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output/authentik/octopize-avatar-blueprint.yaml +0 -1738
  309. octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output/docker-compose.yml +0 -592
  310. octopize_deploy_tool-2.9.0/tests/fixtures/install_help/output.txt +0 -26
  311. octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output/authentik/branding/favicon.ico +0 -0
  312. octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output/authentik/branding/logo.png +0 -0
  313. octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output/authentik/custom-templates/email_account_confirmation.html +0 -93
  314. octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output/authentik/custom-templates/email_account_exists.html +0 -126
  315. octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output/authentik/custom-templates/email_account_invitation.html +0 -159
  316. octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output/authentik/custom-templates/email_forgotten_password.html +0 -124
  317. octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output/authentik/custom-templates/email_password_changed.html +0 -111
  318. octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output/authentik/custom-templates/email_password_reset.html +0 -109
  319. octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output/authentik/octopize-avatar-blueprint.yaml +0 -1738
  320. octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output/authentik/translations.json +0 -24
  321. octopize_deploy_tool-2.9.0/tests/fixtures/install_render_output/docker-compose.yml +0 -592
  322. octopize_deploy_tool-2.9.0/tests/fixtures/invalid_port_config/config.yaml +0 -5
  323. octopize_deploy_tool-2.9.0/tests/fixtures/invalid_port_config/output.txt +0 -33
  324. octopize_deploy_tool-2.9.0/tests/fixtures/invalid_url_config/config.yaml +0 -3
  325. octopize_deploy_tool-2.9.0/tests/fixtures/invalid_url_config/output.txt +0 -10
  326. octopize_deploy_tool-2.9.0/tests/fixtures/malformed_yaml/config.yaml +0 -3
  327. octopize_deploy_tool-2.9.0/tests/fixtures/malformed_yaml/output.txt +0 -4
  328. octopize_deploy_tool-2.9.0/tests/fixtures/missing_subcommand/output.txt +0 -3
  329. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/.deployment-state.yaml +0 -93
  330. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/.env +0 -90
  331. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/authentik/branding/favicon.ico +0 -0
  332. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/authentik/branding/logo.png +0 -0
  333. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/authentik/custom-templates/email_account_confirmation.html +0 -93
  334. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/authentik/custom-templates/email_account_exists.html +0 -126
  335. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/authentik/custom-templates/email_account_invitation.html +0 -159
  336. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/authentik/custom-templates/email_forgotten_password.html +0 -124
  337. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/authentik/custom-templates/email_password_changed.html +0 -111
  338. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/authentik/custom-templates/email_password_reset.html +0 -109
  339. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/authentik/octopize-avatar-blueprint.yaml +0 -1738
  340. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/authentik/translations.json +0 -24
  341. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/docker-compose.yml +0 -592
  342. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/expected/nginx/nginx.conf +0 -112
  343. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/input.yaml +0 -17
  344. octopize_deploy_tool-2.9.0/tests/fixtures/no_telemetry/output.txt +0 -88
  345. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/.deployment-state.yaml +0 -97
  346. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/authentik/branding/favicon.ico +0 -0
  347. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/authentik/branding/logo.png +0 -0
  348. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/authentik/custom-templates/email_account_confirmation.html +0 -93
  349. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/authentik/custom-templates/email_account_exists.html +0 -126
  350. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/authentik/custom-templates/email_account_invitation.html +0 -159
  351. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/authentik/custom-templates/email_forgotten_password.html +0 -124
  352. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/authentik/custom-templates/email_password_changed.html +0 -111
  353. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/authentik/custom-templates/email_password_reset.html +0 -109
  354. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/authentik/octopize-avatar-blueprint.yaml +0 -1738
  355. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/authentik/translations.json +0 -24
  356. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected/docker-compose.yml +0 -592
  357. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/output.txt +0 -89
  358. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_incomplete_config/config.yaml +0 -4
  359. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_incomplete_config/output.txt +0 -89
  360. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_no_config/output.txt +0 -9
  361. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_partial_config/config.yaml +0 -4
  362. octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_partial_config/output.txt +0 -89
  363. octopize_deploy_tool-2.9.0/tests/fixtures/output_dir_nested/output.txt +0 -88
  364. octopize_deploy_tool-2.9.0/tests/fixtures/output_dir_permission_denied/output.txt +0 -1
  365. octopize_deploy_tool-2.9.0/tests/fixtures/prompt_help/input.yaml +0 -28
  366. octopize_deploy_tool-2.9.0/tests/fixtures/prompt_help/output.txt +0 -156
  367. octopize_deploy_tool-2.9.0/tests/fixtures/resume_interrupted/first_run/output.txt +0 -36
  368. octopize_deploy_tool-2.9.0/tests/fixtures/resume_interrupted/input_first_run.yaml +0 -16
  369. octopize_deploy_tool-2.9.0/tests/fixtures/resume_interrupted/input_resume.yaml +0 -7
  370. octopize_deploy_tool-2.9.0/tests/fixtures/resume_interrupted/resume/output.txt +0 -104
  371. octopize_deploy_tool-2.9.0/tests/fixtures/save_config_interactive/output.txt +0 -90
  372. octopize_deploy_tool-2.9.0/tests/fixtures/save_config_with_existing/config.yaml +0 -3
  373. octopize_deploy_tool-2.9.0/tests/fixtures/save_config_with_existing/input.yaml +0 -15
  374. octopize_deploy_tool-2.9.0/tests/fixtures/save_config_with_existing/output.txt +0 -91
  375. octopize_deploy_tool-2.9.0/tests/fixtures/template_from_local_verbose/output.txt +0 -60
  376. octopize_deploy_tool-2.9.0/tests/fixtures/type_mismatch_config/config.yaml +0 -5
  377. octopize_deploy_tool-2.9.0/tests/fixtures/type_mismatch_config/output.txt +0 -89
  378. octopize_deploy_tool-2.9.0/tests/fixtures/update_help/output.txt +0 -28
  379. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/branding/favicon.ico +0 -0
  380. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/branding/logo.png +0 -0
  381. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_account_confirmation.html +0 -93
  382. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_account_exists.html +0 -126
  383. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_account_invitation.html +0 -159
  384. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_forgotten_password.html +0 -124
  385. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_password_changed.html +0 -111
  386. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_password_reset.html +0 -109
  387. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/octopize-avatar-blueprint.yaml +0 -1738
  388. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/translations.json +0 -24
  389. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output/docker-compose.yml +0 -592
  390. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/.env +0 -89
  391. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/authentik/branding/favicon.ico +0 -0
  392. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/authentik/branding/logo.png +0 -0
  393. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_account_confirmation.html +0 -93
  394. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_account_exists.html +0 -126
  395. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_account_invitation.html +0 -159
  396. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_forgotten_password.html +0 -124
  397. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_password_changed.html +0 -111
  398. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_password_reset.html +0 -109
  399. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/authentik/octopize-avatar-blueprint.yaml +0 -1738
  400. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/authentik/translations.json +0 -24
  401. octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output/docker-compose.yml +0 -592
  402. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/base_v1/generated_files/.env +0 -89
  403. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/.env +0 -89
  404. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/branding/favicon.ico +0 -0
  405. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/branding/logo.png +0 -0
  406. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_account_confirmation.html +0 -93
  407. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_account_exists.html +0 -126
  408. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_account_invitation.html +0 -159
  409. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_forgotten_password.html +0 -124
  410. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_password_changed.html +0 -111
  411. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_password_reset.html +0 -109
  412. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/octopize-avatar-blueprint.yaml +0 -1738
  413. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/translations.json +0 -24
  414. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output/docker-compose.yml +0 -592
  415. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/.env +0 -89
  416. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/branding/favicon.ico +0 -0
  417. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/branding/logo.png +0 -0
  418. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_account_confirmation.html +0 -93
  419. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_account_exists.html +0 -126
  420. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_account_invitation.html +0 -159
  421. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_forgotten_password.html +0 -124
  422. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_password_changed.html +0 -111
  423. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_password_reset.html +0 -109
  424. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/octopize-avatar-blueprint.yaml +0 -1738
  425. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/translations.json +0 -24
  426. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/docker-compose.yml +0 -592
  427. octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_render_output/nginx/nginx.conf +0 -112
  428. octopize_deploy_tool-2.9.0/tests/helpers/fakes.py +0 -507
  429. octopize_deploy_tool-2.9.0/tests/integration/test_cli_integration.py +0 -993
  430. octopize_deploy_tool-2.9.0/tests/integration/test_generate_env.py +0 -1010
  431. octopize_deploy_tool-2.9.0/tests/test_cli_harness.py +0 -275
  432. octopize_deploy_tool-2.9.0/tests/unit/infra/test_configure_runner_adapter.py +0 -218
  433. octopize_deploy_tool-2.9.0/tests/unit/infra/test_filesystem_directory_copier.py +0 -101
  434. octopize_deploy_tool-2.9.0/tests/unit/infra/test_httpx2_http_client.py +0 -62
  435. octopize_deploy_tool-2.9.0/tests/unit/steps/test_api_local_source.py +0 -329
  436. octopize_deploy_tool-2.9.0/tests/unit/steps/test_authentik.py +0 -129
  437. octopize_deploy_tool-2.9.0/tests/unit/steps/test_component_selection.py +0 -75
  438. octopize_deploy_tool-2.9.0/tests/unit/steps/test_local_source.py +0 -175
  439. octopize_deploy_tool-2.9.0/tests/unit/steps/test_state_manager.py +0 -477
  440. octopize_deploy_tool-2.9.0/tests/unit/steps/test_storage.py +0 -54
  441. octopize_deploy_tool-2.9.0/tests/unit/steps/test_target_environment.py +0 -273
  442. octopize_deploy_tool-2.9.0/tests/unit/steps/test_telemetry.py +0 -218
  443. octopize_deploy_tool-2.9.0/tests/unit/steps/test_user.py +0 -41
  444. octopize_deploy_tool-2.9.0/tests/unit/test_cli_verify_ssl.py +0 -72
  445. octopize_deploy_tool-2.9.0/tests/unit/test_components.py +0 -61
  446. octopize_deploy_tool-2.9.0/tests/unit/test_configurator.py +0 -390
  447. octopize_deploy_tool-2.9.0/tests/unit/test_deployment_configurator.py +0 -793
  448. octopize_deploy_tool-2.9.0/tests/unit/test_deployment_runner.py +0 -196
  449. octopize_deploy_tool-2.9.0/tests/unit/test_generate_env_cli.py +0 -114
  450. octopize_deploy_tool-2.9.0/tests/unit/test_start_command.py +0 -138
  451. octopize_deploy_tool-2.9.0/tests/unit/test_step_filtering.py +0 -248
  452. octopize_deploy_tool-2.9.0/tests/unit/test_topology_urls.py +0 -99
  453. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/infra/deployment/deployment-tool/src/octopize_avatar_deploy/steps/user.py +0 -0
  454. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/infra/deployment/deployment-tool/tests/fixtures/generate_env_output_dir_error/output.txt +0 -0
  455. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/infra/deployment/deployment-tool/tests/fixtures/help/output.txt +0 -0
  456. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/infra/deployment/deployment-tool/tests/fixtures/missing_subcommand/output.txt +0 -0
  457. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/application/__init__.py +0 -0
  458. {octopize_deploy_tool-2.9.0/tests/unit/infra → octopize_deploy_tool-3.0.0/src/octopize_avatar_deploy/cli/handlers}/__init__.py +0 -0
  459. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/deployment_mode.py +0 -0
  460. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/domain/__init__.py +0 -0
  461. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/infra/__init__.py +0 -0
  462. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/infra/package_version_provider.py +0 -0
  463. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/output_spec.py +0 -0
  464. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/public_url.py +0 -0
  465. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/template_provisioning.py +0 -0
  466. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/.template-version +0 -0
  467. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/_env_fragment_api.template +0 -0
  468. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/_env_fragment_web.template +0 -0
  469. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/api.env.template +0 -0
  470. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/authentik/branding/favicon.ico +0 -0
  471. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/authentik/branding/logo.png +0 -0
  472. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_account_confirmation.html +0 -0
  473. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_account_exists.html +0 -0
  474. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_account_invitation.html +0 -0
  475. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_forgotten_password.html +0 -0
  476. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_password_changed.html +0 -0
  477. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_password_reset.html +0 -0
  478. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/authentik/translations.json +0 -0
  479. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/compose.override.yaml.template +0 -0
  480. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/nginx.conf.template +0 -0
  481. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/python_client.env.template +0 -0
  482. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/src/octopize_avatar_deploy/templates/web.env.template +0 -0
  483. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/__init__.py +0 -0
  484. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/apply_help/output.txt +0 -0
  485. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/authentik_migration/licenses.csv +0 -0
  486. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/authentik_migration/organizations.csv +0 -0
  487. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/authentik_migration/users.csv +0 -0
  488. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/configure_happy_path/output.txt +0 -0
  489. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/diff_help/output.txt +0 -0
  490. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/diff_integration/from/.env +0 -0
  491. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/diff_integration/from/nginx/nginx.conf +0 -0
  492. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/diff_integration/output.txt +0 -0
  493. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/diff_integration/to/.env +0 -0
  494. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/diff_integration/to/docker-compose.yml +0 -0
  495. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/diff_integration/to/nginx/nginx.conf +0 -0
  496. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/install_apply_output/.permissions.json +0 -0
  497. {octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/authentik/branding/favicon.ico +0 -0
  498. {octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/authentik/branding/logo.png +0 -0
  499. {octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/authentik/custom-templates/email_account_confirmation.html +0 -0
  500. {octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/authentik/custom-templates/email_account_exists.html +0 -0
  501. {octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/authentik/custom-templates/email_account_invitation.html +0 -0
  502. {octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/authentik/custom-templates/email_forgotten_password.html +0 -0
  503. {octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/authentik/custom-templates/email_password_changed.html +0 -0
  504. {octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/authentik/custom-templates/email_password_reset.html +0 -0
  505. {octopize_deploy_tool-2.9.0/tests/fixtures/basic_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_apply_output}/authentik/translations.json +0 -0
  506. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/install_apply_output/nginx/nginx.conf +0 -0
  507. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/install_render_output/.permissions.json +0 -0
  508. {octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/authentik/branding/favicon.ico +0 -0
  509. {octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/authentik/branding/logo.png +0 -0
  510. {octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/authentik/custom-templates/email_account_confirmation.html +0 -0
  511. {octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/authentik/custom-templates/email_account_exists.html +0 -0
  512. {octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/authentik/custom-templates/email_account_invitation.html +0 -0
  513. {octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/authentik/custom-templates/email_forgotten_password.html +0 -0
  514. {octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/authentik/custom-templates/email_password_changed.html +0 -0
  515. {octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/authentik/custom-templates/email_password_reset.html +0 -0
  516. {octopize_deploy_tool-2.9.0/tests/fixtures/cloud_storage/expected → octopize_deploy_tool-3.0.0/tests/fixtures/install_render_output}/authentik/translations.json +0 -0
  517. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/install_render_output/nginx/nginx.conf +0 -0
  518. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/non_interactive_complete/config.yaml +0 -0
  519. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/render_help/output.txt +0 -0
  520. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/start_help/output.txt +0 -0
  521. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/stop_help/output.txt +0 -0
  522. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/update_interactive_diff/expected_apply_output/.permissions.json +0 -0
  523. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/authentik/branding/favicon.ico +0 -0
  524. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/authentik/branding/logo.png +0 -0
  525. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/authentik/custom-templates/email_account_confirmation.html +0 -0
  526. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/authentik/custom-templates/email_account_exists.html +0 -0
  527. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/authentik/custom-templates/email_account_invitation.html +0 -0
  528. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/authentik/custom-templates/email_forgotten_password.html +0 -0
  529. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/authentik/custom-templates/email_password_changed.html +0 -0
  530. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/authentik/custom-templates/email_password_reset.html +0 -0
  531. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_first/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/authentik/translations.json +0 -0
  532. {octopize_deploy_tool-2.9.0/tests/fixtures/non_interactive_complete/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_apply_output}/nginx/nginx.conf +0 -0
  533. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/update_interactive_diff/expected_render_output/.permissions.json +0 -0
  534. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output}/authentik/branding/favicon.ico +0 -0
  535. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output}/authentik/branding/logo.png +0 -0
  536. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output}/authentik/custom-templates/email_account_confirmation.html +0 -0
  537. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output}/authentik/custom-templates/email_account_exists.html +0 -0
  538. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output}/authentik/custom-templates/email_account_invitation.html +0 -0
  539. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output}/authentik/custom-templates/email_forgotten_password.html +0 -0
  540. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output}/authentik/custom-templates/email_password_changed.html +0 -0
  541. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output}/authentik/custom-templates/email_password_reset.html +0 -0
  542. {octopize_deploy_tool-2.9.0/tests/fixtures/config_round_trip_second/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output}/authentik/translations.json +0 -0
  543. {octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_interactive_diff/expected_render_output}/nginx/nginx.conf +0 -0
  544. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/.permissions.json +0 -0
  545. {octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output}/authentik/branding/favicon.ico +0 -0
  546. {octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output}/authentik/branding/logo.png +0 -0
  547. {octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output}/authentik/custom-templates/email_account_confirmation.html +0 -0
  548. {octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output}/authentik/custom-templates/email_account_exists.html +0 -0
  549. {octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output}/authentik/custom-templates/email_account_invitation.html +0 -0
  550. {octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output}/authentik/custom-templates/email_forgotten_password.html +0 -0
  551. {octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output}/authentik/custom-templates/email_password_changed.html +0 -0
  552. {octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output}/authentik/custom-templates/email_password_reset.html +0 -0
  553. {octopize_deploy_tool-2.9.0/tests/fixtures/dev_mode_deployment/expected → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output}/authentik/translations.json +0 -0
  554. {octopize_deploy_tool-2.9.0/tests/fixtures/update_interactive_diff/expected_render_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_apply_output}/nginx/nginx.conf +0 -0
  555. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/.permissions.json +0 -0
  556. {octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output}/authentik/branding/favicon.ico +0 -0
  557. {octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output}/authentik/branding/logo.png +0 -0
  558. {octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output}/authentik/custom-templates/email_account_confirmation.html +0 -0
  559. {octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output}/authentik/custom-templates/email_account_exists.html +0 -0
  560. {octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output}/authentik/custom-templates/email_account_invitation.html +0 -0
  561. {octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output}/authentik/custom-templates/email_forgotten_password.html +0 -0
  562. {octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output}/authentik/custom-templates/email_password_changed.html +0 -0
  563. {octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output}/authentik/custom-templates/email_password_reset.html +0 -0
  564. {octopize_deploy_tool-2.9.0/tests/fixtures/install_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output}/authentik/translations.json +0 -0
  565. {octopize_deploy_tool-2.9.0/tests/fixtures/update_noninteractive_clean/expected_apply_output → octopize_deploy_tool-3.0.0/tests/fixtures/update_noninteractive_clean/expected_render_output}/nginx/nginx.conf +0 -0
  566. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/fixtures/verify_help/output.txt +0 -0
  567. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/helpers/__init__.py +0 -0
  568. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/helpers/printers.py +0 -0
  569. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/integration/__init__.py +0 -0
  570. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/infra/conftest.py +0 -0
  571. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/infra/test_yaml_config_source.py +0 -0
  572. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_authentik_migration.py +0 -0
  573. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_compare_helpers.py +0 -0
  574. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_deployment_item.py +0 -0
  575. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_generic_prompt.py +0 -0
  576. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_output_spec.py +0 -0
  577. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_printer.py +0 -0
  578. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_public_url.py +0 -0
  579. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_stop_command.py +0 -0
  580. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_version_id.py +0 -0
  581. {octopize_deploy_tool-2.9.0 → octopize_deploy_tool-3.0.0}/tests/unit/test_version_validation.py +0 -0
@@ -68,8 +68,15 @@ Thumbs.db
68
68
  .deployment_state.yaml
69
69
  .env
70
70
  !tests/fixtures/**/.env
71
+ # The e2e legacy-deployment fixture's .secrets/ is fake test data, not real
72
+ # secrets -- infra/deployment/.gitignore blanket-ignores **/.secrets/, so both
73
+ # the directory and its contents need re-including.
74
+ !tests/fixtures/e2e/legacy_deployment/.secrets/
75
+ !tests/fixtures/e2e/legacy_deployment/.secrets/**
71
76
  config.*.yaml
72
77
  !config.example.yaml
73
78
  .deployment_states/*
74
79
  # TLS test fixtures created dynamically by the test suite
75
80
  tls/
81
+ # JSONL log written by `tasks authentik-migrate`, relative to cwd by default
82
+ migration_log*.jsonl
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: octopize.deploy_tool
3
- Version: 2.9.0
3
+ Version: 3.0.0
4
4
  Summary: Deployment configuration tool for Octopize Avatar platform
5
5
  Project-URL: Homepage, https://octopize.io
6
6
  Project-URL: Documentation, https://docs.octopize.io/docs/deploying/self-hosted
@@ -49,9 +49,12 @@ Available commands:
49
49
  `docker compose up`.
50
50
  - **`stop`** — suspends all running services with `docker compose stop`, preserving
51
51
  containers and volumes for a fast restart.
52
- - **`generate-env`** — generates per-component `.env` files for local development.
53
- - **`authentik-migrate`** — migrates existing user data from CSV exports into
52
+ - **`tasks create-users`** — creates user accounts in Authentik and sends each user a
53
+ recovery email so they can set their password without requiring server-side browser access.
54
+ - **`tasks authentik-migrate`** — migrates existing user data from CSV exports into
54
55
  [authentik](https://goauthentik.io/), the identity provider bundled with Avatar.
56
+ - **`tasks`** — one-off operational sub-commands for post-install administration
57
+ (e.g. generating a self-signed TLS certificate).
55
58
 
56
59
  ## Installation
57
60
 
@@ -126,13 +129,14 @@ Set up a new deployment in two steps:
126
129
 
127
130
  ## Commands: When to Use What
128
131
 
129
- | Command | Use when |
130
- | --------- | -------------------------------------------------------------------------------- |
131
- | `install` | Setting up a new Avatar deployment for the first time |
132
- | `update` | Upgrading an existing deployment to a newer version of the Avatar application |
133
- | `migrate` | Moving a deployment set up with the legacy layout to the new versioned structure |
134
- | `start` | Bringing a configured deployment live, or restarting after a host reboot |
135
- | `stop` | Suspending the running stack temporarily (preserves data; fast to restart) |
132
+ | Command | Use when |
133
+ | -------------------- | -------------------------------------------------------------------------------- |
134
+ | `install` | Setting up a new Avatar deployment for the first time |
135
+ | `update` | Upgrading an existing deployment to a newer version of the Avatar application |
136
+ | `migrate` | Moving a deployment set up with the legacy layout to the new versioned structure |
137
+ | `start` | Bringing a configured deployment live, or restarting after a host reboot |
138
+ | `stop` | Suspending the running stack temporarily (preserves data; fast to restart) |
139
+ | `tasks create-users` | Creating user accounts in Authentik after the deployment is live |
136
140
 
137
141
  ### `install`
138
142
 
@@ -144,12 +148,48 @@ deployment files under a versioned directory tree, and leaves the deployment rea
144
148
  octopize-deploy-tool install --app-root ./app/avatar
145
149
  ```
146
150
 
147
- To pre-populate answers from a YAML config file:
151
+ After a successful install, a `user_config/` directory is created under the app root:
152
+
153
+ ```
154
+ ./app/avatar/
155
+ └── user_config/
156
+ ├── config.example.yaml ← commented reference — copy and edit to create config.yaml
157
+ └── hooks/ ← reserved for future lifecycle hook scripts
158
+ ```
159
+
160
+ To speed up future installs, copy the example file, fill in your values, and commit it:
161
+
162
+ ```bash
163
+ cp ./app/avatar/user_config/config.example.yaml ./app/avatar/user_config/config.yaml
164
+ # Edit config.yaml with your PUBLIC_URL, ENV_NAME, TLS settings, etc.
165
+ ```
166
+
167
+ On subsequent installs, the tool detects a unique `*.yaml` or `*.yml` file in `user_config/` automatically
168
+ (ignoring `config.example.yaml`):
169
+
170
+ - **Interactive mode** — you are prompted: _"Found user_config/config.yaml — use it to
171
+ pre-populate configuration? [Y/n]"_
172
+ - **Non-interactive mode** — a notice is printed that the file was found; pass `--from-config`
173
+ explicitly to use it (conservative default).
174
+
175
+ > **TLS paths and the deploy-tool container**: if you run the deploy tool inside Docker and your
176
+ > TLS certificate lives on the _host_ (not inside the container), add `--skip-tls-path-validation`
177
+ > to bypass the existence check:
178
+ >
179
+ > ```bash
180
+ > octopize-deploy-tool install \
181
+ > --app-root /app-root \
182
+ > --from-config /app-root/user_config/config.yaml \
183
+ > --non-interactive \
184
+ > --skip-tls-path-validation
185
+ > ```
186
+
187
+ You can always override auto-detection by passing `--from-config` explicitly:
148
188
 
149
189
  ```bash
150
190
  octopize-deploy-tool install \
151
191
  --app-root ./app/avatar \
152
- --from-config config.yaml \
192
+ --from-config ./app/avatar/user_config/config.yaml \
153
193
  --non-interactive
154
194
  ```
155
195
 
@@ -173,6 +213,13 @@ applies the changes.
173
213
  octopize-deploy-tool update --app-root ./app/avatar
174
214
  ```
175
215
 
216
+ If `user_config/config.yaml` (or `config.yml`) exists under the app root and `--from-config` was
217
+ not passed explicitly, the tool detects it automatically:
218
+
219
+ - **Interactive mode** — you are prompted: _"Found user_config/config.yaml — use it to
220
+ pre-populate configuration? [Y/n]"_
221
+ - **Non-interactive mode** — the file is used automatically and a notice is printed.
222
+
176
223
  After `update`, run `start` to apply the new files to the running stack:
177
224
 
178
225
  ```bash
@@ -257,6 +304,116 @@ Common `stop` options:
257
304
  --verbose Show detailed progress output
258
305
  ```
259
306
 
307
+ ## `tasks`
308
+
309
+ The `tasks` namespace groups one-off operational commands that are useful after the stack is
310
+ running or during initial setup.
311
+
312
+ ### `tasks create-users`
313
+
314
+ Use `tasks create-users` after a fresh deployment is live to create user accounts in Authentik.
315
+ The command reads the Authentik URL and bootstrap token from `generated_files/.env`, creates each
316
+ user, assigns them to the correct group, and sends a recovery email so they can set their password
317
+ without needing server-side browser access.
318
+
319
+ Run this once the stack is healthy (after `start` and `verify`). It is safe to re-run — existing
320
+ users are detected and skipped.
321
+
322
+ **Create an admin and a standard user:**
323
+
324
+ ```bash
325
+ octopize-deploy-tool tasks create-users \
326
+ --app-root ./app/avatar \
327
+ --admins alice@company.com \
328
+ --users bob@company.com,carol@company.com
329
+ ```
330
+
331
+ **Skip sending the recovery email** (create accounts silently; users set their password later):
332
+
333
+ ```bash
334
+ octopize-deploy-tool tasks create-users \
335
+ --app-root ./app/avatar \
336
+ --admins alice@company.com \
337
+ --no-email
338
+ ```
339
+
340
+ **Verbose output** to see the resolved Authentik URL and per-user status:
341
+
342
+ ```bash
343
+ octopize-deploy-tool tasks create-users \
344
+ --app-root ./app/avatar \
345
+ --admins alice@company.com \
346
+ --verbosity 2
347
+ ```
348
+
349
+ The bootstrap token is the one generated during `install` and stored automatically in
350
+ `generated_files/.env` as `AUTHENTIK_BOOTSTRAP_TOKEN`. Pass `--authentik-token` to override it,
351
+ or `--authentik-url` to point at a different Authentik instance.
352
+
353
+ ```text
354
+ --admins EMAILS Comma-separated admin email addresses
355
+ --users EMAILS Comma-separated standard user email addresses
356
+ --app-root PATH App root directory (parent of generated_files/; default: current directory)
357
+ --no-email Create accounts without sending a recovery email
358
+ --authentik-url URL Authentik base URL (overrides SSO_PROVIDER_URL from generated_files/.env)
359
+ --authentik-token TOK Bootstrap token (overrides AUTHENTIK_BOOTSTRAP_TOKEN from generated_files/.env)
360
+ --verbosity {1,2} 1 = essential output (default), 2 = verbose
361
+ ```
362
+
363
+ ---
364
+
365
+ ### `tasks create-self-signed-cert`
366
+
367
+ Generates a self-signed X.509 TLS certificate and private key for a given domain and writes them
368
+ to a directory. Use this when you need a quick certificate for internal or testing deployments
369
+ and do not want to run raw `openssl` commands.
370
+
371
+ The certificate is self-signed (issuer == subject) and includes a SubjectAlternativeName (SAN)
372
+ extension for the domain, making it compatible with modern TLS stacks. Both generated files are
373
+ written with standard permissions (certificate `0644`, private key `0600`).
374
+
375
+ ```bash
376
+ octopize-deploy-tool tasks create-self-signed-cert \
377
+ --domain avatar.company.com \
378
+ --output-dir /etc/nginx/certs
379
+ ```
380
+
381
+ To set a custom validity period:
382
+
383
+ ```bash
384
+ octopize-deploy-tool tasks create-self-signed-cert \
385
+ --domain avatar.company.com \
386
+ --output-dir /etc/nginx/certs \
387
+ --valid-days 730
388
+ ```
389
+
390
+ If clients connect by IP address rather than hostname, use `--ip-address` to embed one or more
391
+ IP addresses as IPAddress SAN entries alongside the DNS name. The flag can be repeated:
392
+
393
+ ```bash
394
+ octopize-deploy-tool tasks create-self-signed-cert \
395
+ --domain avatar.company.com \
396
+ --ip-address 192.168.1.10 \
397
+ --ip-address ::1 \
398
+ --output-dir /etc/nginx/certs
399
+ ```
400
+
401
+ The command creates `--output-dir` automatically if it does not exist. If `fullchain.crt` or
402
+ `server.key` already exist in the target directory a warning is printed before they are
403
+ overwritten.
404
+
405
+ ```text
406
+ --domain DOMAIN DNS hostname to embed as CN and SAN (required)
407
+ e.g. avatar.company.com
408
+ --output-dir DIR Directory to write fullchain.crt and server.key
409
+ (default: current directory; created if missing)
410
+ --valid-days DAYS Certificate validity period in days (default: 365)
411
+ --ip-address IP IP address (IPv4 or IPv6) to add as an IPAddress SAN entry
412
+ May be repeated: --ip-address 192.168.1.10 --ip-address ::1
413
+ ```
414
+
415
+ ---
416
+
260
417
  ## Docker
261
418
 
262
419
  If you don't have Python installed, you can use the published Docker image instead:
@@ -267,30 +424,60 @@ quay.io/octopize/deploy-tool:latest
267
424
 
268
425
  > **Note on file ownership:** For commands that write files to a bind-mounted directory, run the
269
426
  > container with `--user "$(id -u):$(id -g)"` so generated files are owned by your host user.
427
+ >
428
+ > **Commands that require Docker** (`install`, `start`, `stop`, `verify`) need three extra mounts.
429
+ > Run this once in your shell before the `docker run` commands below:
430
+ >
431
+ > ```bash
432
+ > export COMPOSE_PLUGIN=$(docker info --format '{{range .ClientInfo.Plugins}}{{if eq .Name "compose"}}{{.Path}}{{end}}{{end}}')
433
+ > ```
434
+ >
435
+ > Then add to every `docker run` that needs Docker:
436
+ >
437
+ > ```
438
+ > -v /var/run/docker.sock:/var/run/docker.sock
439
+ > -v "$(which docker):/usr/local/bin/docker:ro"
440
+ > -v "${COMPOSE_PLUGIN}:${COMPOSE_PLUGIN}:ro"
441
+ > ```
270
442
 
271
443
  ### `install`
272
444
 
445
+ `install` calls Docker directly (to check for existing volumes), so the host Docker socket must
446
+ be mounted:
447
+
273
448
  **Interactive:**
274
449
 
275
450
  ```bash
276
451
  docker run -it --rm \
277
452
  --user "$(id -u):$(id -g)" \
278
453
  -v "$(pwd)/avatar:/app-root" \
454
+ -v /var/run/docker.sock:/var/run/docker.sock \
455
+ -v "$(which docker):/usr/local/bin/docker:ro" \
456
+ -v "${COMPOSE_PLUGIN}:${COMPOSE_PLUGIN}:ro" \
279
457
  quay.io/octopize/deploy-tool:latest install --app-root /app-root
280
458
  ```
281
459
 
282
- **Non-interactive, seed config inside the app-root:**
460
+ **Non-interactive, using `user_config/config.yaml` inside the app-root (recommended):**
461
+
462
+ After a first install, edit `./avatar/user_config/config.yaml`, then re-use it for future
463
+ installs without any extra mounts:
283
464
 
284
465
  ```bash
285
466
  docker run --rm \
286
467
  --user "$(id -u):$(id -g)" \
287
468
  -v "$(pwd)/avatar:/app-root" \
469
+ -v /var/run/docker.sock:/var/run/docker.sock \
470
+ -v "$(which docker):/usr/local/bin/docker:ro" \
471
+ -v "${COMPOSE_PLUGIN}:${COMPOSE_PLUGIN}:ro" \
288
472
  quay.io/octopize/deploy-tool:latest install \
289
473
  --app-root /app-root \
290
- --from-config /app-root/config.yaml \
474
+ --from-config /app-root/user_config/config.yaml \
291
475
  --non-interactive
292
476
  ```
293
477
 
478
+ If a single `*.yaml` / `*.yml` file is found in `user_config/` (excluding `config.example.yaml`), the tool
479
+ prints a notice. Pass `--from-config /app-root/user_config/config.yaml` explicitly to use it.
480
+
294
481
  **Non-interactive, seed config stored outside the app-root:**
295
482
 
296
483
  Mount the directory containing the config file as a separate read-only volume:
@@ -300,6 +487,9 @@ docker run --rm \
300
487
  --user "$(id -u):$(id -g)" \
301
488
  -v "$(pwd)/avatar:/app-root" \
302
489
  -v "$(pwd)/config:/input:ro" \
490
+ -v /var/run/docker.sock:/var/run/docker.sock \
491
+ -v "$(which docker):/usr/local/bin/docker:ro" \
492
+ -v "${COMPOSE_PLUGIN}:${COMPOSE_PLUGIN}:ro" \
303
493
  quay.io/octopize/deploy-tool:latest install \
304
494
  --app-root /app-root \
305
495
  --from-config /input/config.yaml \
@@ -312,24 +502,17 @@ docker run --rm \
312
502
  >
313
503
  > For example, if your TLS certificate lives at `/etc/ssl/avatar/server.crt` on the host,
314
504
  > enter `/etc/ssl/avatar/server.crt` at the prompt. Docker Compose will mount those paths from
315
- > the host when it starts the Avatar services.
505
+ > the host when it starts the Avatar services. TLS path validation is skipped automatically
506
+ > when the deploy tool detects it is running inside Docker.
316
507
  >
317
- > **If your TLS certificate is not mounted into the deploy tool container** — that is, you
318
- > are running the deploy tool itself inside Docker and you enter a host-side certificate path
319
- > that does not exist inside the deploy tool container — add `--skip-tls-path-validation` to
320
- > bypass the existence check:
508
+ > **Note on Docker socket permissions:** If you see a permission error on the socket, add
509
+ > `--group-add $(stat -c '%g' /var/run/docker.sock)` alongside `--user` to grant the container
510
+ > access to the socket's group on the host.
321
511
  >
322
- > ```bash
323
- > docker run --rm \
324
- > --user "$(id -u):$(id -g)" \
325
- > -v "$(pwd)/avatar:/app-root" \
326
- > -v "$(pwd)/config:/input:ro" \
327
- > quay.io/octopize/deploy-tool:latest install \
328
- > --app-root /app-root \
329
- > --from-config /input/config.yaml \
330
- > --non-interactive \
331
- > --skip-tls-path-validation
332
- > ```
512
+ > **Note on the Docker binary:** The deploy-tool image does not bundle the Docker CLI. Mount it
513
+ > from your host with `-v "$(which docker):/usr/local/bin/docker:ro"`. The official Docker CLI
514
+ > binary is statically compiled, so it works across Linux distributions without extra
515
+ > dependencies.
333
516
 
334
517
  ### `update`
335
518
 
@@ -367,6 +550,8 @@ socket must be mounted:
367
550
  docker run --rm \
368
551
  -v "$(pwd)/avatar:/app-root" \
369
552
  -v /var/run/docker.sock:/var/run/docker.sock \
553
+ -v "$(which docker):/usr/local/bin/docker:ro" \
554
+ -v "${COMPOSE_PLUGIN}:${COMPOSE_PLUGIN}:ro" \
370
555
  quay.io/octopize/deploy-tool:latest start --app-root /app-root
371
556
  ```
372
557
 
@@ -382,9 +567,31 @@ Like `start`, `stop` calls Docker directly and requires the host Docker socket:
382
567
  docker run --rm \
383
568
  -v "$(pwd)/avatar:/app-root" \
384
569
  -v /var/run/docker.sock:/var/run/docker.sock \
570
+ -v "$(which docker):/usr/local/bin/docker:ro" \
571
+ -v "${COMPOSE_PLUGIN}:${COMPOSE_PLUGIN}:ro" \
385
572
  quay.io/octopize/deploy-tool:latest stop --app-root /app-root
386
573
  ```
387
574
 
575
+ ### `verify`
576
+
577
+ `verify` calls Docker directly (to exec into the running stack), so the host Docker socket must
578
+ be mounted:
579
+
580
+ ```bash
581
+ docker run --rm \
582
+ -v "$(pwd)/avatar:/app-root" \
583
+ -v /var/run/docker.sock:/var/run/docker.sock \
584
+ -v "$(which docker):/usr/local/bin/docker:ro" \
585
+ -v "${COMPOSE_PLUGIN}:${COMPOSE_PLUGIN}:ro" \
586
+ quay.io/octopize/deploy-tool:latest verify \
587
+ --app-root /app-root \
588
+ --test-email your@email.com
589
+ ```
590
+
591
+ > **Note:** `--user` is omitted here because the process needs access to the Docker socket. If you
592
+ > see a permission error, add `--group-add $(stat -c '%g' /var/run/docker.sock)` to grant the
593
+ > container access to the socket's group on the host.
594
+
388
595
  ## Non-Interactive Usage
389
596
 
390
597
  Provide a YAML configuration file to skip interactive prompts. Any value not covered by the
@@ -432,14 +639,6 @@ The `install` command writes deployment files under a versioned directory tree:
432
639
  Each subsequent `update` or `migrate` run adds a new versioned slot (e.g. `v2/`), keeping a full
433
640
  history of prior states.
434
641
 
435
- The `generate-env` command writes component `.env` files directly to their resolved destinations:
436
-
437
- ```text
438
- ./avatar-local/
439
- ├── api/.env
440
- └── web/.env
441
- ```
442
-
443
642
  ## Typical Deployment Workflow
444
643
 
445
644
  1. Generate configuration:
@@ -474,39 +673,17 @@ The `generate-env` command writes component `.env` files directly to their resol
474
673
  Authentik email delivery test. Pass `--test-email` with an address you can
475
674
  receive mail at to confirm SMTP is working.
476
675
 
477
- ## `generate-env`
478
-
479
- Use `generate-env` to create per-component `.env` files for local development without generating
480
- the full deployment bundle.
481
-
482
- Example:
676
+ 6. Create user accounts:
483
677
 
484
- ```bash
485
- octopize-deploy-tool generate-env \
486
- --component api \
487
- --api-output-path ./avatar-local/api/.env \
488
- --component web \
489
- --web-output-path ./avatar-local/web/.env
490
- ```
491
-
492
- Common `generate-env` options:
678
+ ```bash
679
+ octopize-deploy-tool tasks create-users \
680
+ --app-root ./app/avatar \
681
+ --admins admin@company.com \
682
+ --users alice@company.com,bob@company.com
683
+ ```
493
684
 
494
- ```text
495
- --config FILE YAML configuration file to load
496
- --non-interactive Run without prompts, using config/defaults
497
- --verbose Show detailed progress output
498
- --component NAME Generate only the selected component (repeatable; defaults to all)
499
- --api-output-path PATH Override the API env output path for this run
500
- --web-output-path PATH Override the web env output path for this run
501
- --python-client-output-path PATH
502
- Override the python_client env output path for this run
503
- --output-path COMPONENT=PATH
504
- Repeatable generic output-path override
505
- --target NAME Load named URLs from the environments config section
506
- --api-url URL Override the API URL
507
- --storage-url URL Override the storage public URL
508
- --sso-url URL Override the SSO provider URL
509
- ```
685
+ Each user receives a recovery email with a link to set their password. Re-run at any
686
+ time to add more users — existing accounts are automatically skipped.
510
687
 
511
688
  ## Troubleshooting
512
689
 
@@ -540,7 +717,7 @@ octopize-deploy-tool install --app-root ./app/avatar --verbose
540
717
  ## Migrating Users to authentik
541
718
 
542
719
  When upgrading from an older Avatar deployment that managed users directly in the Avatar API
543
- database, use `octopize-deploy-tool authentik-migrate` to import those users into authentik.
720
+ database, use `octopize-deploy-tool tasks authentik-migrate` to import those users into authentik.
544
721
 
545
722
  ### Overview
546
723
 
@@ -556,9 +733,22 @@ and group assignments in authentik via its REST API:
556
733
  Users that already have an `authentik_id` value in the CSV are automatically skipped, making the
557
734
  tool safe to run incrementally.
558
735
 
559
- ### Extracting CSV Data
736
+ ### Extracting Data Automatically (`--from-docker`)
737
+
738
+ If the deployment's stack is running, `--from-docker` extracts users, organizations, and
739
+ licenses directly from the api container's database — no manual CSV export needed, and the
740
+ extracted data is never written to disk:
741
+
742
+ ```bash
743
+ octopize-deploy-tool tasks authentik-migrate --from-docker --app-root ./app/avatar
744
+ ```
745
+
746
+ This is also offered automatically the first time `start` runs after a deployment `migrate`
747
+ (the operator is prompted, with a preview, before anything is written to authentik).
748
+
749
+ ### Extracting CSV Data Manually
560
750
 
561
- Exec into the API container and export the required tables:
751
+ Alternatively, exec into the API container and export the required tables yourself:
562
752
 
563
753
  ```bash
564
754
  docker compose exec -it api bash
@@ -579,7 +769,7 @@ Then in the pgcli shell:
579
769
  **Dry run** — preview all operations without making any changes:
580
770
 
581
771
  ```bash
582
- octopize-deploy-tool authentik-migrate \
772
+ octopize-deploy-tool tasks authentik-migrate \
583
773
  --users /tmp/users.csv \
584
774
  --orgs /tmp/organizations.csv \
585
775
  --licenses /tmp/licenses.csv \
@@ -589,7 +779,7 @@ octopize-deploy-tool authentik-migrate \
589
779
  **Full migration** — execute against a live authentik instance:
590
780
 
591
781
  ```bash
592
- octopize-deploy-tool authentik-migrate \
782
+ octopize-deploy-tool tasks authentik-migrate \
593
783
  --users /tmp/users.csv \
594
784
  --orgs /tmp/organizations.csv \
595
785
  --licenses /tmp/licenses.csv \
@@ -604,7 +794,7 @@ Every run writes a JSONL log (`migration_log.jsonl` by default). If some operati
604
794
  just the failed ones:
605
795
 
606
796
  ```bash
607
- octopize-deploy-tool authentik-migrate \
797
+ octopize-deploy-tool tasks authentik-migrate \
608
798
  --from-log migration_log.jsonl \
609
799
  --failed-only \
610
800
  --authentik-url https://avatar.example.com/sso \
@@ -623,11 +813,15 @@ octopize-deploy-tool authentik-migrate \
623
813
  ### Migration CLI Reference
624
814
 
625
815
  ```text
626
- octopize-deploy-tool authentik-migrate [options]
816
+ octopize-deploy-tool tasks authentik-migrate [options]
627
817
 
628
818
  --users PATH Path to users CSV file
629
819
  --orgs PATH Path to organizations CSV file
630
820
  --licenses PATH Path to licenses CSV file
821
+ --from-docker Extract users/organizations/licenses live from the
822
+ api container's database instead of CSV files
823
+ --app-root PATH Deployment root directory, used by --from-docker
824
+ (default: current directory)
631
825
  --authentik-url URL Base URL of the authentik instance
632
826
  (e.g. https://avatar.example.com/sso)
633
827
  --authentik-token TOK API token for authentik