octopize.deploy_tool 3.6.0__tar.gz → 3.7.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.
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/CHANGELOG.md +10 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/PKG-INFO +12 -3
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/README.md +11 -2
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/pyproject.toml +1 -1
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/__init__.py +1 -1
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/subcommand_ports.py +5 -3
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/update_command.py +58 -2
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/user_config.py +13 -3
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/update.py +4 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/defaults.yaml +1 -1
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_update_command.py +33 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_update_command.py +86 -1
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_user_config.py +34 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/.gitignore +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/infra/deployment/deployment-tool/src/octopize_avatar_deploy/steps/user.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/infra/deployment/deployment-tool/tests/fixtures/generate_env_output_dir_error/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/infra/deployment/deployment-tool/tests/fixtures/help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/infra/deployment/deployment-tool/tests/fixtures/missing_subcommand/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/app_root.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/_guards.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/apply_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/authentik_env.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/authentik_login.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/authentik_readiness.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/checks.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/client_compatibility_report.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/install_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/migrate_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/tasks/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/tasks/authentik_migrate.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/tasks/create_self_signed_cert_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/tasks/create_self_signed_cert_task.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/tasks/create_users.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/tasks/provision_admin.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/tasks/reconcile_blueprint.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/tasks/registry.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/commands/verify_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/configure_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/configure_resume_policy.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/deployment_markers.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/deployment_paths.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/diff_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/healthy_slots.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/host_paths.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/image_registry_auth.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/legacy_layout.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/operator_owned_files.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/polling.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/ports.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/render_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/secret_files.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/self_update.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/start_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/stop_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/application/uninstall_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/authentik_migration.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/authentik_user_types.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cert_generator.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/certificate_verifier.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/_shared.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/_update_check.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/apply.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/configure.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/diff.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/install.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/migrate.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/render.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/start.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/stop.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/tasks.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/uninstall.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli/handlers/verify.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli_dependencies.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/cli_test_harness.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/color.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/config_resolver.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/control_flags.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/deployment_mode.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/authentik_upgrade_path.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/client_compatibility.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/configure_preset.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/deployment_item.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/deployment_item_registry.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/deployment_state.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/generation.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/placement.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/service_versions.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/validation.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/domain/version_id.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/download_templates.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/environment.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/exceptions.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/cert_infra.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/container_identity.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/container_mounts.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/current_version_resolver.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/docker_client.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/docker_config_reader.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/document_step_runner.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/env_file_reader.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/filesystem.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/filesystem_legacy_source.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/filesystem_user_config_scaffolder.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/httpx2_http_client.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/in_memory_state_repository.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/marker_file.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/noop_docker_client.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/offline_http_client.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/package_defaults_source.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/package_template_provider.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/package_version_provider.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/preset_loader.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/subprocess_command_runner.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/system_clock.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/yaml_config_source.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/infra/yaml_state_repository.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/input_gatherer.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/line_editing.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/normalizers.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/output_spec.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/printer.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/public_url.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/renderer.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/resources/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/resources/config.example.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/secret_factory.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/self_signed_ssl.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/authentik.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/authentik_blueprint.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/base.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/database.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/email.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/local_source.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/logging.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/nginx.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/required.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/service_urls.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/storage.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/telemetry.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/steps/user.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/template_provisioning.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/.env.template +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/.template-version +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/_env_fragment_api.template +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/_env_fragment_infra.template +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/_env_fragment_web.template +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/api.env.template +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/authentik/branding/favicon.ico +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/authentik/branding/logo.png +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_account_confirmation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_account_exists.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_account_invitation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_forgotten_password.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_password_changed.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/authentik/custom-templates/email_password_reset.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/authentik/octopize-avatar-blueprint.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/authentik/translations.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/compose.override.yaml.template +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/docker-compose.yml.template +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/nginx.conf.template +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/python_client.env.template +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/templates/web.env.template +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/tls_types.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/topology_urls.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/url_contract.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/verbosity.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/version_compat.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/TESTING.md +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/conftest.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/e2e/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/e2e/conftest.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/e2e/test_lifecycle.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/e2e/test_migrate_start_provision_verify.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/e2e/test_update_reapplies_blueprint.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/e2e/user_disable_revokes_api_key.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/apply_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/authentik_migration/licenses.csv +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/authentik_migration/organizations.csv +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/authentik_migration/users.csv +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/configure_happy_path/expected/.deployment_states/v1/deployment_state.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/configure_happy_path/input.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/configure_happy_path/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/configure_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/diff_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/diff_integration/from/.env +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/diff_integration/from/nginx/nginx.conf +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/diff_integration/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/diff_integration/to/.env +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/diff_integration/to/docker-compose.yml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/diff_integration/to/nginx/nginx.conf +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.env +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/admin_emails +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/authjwt_secret_key +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/clevercloud_sso_salt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/db_admin_password +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/db_admin_user +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/db_name +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/db_password +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/db_user +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/file_jwt_secret_key +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/organization_name +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/pepper +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/smtp_password +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/storage_admin_access_key_id +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/e2e/legacy_deployment/.secrets/storage_admin_secret_access_key +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/.env +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/.permissions.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/authentik/branding/favicon.ico +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/authentik/branding/logo.png +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/authentik/custom-templates/email_account_confirmation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/authentik/custom-templates/email_account_exists.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/authentik/custom-templates/email_account_invitation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/authentik/custom-templates/email_forgotten_password.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/authentik/custom-templates/email_password_changed.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/authentik/custom-templates/email_password_reset.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/authentik/octopize-avatar-blueprint.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/authentik/translations.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/docker-compose.yml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_apply_output/nginx/nginx.conf +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/.env +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/.permissions.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/authentik/branding/favicon.ico +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/authentik/branding/logo.png +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/authentik/custom-templates/email_account_confirmation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/authentik/custom-templates/email_account_exists.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/authentik/custom-templates/email_account_invitation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/authentik/custom-templates/email_forgotten_password.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/authentik/custom-templates/email_password_changed.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/authentik/custom-templates/email_password_reset.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/authentik/octopize-avatar-blueprint.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/authentik/translations.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/docker-compose.yml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/install_render_output/nginx/nginx.conf +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/migrate_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/missing_subcommand/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/non_interactive_complete/config.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/non_interactive_no_telemetry/config.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/render_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/start_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/stop_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/tasks_authentik_migrate_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/tasks_create_self_signed_cert_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/tasks_create_users_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/tasks_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/tasks_provision_admin_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/tasks_reconcile_blueprint_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/uninstall_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/base_v1/generated_files/.env +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/.env +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/.needs_blueprint_reconcile +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/.permissions.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/branding/favicon.ico +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/branding/logo.png +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_account_confirmation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_account_exists.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_account_invitation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_forgotten_password.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_password_changed.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/custom-templates/email_password_reset.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/octopize-avatar-blueprint.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/authentik/translations.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/docker-compose.yml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_apply_output/nginx/nginx.conf +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/.env +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/.permissions.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/authentik/branding/favicon.ico +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/authentik/branding/logo.png +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_account_confirmation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_account_exists.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_account_invitation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_forgotten_password.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_password_changed.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/authentik/custom-templates/email_password_reset.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/authentik/octopize-avatar-blueprint.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/authentik/translations.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/docker-compose.yml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_interactive_diff/expected_render_output/nginx/nginx.conf +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/base_v1/generated_files/.env +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/.env +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/.needs_blueprint_reconcile +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/.permissions.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/branding/favicon.ico +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/branding/logo.png +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_account_confirmation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_account_exists.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_account_invitation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_forgotten_password.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_password_changed.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/custom-templates/email_password_reset.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/octopize-avatar-blueprint.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/authentik/translations.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/docker-compose.yml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_apply_output/nginx/nginx.conf +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/.env +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/.permissions.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/branding/favicon.ico +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/branding/logo.png +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_account_confirmation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_account_exists.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_account_invitation.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_forgotten_password.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_password_changed.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/custom-templates/email_password_reset.html +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/octopize-avatar-blueprint.yaml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/authentik/translations.json +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/docker-compose.yml +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/update_noninteractive_clean/expected_render_output/nginx/nginx.conf +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/fixtures/verify_help/output.txt +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/helpers/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/helpers/fakes.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/helpers/fixture_dir_comparison.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/helpers/normalization.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/helpers/printers.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/helpers/steps.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/helpers/tls_fixtures.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_authentik_migrate_task.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_cli_integration.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_client_compatibility_output.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_configure_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_create_self_signed_cert_task.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_diff_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_install_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_legacy_app_root.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_migrate_first_run.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_migrate_relative_tls_paths.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_migrate_without_tls_keys.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/test_cli_harness.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/__init__.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/conftest.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_container_identity.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_docker_client.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_docker_config_reader.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_document_step_runner.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_filesystem.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_filesystem_legacy_source.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_httpx2_http_client.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_marker_file.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_preset_loader.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_subprocess_command_runner.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_yaml_config_source.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/infra/test_yaml_deployment_state_repository.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_authentik.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_authentik_blueprint.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_database.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_email.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_local_source.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_logging.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_nginx.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_prompt_text.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_required.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_service_urls.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_storage.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_telemetry.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/steps/test_user.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_app_root.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_apply_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_authentik_client.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_authentik_env.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_authentik_login.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_authentik_migrate_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_authentik_migrate_for_docker.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_authentik_migrate_parsers.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_authentik_migration.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_authentik_readiness.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_authentik_upgrade_path.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_cert_generator.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_certificate_verifier.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_cli_verify_ssl.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_client_compatibility.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_compare_helpers.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_config_resolver.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_config_resolver_consistency.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_configure_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_create_self_signed_cert_task.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_create_users.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_deployment_item.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_diff_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_docs_command_references.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_environment.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_generation.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_generic_prompt.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_healthy_slots.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_host_paths.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_image_registry_auth.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_input_gatherer.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_install_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_line_editing.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_migrate_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_normalizers.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_output_spec.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_placement.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_polling.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_preflight_checks.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_printer.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_provision_admin.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_public_url.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_reconcile_blueprint.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_render_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_renderer.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_rich_implementations.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_secret_factory.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_secret_files.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_select_authentik_migrate_parser.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_self_update.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_service_versions.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_start_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_stop_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_task_registry.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_uninstall_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_validation.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_verify_command.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_version_id.py +0 -0
- {octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/unit/test_version_validation.py +0 -0
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## NEXT RELEASE
|
|
4
4
|
|
|
5
|
+
## 3.7.0 - 2026/10/23
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- **infra/deploy-tool**: create `user_config/` on `update` when a deployment has none, as one migrated with a tool older than 3.3.0 does, before the configure step, so the folder exists even when that update fails (#7651)
|
|
10
|
+
- **infra/deploy-tool**: warn when `user_config/` holds several config files, instead of ignoring them without a message (#7651)
|
|
11
|
+
|
|
5
12
|
## 3.6.0 - 2026/10/20
|
|
6
13
|
|
|
7
14
|
### Features
|
|
@@ -37,6 +44,9 @@
|
|
|
37
44
|
- **infra/deploy-tool**: bump urllib3 from 2.7.0 to 2.8.0 (#7155)
|
|
38
45
|
- **infra/deploy-tool**: bump types-pyyaml from 6.0.12.20260815 to 6.0.12.20260906 (#6971)
|
|
39
46
|
- **infra/deploy-tool**: bump httpx2 from 2.13.0 to 2.13.1 (#7453)
|
|
47
|
+
- **infra/deploy-tool**: bump python-dotenv from 1.2.3 to 1.2.4 (#7585)
|
|
48
|
+
- **infra/deploy-tool**: bump cryptography from 50.0.1 to 50.0.2 (#7585)
|
|
49
|
+
- **infra/deploy-tool**: bump mypy from 2.3.1 to 2.4.0 (#7585)
|
|
40
50
|
|
|
41
51
|
### Others
|
|
42
52
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: octopize.deploy_tool
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.7.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/self_installation
|
|
@@ -183,6 +183,11 @@ value](#changing-a-configuration-value)). It needs a `.deployment_states/` direc
|
|
|
183
183
|
state from; against a directory that has `.env` and `.secrets/` at the top level instead, it stops
|
|
184
184
|
and points you at `migrate`.
|
|
185
185
|
|
|
186
|
+
A deployment migrated with a tool older than 3.3.0 has no `user_config/`. `update` creates it,
|
|
187
|
+
with `config.example.yaml`, before it configures the new version, so the folder is there even when
|
|
188
|
+
that run fails, for example on a certificate path that no longer exists. An existing `user_config/`
|
|
189
|
+
is never changed.
|
|
190
|
+
|
|
186
191
|
```bash
|
|
187
192
|
octopize-deploy-tool update --app-root ./app/avatar
|
|
188
193
|
octopize-deploy-tool start --app-root ./app/avatar # restart with the new files
|
|
@@ -464,8 +469,12 @@ octopize-deploy-tool install --app-root ./app/avatar \
|
|
|
464
469
|
|
|
465
470
|
If exactly one `*.yaml` or `*.yml` file other than `config.example.yaml` sits in `user_config/`
|
|
466
471
|
and `--from-config` was not given, `install` and `update` behave identically: **interactively**
|
|
467
|
-
they ask whether to use it, **non-interactively** they print a notice and ignore it.
|
|
468
|
-
|
|
472
|
+
they ask whether to use it, **non-interactively** they print a notice and ignore it. With two or
|
|
473
|
+
more such files they use none and print a warning that names them. Automated runs should always
|
|
474
|
+
pass `--from-config` explicitly.
|
|
475
|
+
|
|
476
|
+
Keep TLS certificates and keys outside `generated_files/`, for example in `user_config/tls/`:
|
|
477
|
+
`apply` replaces `generated_files/` on every `update`, and removes any file it did not render.
|
|
469
478
|
|
|
470
479
|
## Generated files layout
|
|
471
480
|
|
|
@@ -148,6 +148,11 @@ value](#changing-a-configuration-value)). It needs a `.deployment_states/` direc
|
|
|
148
148
|
state from; against a directory that has `.env` and `.secrets/` at the top level instead, it stops
|
|
149
149
|
and points you at `migrate`.
|
|
150
150
|
|
|
151
|
+
A deployment migrated with a tool older than 3.3.0 has no `user_config/`. `update` creates it,
|
|
152
|
+
with `config.example.yaml`, before it configures the new version, so the folder is there even when
|
|
153
|
+
that run fails, for example on a certificate path that no longer exists. An existing `user_config/`
|
|
154
|
+
is never changed.
|
|
155
|
+
|
|
151
156
|
```bash
|
|
152
157
|
octopize-deploy-tool update --app-root ./app/avatar
|
|
153
158
|
octopize-deploy-tool start --app-root ./app/avatar # restart with the new files
|
|
@@ -429,8 +434,12 @@ octopize-deploy-tool install --app-root ./app/avatar \
|
|
|
429
434
|
|
|
430
435
|
If exactly one `*.yaml` or `*.yml` file other than `config.example.yaml` sits in `user_config/`
|
|
431
436
|
and `--from-config` was not given, `install` and `update` behave identically: **interactively**
|
|
432
|
-
they ask whether to use it, **non-interactively** they print a notice and ignore it.
|
|
433
|
-
|
|
437
|
+
they ask whether to use it, **non-interactively** they print a notice and ignore it. With two or
|
|
438
|
+
more such files they use none and print a warning that names them. Automated runs should always
|
|
439
|
+
pass `--from-config` explicitly.
|
|
440
|
+
|
|
441
|
+
Keep TLS certificates and keys outside `generated_files/`, for example in `user_config/tls/`:
|
|
442
|
+
`apply` replaces `generated_files/` on every `update`, and removes any file it did not render.
|
|
434
443
|
|
|
435
444
|
## Generated files layout
|
|
436
445
|
|
|
@@ -60,10 +60,12 @@ class PreflightRunner(Protocol):
|
|
|
60
60
|
class UserConfigScaffolder(Protocol):
|
|
61
61
|
"""Protocol for scaffolding the ``user_config/`` directory tree.
|
|
62
62
|
|
|
63
|
-
Injected into :class:`~application.commands.install_command.InstallCommand
|
|
64
|
-
|
|
63
|
+
Injected into :class:`~application.commands.install_command.InstallCommand`,
|
|
64
|
+
:class:`~application.commands.migrate_command.MigrateCommand` and
|
|
65
|
+
:class:`~application.commands.update_command.UpdateCommand` to create
|
|
66
|
+
``user_config/``, ``user_config/hooks/``, and
|
|
65
67
|
``user_config/config.example.yaml`` under the deployment root after a
|
|
66
|
-
successful
|
|
68
|
+
successful apply. The scaffold is idempotent: existing files are never
|
|
67
69
|
overwritten so the operator's hand-edited ``config.yaml`` is always safe.
|
|
68
70
|
"""
|
|
69
71
|
|
|
@@ -15,6 +15,13 @@ currently deployed state. It runs:
|
|
|
15
15
|
edited, and the new render replaces them.
|
|
16
16
|
5. :class:`~application.apply_command.ApplyCommand` — only if diff was not aborted.
|
|
17
17
|
|
|
18
|
+
Before configure runs, ``update`` creates ``user_config/`` when the app root has
|
|
19
|
+
none. A deployment migrated before 3.3.0 never got one, and it is where the
|
|
20
|
+
operator keeps the config file and the files that ``generated_files/`` must not
|
|
21
|
+
hold. It is created up front so that an update that fails in configure — a
|
|
22
|
+
certificate path that no longer exists, say — still leaves the operator a place
|
|
23
|
+
to put the fix.
|
|
24
|
+
|
|
18
25
|
The stack is **not** restarted by ``update``. Run ``start`` separately to bring the
|
|
19
26
|
services up with the new configuration.
|
|
20
27
|
|
|
@@ -46,6 +53,7 @@ from octopize_avatar_deploy.application.commands.subcommand_ports import (
|
|
|
46
53
|
ConfigureRunner,
|
|
47
54
|
DiffRunner,
|
|
48
55
|
RenderRunner,
|
|
56
|
+
UserConfigScaffolder,
|
|
49
57
|
)
|
|
50
58
|
from octopize_avatar_deploy.application.configure_command import (
|
|
51
59
|
ConfigureCommandArgs,
|
|
@@ -54,6 +62,7 @@ from octopize_avatar_deploy.application.configure_command import (
|
|
|
54
62
|
StateVersionNotFoundError,
|
|
55
63
|
)
|
|
56
64
|
from octopize_avatar_deploy.application.deployment_markers import DeploymentMarker
|
|
65
|
+
from octopize_avatar_deploy.application.deployment_paths import DeploymentPaths
|
|
57
66
|
from octopize_avatar_deploy.application.diff_command import (
|
|
58
67
|
DeployedRef,
|
|
59
68
|
DiffCommandArgs,
|
|
@@ -136,6 +145,8 @@ class UpdateCommandResult:
|
|
|
136
145
|
diff: Result of the diff step; ``None`` if render failed.
|
|
137
146
|
apply: Result of the apply step; ``None`` if diff was aborted or an
|
|
138
147
|
earlier step failed.
|
|
148
|
+
user_config_scaffolded: ``True`` if this update created ``user_config/``
|
|
149
|
+
because the app root had none.
|
|
139
150
|
|
|
140
151
|
"""
|
|
141
152
|
|
|
@@ -143,6 +154,7 @@ class UpdateCommandResult:
|
|
|
143
154
|
render: RenderCommandResult
|
|
144
155
|
diff: DiffCommandResult
|
|
145
156
|
apply: ApplyCommandResult | None = None
|
|
157
|
+
user_config_scaffolded: bool = False
|
|
146
158
|
|
|
147
159
|
@property
|
|
148
160
|
def aborted(self) -> bool:
|
|
@@ -178,6 +190,8 @@ class UpdateCommand:
|
|
|
178
190
|
the API version at all.
|
|
179
191
|
compatibility_reporter: Prints which python clients work with the API
|
|
180
192
|
version being deployed. Advisory — never fails the update.
|
|
193
|
+
user_config_scaffolder: Creates ``user_config/`` when the app root has
|
|
194
|
+
none, so every deployment ends up shaped like an installed one.
|
|
181
195
|
path_checker: Probes the app root's layout when no deployment is found,
|
|
182
196
|
so a pre-versioned directory is named as such. Defaults to the
|
|
183
197
|
real filesystem.
|
|
@@ -196,6 +210,7 @@ class UpdateCommand:
|
|
|
196
210
|
printer: Printer,
|
|
197
211
|
repository: DeploymentStateRepository,
|
|
198
212
|
compatibility_reporter: CompatibilityReporter,
|
|
213
|
+
user_config_scaffolder: UserConfigScaffolder,
|
|
199
214
|
path_checker: PathProbe | None = None,
|
|
200
215
|
) -> None:
|
|
201
216
|
self._resolver = resolver
|
|
@@ -207,6 +222,7 @@ class UpdateCommand:
|
|
|
207
222
|
self._printer = printer
|
|
208
223
|
self._repository = repository
|
|
209
224
|
self._compatibility_reporter = compatibility_reporter
|
|
225
|
+
self._user_config_scaffolder = user_config_scaffolder
|
|
210
226
|
self._path_checker = path_checker or Filesystem()
|
|
211
227
|
|
|
212
228
|
def run(self, args: UpdateCommandArgs) -> UpdateCommandResult:
|
|
@@ -216,7 +232,8 @@ class UpdateCommand:
|
|
|
216
232
|
|
|
217
233
|
1. Resolve the ``currently_deployed`` symlink. Raises
|
|
218
234
|
:class:`UpdateError` immediately if no deployment exists.
|
|
219
|
-
2.
|
|
235
|
+
2. Create ``user_config/`` if the app root has none. An existing one
|
|
236
|
+
is left alone. Then detect ``user_config/config.yaml`` (or ``config.yml``). If it
|
|
220
237
|
exists and ``--from-config`` was not explicitly provided:
|
|
221
238
|
|
|
222
239
|
* Interactive: prompt the operator — if they confirm, use the file.
|
|
@@ -275,6 +292,38 @@ class UpdateCommand:
|
|
|
275
292
|
message = f"{message} ({detail})"
|
|
276
293
|
return UpdateError(message)
|
|
277
294
|
|
|
295
|
+
def _scaffold_missing_user_config(self, app_root: Path) -> bool:
|
|
296
|
+
"""Create ``user_config/`` under *app_root* if it does not exist.
|
|
297
|
+
|
|
298
|
+
Args:
|
|
299
|
+
app_root: Deployment root directory.
|
|
300
|
+
|
|
301
|
+
The folder is a convenience, so a failure to create it — a dangling
|
|
302
|
+
``user_config`` symlink, say, as a Docker run sees a host link whose
|
|
303
|
+
target is not mounted — is a warning and never stops the update.
|
|
304
|
+
|
|
305
|
+
Returns:
|
|
306
|
+
``True`` if the folder was created, ``False`` if it already existed
|
|
307
|
+
or could not be created.
|
|
308
|
+
|
|
309
|
+
"""
|
|
310
|
+
user_config_dir = DeploymentPaths.user_config_dir_for_root(app_root)
|
|
311
|
+
if self._path_checker.exists(user_config_dir):
|
|
312
|
+
return False
|
|
313
|
+
self._printer.print_step("Scaffold user config")
|
|
314
|
+
try:
|
|
315
|
+
self._user_config_scaffolder.scaffold(app_root)
|
|
316
|
+
except OSError as exc:
|
|
317
|
+
self._printer.print_warning(
|
|
318
|
+
f"Could not create {user_config_dir}: {exc}. The update goes on without it."
|
|
319
|
+
)
|
|
320
|
+
return False
|
|
321
|
+
self._printer.print(
|
|
322
|
+
f"Created {user_config_dir}. See config.example.yaml there for the "
|
|
323
|
+
"values you can override with --from-config."
|
|
324
|
+
)
|
|
325
|
+
return True
|
|
326
|
+
|
|
278
327
|
def _deployed_api_version(self, app_root: Path, version: VersionId) -> str | None:
|
|
279
328
|
"""Return the API version the deployment is currently on, if readable.
|
|
280
329
|
|
|
@@ -305,7 +354,12 @@ class UpdateCommand:
|
|
|
305
354
|
if current_version is None:
|
|
306
355
|
raise self._no_deployment_error(args.app_root)
|
|
307
356
|
|
|
308
|
-
# 2.
|
|
357
|
+
# 2. A deployment migrated before 3.3.0 has no user_config/, so give it
|
|
358
|
+
# the one install and migrate create. Done before configure, which is
|
|
359
|
+
# where a stale path fails and where the operator needs the folder.
|
|
360
|
+
user_config_scaffolded = self._scaffold_missing_user_config(args.app_root)
|
|
361
|
+
|
|
362
|
+
# Resolve user_config/ when --from-config was not given.
|
|
309
363
|
from_config = resolve_user_config(
|
|
310
364
|
args.app_root,
|
|
311
365
|
args.from_config,
|
|
@@ -360,6 +414,7 @@ class UpdateCommand:
|
|
|
360
414
|
render=render_result,
|
|
361
415
|
diff=diff_result,
|
|
362
416
|
apply=None,
|
|
417
|
+
user_config_scaffolded=user_config_scaffolded,
|
|
363
418
|
)
|
|
364
419
|
|
|
365
420
|
# 6. Apply. The new blueprint lands under containers that are still
|
|
@@ -392,4 +447,5 @@ class UpdateCommand:
|
|
|
392
447
|
render=render_result,
|
|
393
448
|
diff=diff_result,
|
|
394
449
|
apply=apply_result,
|
|
450
|
+
user_config_scaffolded=user_config_scaffolded,
|
|
395
451
|
)
|
|
@@ -28,8 +28,9 @@ def resolve_user_config(
|
|
|
28
28
|
|
|
29
29
|
When *from_config* is ``None`` and ``user_config/`` exists, all ``*.yaml`` and
|
|
30
30
|
``*.yml`` files are collected (``config.example.yaml`` is always excluded).
|
|
31
|
-
Detection only proceeds when **exactly one** file is found
|
|
32
|
-
|
|
31
|
+
Detection only proceeds when **exactly one** file is found. With two or more,
|
|
32
|
+
none is used and a warning names them, so the operator learns why their
|
|
33
|
+
overrides were not offered.
|
|
33
34
|
|
|
34
35
|
Behaviour by mode:
|
|
35
36
|
|
|
@@ -67,7 +68,16 @@ def resolve_user_config(
|
|
|
67
68
|
if p.name != _EXAMPLE_CONFIG_NAME
|
|
68
69
|
)
|
|
69
70
|
|
|
70
|
-
if len(candidates)
|
|
71
|
+
if len(candidates) > 1:
|
|
72
|
+
names = ", ".join(str(p.relative_to(app_root)) for p in candidates)
|
|
73
|
+
printer.print_warning(
|
|
74
|
+
f"Found {len(candidates)} config files in "
|
|
75
|
+
f"{user_config_dir.relative_to(app_root)}/ ({names}), so none is used. "
|
|
76
|
+
"Pass --from-config to choose one."
|
|
77
|
+
)
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
if not candidates:
|
|
71
81
|
return None
|
|
72
82
|
|
|
73
83
|
candidate = candidates[0]
|
|
@@ -27,6 +27,9 @@ from octopize_avatar_deploy.infra.current_version_resolver import FilesystemCurr
|
|
|
27
27
|
from octopize_avatar_deploy.infra.document_step_runner import DocumentStepRunner
|
|
28
28
|
from octopize_avatar_deploy.infra.filesystem import Filesystem
|
|
29
29
|
from octopize_avatar_deploy.infra.filesystem_legacy_source import FilesystemLegacySource
|
|
30
|
+
from octopize_avatar_deploy.infra.filesystem_user_config_scaffolder import (
|
|
31
|
+
FilesystemUserConfigScaffolder,
|
|
32
|
+
)
|
|
30
33
|
from octopize_avatar_deploy.infra.package_template_provider import PackageTemplateProvider
|
|
31
34
|
from octopize_avatar_deploy.infra.package_version_provider import PackageVersionProvider
|
|
32
35
|
from octopize_avatar_deploy.infra.preset_loader import DefaultConfigurePresetLoader
|
|
@@ -114,6 +117,7 @@ def run(args: argparse.Namespace, deps: CliDependencies) -> None:
|
|
|
114
117
|
http_client=deps.http,
|
|
115
118
|
printer=effective_printer,
|
|
116
119
|
),
|
|
120
|
+
user_config_scaffolder=FilesystemUserConfigScaffolder(),
|
|
117
121
|
)
|
|
118
122
|
|
|
119
123
|
update_args = UpdateCommandArgs(
|
{octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/tests/integration/test_update_command.py
RENAMED
|
@@ -41,6 +41,7 @@ To regenerate fixtures:
|
|
|
41
41
|
from __future__ import annotations
|
|
42
42
|
|
|
43
43
|
import re
|
|
44
|
+
import shutil
|
|
44
45
|
from pathlib import Path
|
|
45
46
|
|
|
46
47
|
import pytest
|
|
@@ -615,3 +616,35 @@ class TestUpdateMovesAuthentikOneReleaseLine:
|
|
|
615
616
|
|
|
616
617
|
latest = PackageDefaultsSource().load()["images"]["authentik"]
|
|
617
618
|
assert self._authentik_version(temp_deployment_dir, "v1") == latest
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
# ---------------------------------------------------------------------------
|
|
622
|
+
# user_config/ on a deployment that has none
|
|
623
|
+
# ---------------------------------------------------------------------------
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
class TestUpdateScaffoldsUserConfig:
|
|
627
|
+
"""A deployment migrated before 3.3.0 has no ``user_config/``; ``update`` creates it."""
|
|
628
|
+
|
|
629
|
+
def test_update_creates_a_missing_user_config(self, temp_deployment_dir: Path) -> None:
|
|
630
|
+
assert _run_install(temp_deployment_dir, from_config=_COMPLETE_CONFIG) == 0
|
|
631
|
+
user_config_dir = DeploymentPaths.user_config_dir_for_root(temp_deployment_dir)
|
|
632
|
+
shutil.rmtree(user_config_dir)
|
|
633
|
+
|
|
634
|
+
assert _run_update_noninteractive(temp_deployment_dir) == 0
|
|
635
|
+
|
|
636
|
+
assert (user_config_dir / "hooks").is_dir()
|
|
637
|
+
assert (user_config_dir / "config.example.yaml").is_file()
|
|
638
|
+
|
|
639
|
+
def test_update_leaves_an_existing_user_config_unchanged(
|
|
640
|
+
self, temp_deployment_dir: Path
|
|
641
|
+
) -> None:
|
|
642
|
+
assert _run_install(temp_deployment_dir, from_config=_COMPLETE_CONFIG) == 0
|
|
643
|
+
user_config_dir = DeploymentPaths.user_config_dir_for_root(temp_deployment_dir)
|
|
644
|
+
(user_config_dir / "config.example.yaml").unlink()
|
|
645
|
+
(user_config_dir / "notes.txt").write_text("operator notes\n")
|
|
646
|
+
|
|
647
|
+
assert _run_update_noninteractive(temp_deployment_dir) == 0
|
|
648
|
+
|
|
649
|
+
assert not (user_config_dir / "config.example.yaml").exists()
|
|
650
|
+
assert (user_config_dir / "notes.txt").read_text() == "operator notes\n"
|
|
@@ -54,12 +54,14 @@ from tests.helpers.fakes import (
|
|
|
54
54
|
FakeDiffCommand,
|
|
55
55
|
FakePathChecker,
|
|
56
56
|
FakeRenderCommand,
|
|
57
|
+
FakeUserConfigScaffolder,
|
|
57
58
|
make_apply_result,
|
|
58
59
|
make_configure_result,
|
|
59
60
|
make_diff_result,
|
|
60
61
|
make_diff_result_with_kept_file,
|
|
61
62
|
make_render_result,
|
|
62
63
|
)
|
|
64
|
+
from tests.helpers.printers import RecordingPrinter
|
|
63
65
|
|
|
64
66
|
# ---------------------------------------------------------------------------
|
|
65
67
|
# Helpers
|
|
@@ -79,6 +81,8 @@ def _make_command(
|
|
|
79
81
|
gatherer_responses: dict[str, Any] | None = None,
|
|
80
82
|
path_checker: FakePathChecker | None = None,
|
|
81
83
|
compatibility_reporter: Any | None = None,
|
|
84
|
+
user_config_scaffolder: FakeUserConfigScaffolder | None = None,
|
|
85
|
+
printer: RecordingPrinter | None = None,
|
|
82
86
|
) -> tuple[
|
|
83
87
|
UpdateCommand,
|
|
84
88
|
FakeCurrentVersionResolver,
|
|
@@ -101,9 +105,10 @@ def _make_command(
|
|
|
101
105
|
diff=diff,
|
|
102
106
|
apply=apply,
|
|
103
107
|
input_gatherer=gatherer,
|
|
104
|
-
printer=SilentPrinter(),
|
|
108
|
+
printer=printer or SilentPrinter(),
|
|
105
109
|
repository=InMemoryDeploymentStateRepository(),
|
|
106
110
|
compatibility_reporter=compatibility_reporter or FakeCompatibilityReporter(),
|
|
111
|
+
user_config_scaffolder=user_config_scaffolder or FakeUserConfigScaffolder(),
|
|
107
112
|
path_checker=path_checker or FakePathChecker(),
|
|
108
113
|
)
|
|
109
114
|
return command, resolver, configure, render, diff, apply, gatherer
|
|
@@ -596,3 +601,83 @@ class TestUpdateCommandUserConfigDetection:
|
|
|
596
601
|
assert self._KEY not in gatherer.used_keys
|
|
597
602
|
assert configure.last_args is not None
|
|
598
603
|
assert configure.last_args.from_config is None
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
# ---------------------------------------------------------------------------
|
|
607
|
+
# user_config/ scaffolding
|
|
608
|
+
# ---------------------------------------------------------------------------
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
class TestUpdateCommandUserConfigScaffold:
|
|
612
|
+
"""A deployment migrated before 3.3.0 has no user_config/; update creates it."""
|
|
613
|
+
|
|
614
|
+
def test_scaffolds_user_config_when_missing(self) -> None:
|
|
615
|
+
scaffolder = FakeUserConfigScaffolder()
|
|
616
|
+
command, *_ = _make_command(user_config_scaffolder=scaffolder)
|
|
617
|
+
result = command.run(UpdateCommandArgs(app_root=APP_ROOT))
|
|
618
|
+
|
|
619
|
+
assert scaffolder.call_count == 1
|
|
620
|
+
assert scaffolder.called_with_app_root == APP_ROOT
|
|
621
|
+
assert result.user_config_scaffolded is True
|
|
622
|
+
|
|
623
|
+
def test_tells_the_operator_where_user_config_is(self) -> None:
|
|
624
|
+
printer = RecordingPrinter()
|
|
625
|
+
command, *_ = _make_command(printer=printer)
|
|
626
|
+
command.run(UpdateCommandArgs(app_root=APP_ROOT))
|
|
627
|
+
|
|
628
|
+
user_config_dir = DeploymentPaths.user_config_dir_for_root(APP_ROOT)
|
|
629
|
+
assert any(str(user_config_dir) in m for m in printer.messages)
|
|
630
|
+
|
|
631
|
+
def test_leaves_an_existing_user_config_alone(self) -> None:
|
|
632
|
+
checker = FakePathChecker()
|
|
633
|
+
checker.set_exists("user_config", True)
|
|
634
|
+
scaffolder = FakeUserConfigScaffolder()
|
|
635
|
+
command, *_ = _make_command(path_checker=checker, user_config_scaffolder=scaffolder)
|
|
636
|
+
result = command.run(UpdateCommandArgs(app_root=APP_ROOT))
|
|
637
|
+
|
|
638
|
+
assert scaffolder.call_count == 0
|
|
639
|
+
assert result.user_config_scaffolded is False
|
|
640
|
+
|
|
641
|
+
def test_scaffolds_even_when_configure_fails(self) -> None:
|
|
642
|
+
"""A stale TLS path fails in configure; the folder for the fix must exist by then."""
|
|
643
|
+
scaffolder = FakeUserConfigScaffolder()
|
|
644
|
+
command, *_ = _make_command(
|
|
645
|
+
configure_raises=ConfigureError("Certificate file not found"),
|
|
646
|
+
user_config_scaffolder=scaffolder,
|
|
647
|
+
)
|
|
648
|
+
with pytest.raises(UpdateError):
|
|
649
|
+
command.run(UpdateCommandArgs(app_root=APP_ROOT))
|
|
650
|
+
|
|
651
|
+
assert scaffolder.call_count == 1
|
|
652
|
+
|
|
653
|
+
def test_reports_the_scaffold_when_diff_aborted(self) -> None:
|
|
654
|
+
command, *_ = _make_command(diff_result=make_diff_result_with_kept_file())
|
|
655
|
+
result = command.run(UpdateCommandArgs(app_root=APP_ROOT))
|
|
656
|
+
|
|
657
|
+
assert result.aborted is True
|
|
658
|
+
assert result.user_config_scaffolded is True
|
|
659
|
+
|
|
660
|
+
def test_a_failed_scaffold_warns_and_the_update_goes_on(self) -> None:
|
|
661
|
+
"""A dangling user_config symlink makes mkdir raise; that must not stop the update."""
|
|
662
|
+
|
|
663
|
+
class _RaisingScaffolder(FakeUserConfigScaffolder):
|
|
664
|
+
def scaffold(self, app_root: Path) -> None:
|
|
665
|
+
raise FileExistsError(17, "File exists", str(app_root / "user_config"))
|
|
666
|
+
|
|
667
|
+
printer = RecordingPrinter()
|
|
668
|
+
command, _, _, _, _, apply, _ = _make_command(
|
|
669
|
+
user_config_scaffolder=_RaisingScaffolder(), printer=printer
|
|
670
|
+
)
|
|
671
|
+
result = command.run(UpdateCommandArgs(app_root=APP_ROOT))
|
|
672
|
+
|
|
673
|
+
assert apply.last_args is not None
|
|
674
|
+
assert result.user_config_scaffolded is False
|
|
675
|
+
assert any("Could not create" in w for w in printer.warnings)
|
|
676
|
+
|
|
677
|
+
def test_does_not_scaffold_when_no_deployment_exists(self) -> None:
|
|
678
|
+
scaffolder = FakeUserConfigScaffolder()
|
|
679
|
+
command, *_ = _make_command(current_version=None, user_config_scaffolder=scaffolder)
|
|
680
|
+
with pytest.raises(UpdateError):
|
|
681
|
+
command.run(UpdateCommandArgs(app_root=APP_ROOT))
|
|
682
|
+
|
|
683
|
+
assert scaffolder.call_count == 0
|
|
@@ -8,6 +8,7 @@ from octopize_avatar_deploy.application.deployment_paths import DeploymentPaths
|
|
|
8
8
|
from octopize_avatar_deploy.application.user_config import resolve_user_config
|
|
9
9
|
from octopize_avatar_deploy.input_gatherer import MockInputGatherer
|
|
10
10
|
from octopize_avatar_deploy.printer import SilentPrinter
|
|
11
|
+
from tests.helpers.printers import RecordingPrinter
|
|
11
12
|
|
|
12
13
|
_KEY = "test.use_user_config"
|
|
13
14
|
_YAML_CONTENT = "PUBLIC_URL: avatar.example.com\n"
|
|
@@ -91,6 +92,39 @@ class TestResolveUserConfig:
|
|
|
91
92
|
_write(tmp_path, "staging.yaml")
|
|
92
93
|
assert _call(tmp_path, response=True) is None
|
|
93
94
|
|
|
95
|
+
def test_ambiguous_multiple_yamls_warns_and_names_the_files(self, tmp_path: Path) -> None:
|
|
96
|
+
_write(tmp_path, "config.yaml")
|
|
97
|
+
_write(tmp_path, "config.old.yml")
|
|
98
|
+
printer = RecordingPrinter()
|
|
99
|
+
result = resolve_user_config(
|
|
100
|
+
tmp_path,
|
|
101
|
+
None,
|
|
102
|
+
interactive=True,
|
|
103
|
+
input_gatherer=MockInputGatherer(responses={}),
|
|
104
|
+
printer=printer,
|
|
105
|
+
prompt_key=_KEY,
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
assert result is None
|
|
109
|
+
assert len(printer.warnings) == 1
|
|
110
|
+
assert "config.yaml" in printer.warnings[0]
|
|
111
|
+
assert "config.old.yml" in printer.warnings[0]
|
|
112
|
+
assert "--from-config" in printer.warnings[0]
|
|
113
|
+
|
|
114
|
+
def test_no_warning_when_only_the_example_is_present(self, tmp_path: Path) -> None:
|
|
115
|
+
_write(tmp_path, "config.example.yaml")
|
|
116
|
+
printer = RecordingPrinter()
|
|
117
|
+
resolve_user_config(
|
|
118
|
+
tmp_path,
|
|
119
|
+
None,
|
|
120
|
+
interactive=True,
|
|
121
|
+
input_gatherer=MockInputGatherer(responses={}),
|
|
122
|
+
printer=printer,
|
|
123
|
+
prompt_key=_KEY,
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
assert printer.warnings == []
|
|
127
|
+
|
|
94
128
|
def test_example_yaml_excluded_from_candidates(self, tmp_path: Path) -> None:
|
|
95
129
|
_write(tmp_path, "config.example.yaml")
|
|
96
130
|
assert _call(tmp_path) is None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{octopize_deploy_tool-3.6.0 → octopize_deploy_tool-3.7.0}/src/octopize_avatar_deploy/app_root.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|