cloudfall 0.8.0rc5__tar.gz → 0.8.0rc7__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.
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/ARCHITECTURE.md +4 -3
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/PKG-INFO +1 -1
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/ROADMAP.md +3 -3
- cloudfall-0.8.0rc7/changelog.d/113-component-build-validation.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/114-refuse-node-runtimes.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/115-component-build-steps.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/116-converge-one-domain.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/117-domains-apply.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/118-domains-observe.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/119-release-command.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/120-release-command-plan.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/121-owned-postgresql-validation.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/122-owned-postgresql-converge.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/123-postgresql-remote-access.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/143-audit-remote-access.md +3 -0
- cloudfall-0.8.0rc7/changelog.d/144-pg-hba-reload-and-names.md +4 -0
- cloudfall-0.8.0rc7/changelog.d/90-domain-upstream-early.md +3 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/artifact.schema.json +44 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/component.schema.json +113 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/deployment-receipt.schema.json +11 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/operator-proposal.schema.json +56 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/release-receipt.schema.json +38 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/service.schema.json +103 -3
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/render-migration-guide.md +2 -1
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/secrets-guide.md +32 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/specs/002-component-build-steps.md +21 -1
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/specs/004-domains-apply.md +25 -1
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/specs/005-release-command.md +18 -1
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/specs/006-standalone-postgresql.md +15 -3
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/specs/007-data-copy-schemas.md +4 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/README.md +53 -3
- cloudfall-0.8.0rc7/engine/ansible/playbooks/deploy.yml +85 -0
- cloudfall-0.8.0rc7/engine/ansible/playbooks/domains-observe.yml +134 -0
- cloudfall-0.8.0rc7/engine/ansible/playbooks/domains.yml +75 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/playbooks/services.yml +7 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_deploy/defaults/main.yml +7 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_deploy/meta/argument_specs.yml +24 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_deploy/tasks/main.yml +36 -1
- cloudfall-0.8.0rc7/engine/ansible/roles/cloudfall_deploy/tasks/release_command.yml +88 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_firewall/meta/argument_specs.yml +6 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_firewall/tasks/main.yml +23 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_firewall/templates/nftables.conf.j2 +8 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_nginx_site/tasks/main.yml +16 -0
- cloudfall-0.8.0rc7/engine/ansible/roles/cloudfall_postgresql/defaults/main.yml +12 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_postgresql/meta/argument_specs.yml +50 -1
- cloudfall-0.8.0rc7/engine/ansible/roles/cloudfall_postgresql/tasks/main.yml +573 -0
- cloudfall-0.8.0rc7/engine/ansible/roles/cloudfall_postgresql/tasks/owner_password.yml +40 -0
- cloudfall-0.8.0rc7/engine/ansible/roles/cloudfall_postgresql/templates/cloudfall.conf.j2 +10 -0
- cloudfall-0.8.0rc7/engine/ansible/roles/cloudfall_postgresql/templates/pg_hba-remote-access.j2 +5 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/src/cloudfall_engine/ansible_inventory.py +34 -5
- cloudfall-0.8.0rc7/engine/src/cloudfall_engine/artifact.py +585 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/src/cloudfall_engine/cli.py +309 -16
- cloudfall-0.8.0rc7/engine/tests/golden/examples/ansible-inventory.json +1 -0
- cloudfall-0.8.0rc7/engine/tests/golden/examples/h1/nftables.conf +27 -0
- cloudfall-0.8.0rc7/engine/tests/golden/examples/h1/postgresql-main/backup.sh +15 -0
- cloudfall-0.8.0rc7/engine/tests/golden/examples/h1/postgresql-main/cloudfall.conf +3 -0
- cloudfall-0.8.0rc7/engine/tests/golden/examples/h1/postgresql-main/restore-check.sh +25 -0
- cloudfall-0.8.0rc7/engine/tests/golden/examples/h2/nftables.conf +27 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/tests/test_ansible_inventory.py +32 -0
- cloudfall-0.8.0rc7/engine/tests/test_artifact_build_steps.py +771 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/tests/test_artifact_builder.py +13 -0
- cloudfall-0.8.0rc7/engine/tests/test_domains_certificate.py +68 -0
- cloudfall-0.8.0rc7/engine/tests/test_domains_one_domain.py +179 -0
- cloudfall-0.8.0rc7/engine/tests/test_domains_playbook.py +161 -0
- cloudfall-0.8.0rc7/engine/tests/test_examples_render_unchanged.py +103 -0
- cloudfall-0.8.0rc7/engine/tests/test_postgresql_owner_role.py +414 -0
- cloudfall-0.8.0rc7/engine/tests/test_postgresql_remote_access.py +654 -0
- cloudfall-0.8.0rc7/engine/tests/test_release_command.py +644 -0
- cloudfall-0.8.0rc7/engine/tests/test_services_passwords.py +279 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/pyproject.toml +1 -1
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/README.md +21 -5
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/agent_server.py +7 -4
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/agent_tools.py +13 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/app.py +324 -27
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/audit.py +107 -22
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/commands.py +73 -9
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/domain.py +274 -1
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/importer.py +23 -36
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/inventory.py +312 -2
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/lifecycle.py +641 -21
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/migrate.py +36 -3
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/operator.py +59 -11
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/secrets.py +208 -6
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/service_evidence.py +56 -29
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/validation.py +307 -3
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_agent_server.py +23 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_audit.py +227 -1
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_commands.py +1 -0
- cloudfall-0.8.0rc7/sdk/tests/test_component_build_validation.py +247 -0
- cloudfall-0.8.0rc7/sdk/tests/test_domains_apply.py +606 -0
- cloudfall-0.8.0rc7/sdk/tests/test_domains_converge.py +345 -0
- cloudfall-0.8.0rc7/sdk/tests/test_domains_observe.py +623 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_importer.py +33 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_inventory.py +53 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_lifecycle.py +47 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_migrate.py +52 -0
- cloudfall-0.8.0rc7/sdk/tests/test_owned_postgresql.py +372 -0
- cloudfall-0.8.0rc7/sdk/tests/test_owned_postgresql_converge.py +537 -0
- cloudfall-0.8.0rc7/sdk/tests/test_release_command_plan.py +323 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_validation.py +113 -0
- cloudfall-0.8.0rc5/engine/ansible/playbooks/deploy.yml +0 -35
- cloudfall-0.8.0rc5/engine/ansible/playbooks/domains.yml +0 -21
- cloudfall-0.8.0rc5/engine/ansible/roles/cloudfall_postgresql/defaults/main.yml +0 -6
- cloudfall-0.8.0rc5/engine/ansible/roles/cloudfall_postgresql/tasks/main.yml +0 -295
- cloudfall-0.8.0rc5/engine/ansible/roles/cloudfall_postgresql/templates/cloudfall.conf.j2 +0 -3
- cloudfall-0.8.0rc5/engine/src/cloudfall_engine/artifact.py +0 -267
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/.ansible-lint +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/.gitignore +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/CHANGELOG.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/CODE_OF_CONDUCT.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/CONTRIBUTING.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/LICENSE +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/MANIFESTO.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/README.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/SECURITY.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/Taskfile.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/changelog.d/89-ci-deploy-guide.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/changelog.d/96-healthcheck-none.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/changelog.d/97-stale-proposals.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/changelog.d/README.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/README.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/alert-rules/postgresql-down.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/applications/crm.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/components/crm-backend.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/domains/crm-site.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/logging-stacks/operations.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/operator-policies/production.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/server-types/debian-application.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/servers/h1.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/servers/h2.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/services/postgresql-main.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/services/redis-cache.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/examples/ssh-public-keys/example-admin.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/agent-investigation.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/alert-rule.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/application.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/backup-receipt.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/common.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/domain.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/environment-receipt.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/logging-stack.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/observed-domain.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/observed-server.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/operation-decision.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/operation.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/operator-policy.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/server-type.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/server.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/schemas/v1/ssh-public-key.schema.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/tests/invalid/missing-server/applications/crm.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/tests/invalid/missing-server/components/crm-backend.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/tests/invalid/missing-server/server-types/debian-application.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/tests/invalid/missing-server/servers/h1.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/tests/invalid/schema/components/component-unknown-field.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/tests/observed/compliant/h1.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/config/tests/observed/compliant/h2.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/README.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/.gitignore +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/ansible.cfg +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/inventories/production/hosts.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/operations/converge.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/operations/disk-report.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/operations/journal-vacuum.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/operations/postgresql-reinit.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/operations/postgresql-restart.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/operations/service-logs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/operations/shop-logrotate.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/playbooks/disk-report.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/playbooks/journal-vacuum.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/playbooks/postgresql-reinit.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/playbooks/postgresql-restart.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/playbooks/postgresql.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/playbooks/service-logs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/playbooks/shop-logrotate.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/playbooks/shop.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/disk-report-20261008170744.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/disk-report-20261008170744.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/journal-vacuum-20261008171016.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/journal-vacuum-20261008171016.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/postgresql-reinit-20261008171010.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/postgresql-reinit-20261008171010.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/postgresql-restart-20261008170624.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/postgresql-restart-20261008170624.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/service-logs-20261008170612.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/service-logs-20261008170612.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/service-logs-20261008170740.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/service-logs-20261008170740.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/service-logs-20261008170742.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/service-logs-20261008170742.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/service-logs-20261008170838.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/service-logs-20261008170838.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/service-logs-20261008170920.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/service-logs-20261008170920.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/shop-logrotate-20261008170752.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full/shop-logrotate-20261008170752.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full-approved/disk-report-20261008204348.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full-approved/disk-report-20261008204348.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full-approved/disk-report-20261008204421.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full-approved/disk-report-20261008204421.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full-approved/postgresql-restart-20261008204358.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full-approved/postgresql-restart-20261008204358.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full-approved/shop-logrotate-20261008204351.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/recordings/disk-full-approved/shop-logrotate-20261008204351.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/scenario/break.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/incident/site.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/pyproject.toml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/src/cloudfall_demo/__init__.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/src/cloudfall_demo/server.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/src/cloudfall_demo/static/evaluation.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/src/cloudfall_demo/static/index.html +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/tests/test_demo.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/demo/uv.lock +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/ansible-context.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/assets/logo.svg +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/availability-design.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/brownfield-design.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/ci-deploy-guide.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/decisions/2026-09-14-no-ansible-replacement.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/decisions/2026-09-14-no-nixos-base.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/decisions/2026-09-14-no-rust-rewrite.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/decisions.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/fleet-goals.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/getting-started.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/hybrid-storage-design.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/images/demo.png +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/landscape.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/logging-service-guide.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/neon-migration-guide.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/new-server-storage-guide.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/operator-guide.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-09-08-debian-container-m1.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-09-08-dns-cutover.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-09-08-guided-data-migration.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-09-08-hetzner-m1.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-09-08-hetzner-m2-m3.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-09-08-hetzner-m4-m5.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-09-08-render-cutover.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-09-10-hetzner-m7.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-09-10-hetzner-m8.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-09-10-hetzner-m9.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-09-11-hetzner-m10.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/proving-runs/2026-10-08-disk-full-agent.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/docs/specs/001-stale-proposals.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/ansible.cfg +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/playbooks/backup.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/playbooks/baseline.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/playbooks/bootstrap.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/playbooks/data.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/playbooks/health.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/playbooks/inspect.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/playbooks/logging.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/playbooks/restart.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/playbooks/rollback.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/playbooks/time.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_access/defaults/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_access/handlers/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_access/meta/argument_specs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_access/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_access/tasks/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_bootstrap/defaults/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_bootstrap/meta/argument_specs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_bootstrap/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_bootstrap/tasks/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_data_migration/defaults/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_data_migration/meta/argument_specs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_data_migration/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_data_migration/tasks/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_deploy/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_deploy/tasks/health.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_deploy/tasks/health_gate.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_deploy/tasks/restart.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_deploy/tasks/rollback.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_deploy/templates/component.service.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_firewall/defaults/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_firewall/handlers/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_firewall/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_inspect/defaults/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_inspect/meta/argument_specs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_inspect/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_inspect/tasks/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/defaults/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/handlers/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/meta/argument_specs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/tasks/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/templates/alertmanager-defaults.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/templates/alertmanager.yaml.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/templates/grafana.ini.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/templates/loki-datasource.yml.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/templates/loki-systemd-override.conf.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/templates/loki.yaml.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/templates/nginx-loki-gateway.conf.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/templates/prometheus-datasource.yml.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/templates/prometheus-defaults.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/templates/prometheus-rules.yaml.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_backend/templates/prometheus.yaml.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_collector/defaults/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_collector/handlers/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_collector/meta/argument_specs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_collector/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_collector/tasks/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_collector/templates/alloy-systemd-override.conf.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_logging_collector/templates/config.alloy.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_nginx_site/defaults/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_nginx_site/handlers/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_nginx_site/meta/argument_specs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_nginx_site/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_nginx_site/tasks/apply_virtual_host.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_nginx_site/templates/domain-site.conf.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_postgresql/handlers/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_postgresql/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_postgresql/templates/backup.service.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_postgresql/templates/backup.sh.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_postgresql/templates/backup.timer.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_postgresql/templates/restore-check.service.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_postgresql/templates/restore-check.sh.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_postgresql/templates/restore-check.timer.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/defaults/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/handlers/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/meta/argument_specs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/tasks/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/templates/backup.service.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/templates/backup.sh.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/templates/backup.timer.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/templates/cloudfall.conf.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/templates/restore-check.service.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/templates/restore-check.sh.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_redis/templates/restore-check.timer.j2 +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_time/defaults/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_time/meta/argument_specs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_time/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_time/tasks/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_unattended_upgrades/defaults/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_unattended_upgrades/meta/argument_specs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_unattended_upgrades/meta/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/ansible/roles/cloudfall_unattended_upgrades/tasks/main.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/src/cloudfall_engine/__init__.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/src/cloudfall_engine/__main__.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/src/cloudfall_engine/playbook.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/src/cloudfall_engine/py.typed +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/tests/test_deploy_role.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/tests/test_deploy_templates.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/tests/test_firewall_templates.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/tests/test_logging_templates.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/tests/test_nginx_site_role.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/tests/test_nginx_site_templates.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/tests/test_playbook.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/tests/test_postgresql_templates.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/engine/tests/test_time_role.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/.gitignore +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/README.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/ansible.cfg +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/inventories/production/hosts.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/operations/converge.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/operations/disk-report.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/operations/journal-vacuum.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/operations/postgresql-reinit.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/operations/postgresql-restart.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/operations/service-logs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/operations/shop-logrotate.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/playbooks/disk-report.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/playbooks/journal-vacuum.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/playbooks/postgresql-reinit.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/playbooks/postgresql-restart.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/playbooks/postgresql.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/playbooks/service-logs.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/playbooks/shop-logrotate.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/playbooks/shop.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/disk-report-20261008170744.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/disk-report-20261008170744.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/journal-vacuum-20261008171016.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/journal-vacuum-20261008171016.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/postgresql-reinit-20261008171010.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/postgresql-reinit-20261008171010.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/postgresql-restart-20261008170624.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/postgresql-restart-20261008170624.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/service-logs-20261008170612.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/service-logs-20261008170612.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/service-logs-20261008170740.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/service-logs-20261008170740.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/service-logs-20261008170742.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/service-logs-20261008170742.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/service-logs-20261008170838.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/service-logs-20261008170838.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/service-logs-20261008170920.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/service-logs-20261008170920.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/shop-logrotate-20261008170752.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full/shop-logrotate-20261008170752.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full-approved/disk-report-20261008204348.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full-approved/disk-report-20261008204348.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full-approved/disk-report-20261008204421.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full-approved/disk-report-20261008204421.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full-approved/postgresql-restart-20261008204358.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full-approved/postgresql-restart-20261008204358.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full-approved/shop-logrotate-20261008204351.diff +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/recordings/disk-full-approved/shop-logrotate-20261008204351.json +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/scenario/break.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/disk-full-incident/site.yml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/render-demo/README.md +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/render-demo/pyproject.toml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/render-demo/render.yaml +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/render-demo/src/demo/__init__.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/render-demo/src/demo/asgi.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/examples/render-demo/uv.lock +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/__init__.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/__main__.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/ansible_api.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/ansible_reader.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/authoring.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/callback_plugins/__init__.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/callback_plugins/cloudfall_host_stats.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/catalog.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/cli.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/cutover.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/dashboard.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/dashboard_server.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/decision.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/investigation.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/observation.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/observe.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/operations.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/project.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/py.typed +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/recording.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/render_api.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/resources.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/src/cloudfall/why.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_ansible_reader.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_app.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_arguments.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_authoring.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_catalog.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_cutover.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_dashboard_server.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_data_migration.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_decision.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_host_stats.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_investigation.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_observe.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_operations_dashboard.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_operator.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_project.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_render_api.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_resources.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_secrets.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_service_evidence.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_stale.py +0 -0
- {cloudfall-0.8.0rc5 → cloudfall-0.8.0rc7}/sdk/tests/test_why.py +0 -0
|
@@ -161,9 +161,10 @@ automatic or manual per application.
|
|
|
161
161
|
## Supported workloads
|
|
162
162
|
|
|
163
163
|
Applications run as native systemd units on long-lived Debian hosts, not
|
|
164
|
-
in containers. The
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
in containers. The deployable stack today is Python (uv, Gunicorn/Uvicorn,
|
|
165
|
+
Celery); Node.js runtimes are reserved in the schema and refused by
|
|
166
|
+
`cloudfall config validate` until they ship. Anything that runs as a systemd
|
|
167
|
+
service with a health endpoint fits the model.
|
|
167
168
|
|
|
168
169
|
## Infrastructure model
|
|
169
170
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: cloudfall
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.0rc7
|
|
4
4
|
Summary: The operator's record for self-hosted servers run by an AI agent: Ansible executes, Cloudfall gates, verifies and keeps the receipts
|
|
5
5
|
Project-URL: Homepage, https://cloudfall.dev
|
|
6
6
|
Project-URL: Repository, https://github.com/cloudfall-dev/cloudfall
|
|
@@ -136,9 +136,9 @@ records an explicit origin skip when origin and proxy share a host.
|
|
|
136
136
|
[guided data-migration report](docs/proving-runs/2026-09-08-guided-data-migration.md))
|
|
137
137
|
- Cutover generator: DNS TTL lowering, parallel-run verification, switch, and
|
|
138
138
|
a rollback window (DNS steps surface in the import report today)
|
|
139
|
-
- v1 limitation: native Python
|
|
140
|
-
|
|
141
|
-
the gap report)
|
|
139
|
+
- v1 limitation: native Python (uv) services; Node and container runtimes
|
|
140
|
+
are not deployable ✔ (documented and enforced: `config validate` refuses a
|
|
141
|
+
Node runtime, and Node and container services land in the gap report)
|
|
142
142
|
|
|
143
143
|
Exit: a real PaaS application migrated onto one host with its data, TLS,
|
|
144
144
|
monitoring, and rollback path. **Met on 2026-09-08** in two stages: a
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Added
|
|
2
|
+
|
|
3
|
+
- A Component can declare `spec.buildTools` (tool name to minimum version), `spec.build` (ordered steps, each a `workingDirectory` inside the packaged root, an argv `command` and an optional `timeoutSeconds` from 1 to 3600, default 900) and `spec.artifact.include` (relative paths the build produces); `cloudfall config validate` refuses a step whose `command[0]` is not in `buildTools` (`component_build_tool_undeclared`), an absolute or `..` path, and `buildTools` or `artifact` without `build`. Validation only: `artifact build` does not run the steps yet. Components without `build` validate as before (#113)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Changed
|
|
2
|
+
|
|
3
|
+
- **Breaking:** `cloudfall config validate` now refuses a Component with `runtime.type` `node` or `pm2`, or `runtime.packageManager` `npm`, `pnpm` or `yarn`, with `CONFIG_INVALID` and code `component_runtime_unsupported` naming the field: these configs validated before but could never deploy, since the deploy role runs only Python with uv. The schema keeps those values as reserved. The Render importer no longer writes a Component for a Node service; it lists the service as an unsupported gap instead (#114)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Added
|
|
2
|
+
|
|
3
|
+
- `cloudfall-engine artifact build` runs a Component's declared `spec.build` steps on the controller before packaging: it checks every `spec.buildTools` entry is on `PATH` at its minimum version before cloning (`artifact_build_tool_missing`, `artifact_build_tool_unsupported`), runs each step in the clean checkout with only `PATH`, `HOME`, `LANG`, `TMPDIR` and `CI=true` in its environment and its output on stderr, fails without writing an archive on a non-zero exit or a step outrunning its own `timeoutSeconds` (`artifact_build_step_failed`), a missing include path (`artifact_include_missing`), an include path that leads out of the checkout through a symlink (`artifact_include_outside_checkout`) or a tracked file a step deleted (`artifact_tracked_file_missing`), packages the tracked files plus every `spec.artifact.include` path (a gitignored `web/dist`, say), and records the steps and tool versions as the new optional `spec.build` of the Artifact metadata. The command's time limit is now the clone time (1800 seconds) plus every declared step timeout, on the CLI and the SDK/MCP path alike; an explicit `--timeout` replaces it, and `--timeout 0` still disables it. A Component without `build` is packaged as before (#115)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Added
|
|
2
|
+
|
|
3
|
+
- The `converge_domains` MCP tool takes an optional `domain`: given, `domains.yml` runs only on that Domain's proxy server (`--limit`) and renders only that Domain, and an unknown id exits `PRECONDITION` (`lifecycle_domain_missing`) before the inventory render; omitted, it runs on every server as before. Each domain receipt now records `previousConfigurationSha256`, the sha256 of the vhost file the run replaced, or `null` when none was there; receipts without it still load (#116)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Added
|
|
2
|
+
|
|
3
|
+
- `cloudfall domains apply <domain> [--issue-certificate] [--yes]` converges one Domain: `domains.yml` runs on its proxy server alone and renders only it, so no baseline, firewall or service task runs. Without `--yes` it exits 0 with a plan. `--issue-certificate` refuses a Domain with `tls.mode: disabled`, and first checks on the controller that the primary name and every alias resolve to the proxy server (`PRECONDITION`, `domains_dns_unverified`, naming each failing name); a `proxied` Domain skips the check (`dnsCheck: "skipped-proxied"`). With `--yes` it answers the receipt path under `--deployments` (#117)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Added
|
|
2
|
+
|
|
3
|
+
- `cloudfall domains observe <domain>` reads one Domain on its proxy server alone, through the new read-only `domains-observe.yml`: the vhost file and its sha256, the certificate's expiry, `certbot.timer`, and whether the vhost still matches the last receipt (`receipt: null` before the first). It changes nothing on the server or in the project, and a missing vhost exits 0. `cloudfall mcp serve` lists `domains_apply` (with its `yes` gate) and `domains_observe` as tools (#118)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Added
|
|
2
|
+
|
|
3
|
+
- Components: a `release.command` (with optional `workingDirectory` and `timeoutSeconds`, 1 to 1800, default 300) runs once per deploy on the first server of `deployment.servers`, which now deploys first, after the release's dependencies are materialized and before the unit file changes or `current` moves; it runs as the application's user with the component's env file loaded under systemd's `EnvironmentFile=` rules. A non-zero exit or a timeout fails the deploy with `ENGINE_STEP_FAILED` before any server switches, and a passing run is recorded as `releaseCommand` (server, command, exit code, last 2000 characters of output) in every release receipt of that deploy (#119)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Added
|
|
2
|
+
|
|
3
|
+
- `deploy` without `--yes` shows the component's release command as `release_command` (its command, the working directory resolved under the new release directory, `timeout_seconds` and the release server), or `null` for a component without one, and says in `would_run` that it runs once on that server before any switch; the `rollback` plan of a component with a release command shows `release_command_skipped: true`, since a rollback never runs it (#120)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Added
|
|
2
|
+
|
|
3
|
+
- A PostgreSQL `Service` database may name an `owner` role and its `passwordRef` (`environment`, `path`, `key` in the secrets store) instead of an `application`, so a project of a server and its database alone validates; `spec.postgresql.remoteAccess` declares a listen address and the client networks allowed in. `config validate` refuses an entry with both or neither of `application` and `owner`, an `owner` without `passwordRef` or a `passwordRef` next to `application`, a reserved owner (`service_database_owner_reserved`), and a `remoteAccess` with no owner database, no firewall, the port already open, or a source of every address. Converging these declarations comes later: until then the PostgreSQL role refuses them before any task runs (#121)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Added
|
|
2
|
+
|
|
3
|
+
- `services.yml` converges a PostgreSQL database owned by a declared role: it creates the `owner` login role, sets its password from `passwordRef` as SCRAM-SHA-256 on every converge, and gives it the database; backups, the restore drill, and `data copy` (restoring as the owner, its receipt's `spec.owner`) cover it like any other database. Every path that runs `services.yml` (the `converge_services` MCP tool, the `services` step of `cloudfall migrate`, `operator approve` and `operator run`, and `cloudfall-engine playbook run services.yml`) reads the password from a `--secrets-dir` flag (default `secrets`) and stages it in a 0600 file in a private temp dir outside the project, removed after the run; the value is in no inventory, command line, Ansible output, answer, or receipt, and the answer's `owned_roles` names the reference, the key, and the value's SHA-256; `operator approve` records them as `ownedRoles` in the proposal receipt's `outcome` (an optional property) and `operator run` in each executed proposal's entry. A missing secrets file or key fails with `PRECONDITION` naming the expected path and key before any playbook runs (#122)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Added
|
|
2
|
+
|
|
3
|
+
- A PostgreSQL service with `spec.postgresql.remoteAccess` opens to its declared sources over TLS: `services.yml` sets `listen_addresses = '127.0.0.1,<listenAddress>'` and `ssl = on` with the Debian `ssl-cert` snakeoil pair (restarting the cluster), and writes one `hostssl <database> <owner> <cidr> scram-sha-256` line per owned database and source between Cloudfall markers in `pg_hba.conf`, reloading only after `pg_hba_file_rules` reports no error; `baseline.yml` adds one `ip saddr`/`ip6 saddr <cidr> tcp dport <port> accept` rule per source, rendered as a `cloudfall_firewall.allowedInbound` entry with a new optional `sources` list. Removing `remoteAccess` resets the listener and removes the `pg_hba.conf` block and the firewall rule; databases named by `application` stay socket-only (#123)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Fixed
|
|
2
|
+
|
|
3
|
+
- `cloudfall audit` no longer reports drift on a server whose PostgreSQL service declares `spec.postgresql.remoteAccess`: `firewall.allowedInbound` expects one `tcp/<port> from <cidr>` entry per declared source and reads the `ip saddr`/`ip6 saddr` match of each accepted nftables rule (a single address printed bare by nft compares equal to its `/32` or `/128`), and `services.bind[<id>]` requires a listener on the declared `listenAddress` as well as on the bind address, reporting `loopbackOnly: false` and a `remoteAccess.listenAddress` key for such a service; a missing `listenAddress` listener, any other non-loopback listener, an unrestricted rule on the port and an undeclared source are drift. Servers without `remoteAccess` audit exactly as before. The engine and the audit now derive the source-restricted rules from one SDK function, `remote_access_rules_for_server` (#143)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
### Fixed
|
|
2
|
+
|
|
3
|
+
- A `pg_hba.conf` reload that failed is no longer forgotten: `services.yml` leaves a marker file at `/var/lib/cloudfall/postgresql/<service>.pg_hba-reload-pending` when it closes remote access after a failed check or reload, and the next converge checks and reloads `pg_hba.conf` even though the file is unchanged, then removes the marker, so the old `hostssl` lines no longer stay live until a restart (#144)
|
|
4
|
+
- `cloudfall config validate` refuses an owned database or owner named `all`, `sameuser`, `samerole`, `samegroup` or `replication` on a PostgreSQL service with `remoteAccess`, as `CONFIG_INVALID` with code `service_remote_access_name_reserved`, instead of leaving the refusal to the converge; without `remoteAccess` those names still validate (#144)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
### Fixed
|
|
2
|
+
|
|
3
|
+
- `domains.yml` now fails before it changes any server when a Domain it would render has no `proxy.upstream`, and names every such Domain; before, the site role's assert stopped the run only on that Domain's server, after `serial: 1` had already converged the servers before it. `upstream` stays optional in the schema, for a Domain the fleet routes with its own proxy (#90)
|
|
@@ -46,6 +46,50 @@
|
|
|
46
46
|
"sizeBytes": {
|
|
47
47
|
"type": "integer",
|
|
48
48
|
"minimum": 1
|
|
49
|
+
},
|
|
50
|
+
"build": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"steps": {
|
|
54
|
+
"type": "array",
|
|
55
|
+
"minItems": 1,
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"workingDirectory": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"minLength": 1
|
|
62
|
+
},
|
|
63
|
+
"command": {
|
|
64
|
+
"type": "array",
|
|
65
|
+
"minItems": 1,
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"minLength": 1
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": [
|
|
73
|
+
"workingDirectory",
|
|
74
|
+
"command"
|
|
75
|
+
],
|
|
76
|
+
"additionalProperties": false
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"tools": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"minProperties": 1,
|
|
82
|
+
"additionalProperties": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"pattern": "^[0-9]{1,9}(?:\\.[0-9]{1,9}){0,7}$"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"required": [
|
|
89
|
+
"steps",
|
|
90
|
+
"tools"
|
|
91
|
+
],
|
|
92
|
+
"additionalProperties": false
|
|
49
93
|
}
|
|
50
94
|
},
|
|
51
95
|
"required": [
|
|
@@ -124,6 +124,34 @@
|
|
|
124
124
|
],
|
|
125
125
|
"additionalProperties": false
|
|
126
126
|
},
|
|
127
|
+
"release": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"command": {
|
|
131
|
+
"type": "array",
|
|
132
|
+
"items": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"minLength": 1
|
|
135
|
+
},
|
|
136
|
+
"minItems": 1
|
|
137
|
+
},
|
|
138
|
+
"workingDirectory": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"minLength": 1,
|
|
141
|
+
"pattern": "^(?!/)(?!.*(?:^|/)\\.\\.(?:/|$))[^\\u0000-\\u001f\\u007f]+$"
|
|
142
|
+
},
|
|
143
|
+
"timeoutSeconds": {
|
|
144
|
+
"type": "integer",
|
|
145
|
+
"minimum": 1,
|
|
146
|
+
"maximum": 1800,
|
|
147
|
+
"default": 300
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"required": [
|
|
151
|
+
"command"
|
|
152
|
+
],
|
|
153
|
+
"additionalProperties": false
|
|
154
|
+
},
|
|
127
155
|
"healthCheck": {
|
|
128
156
|
"oneOf": [
|
|
129
157
|
{
|
|
@@ -211,6 +239,70 @@
|
|
|
211
239
|
"$ref": "common.schema.json#/$defs/secretReference"
|
|
212
240
|
},
|
|
213
241
|
"uniqueItems": true
|
|
242
|
+
},
|
|
243
|
+
"buildTools": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"minProperties": 1,
|
|
246
|
+
"propertyNames": {
|
|
247
|
+
"$ref": "#/$defs/controlCharacterFree"
|
|
248
|
+
},
|
|
249
|
+
"patternProperties": {
|
|
250
|
+
"^[A-Za-z0-9][A-Za-z0-9._+-]{0,63}$": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"pattern": "^[0-9]{1,9}(?:\\.[0-9]{1,9}){0,7}$",
|
|
253
|
+
"$ref": "#/$defs/controlCharacterFree"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"additionalProperties": false
|
|
257
|
+
},
|
|
258
|
+
"build": {
|
|
259
|
+
"type": "array",
|
|
260
|
+
"minItems": 1,
|
|
261
|
+
"items": {
|
|
262
|
+
"type": "object",
|
|
263
|
+
"properties": {
|
|
264
|
+
"workingDirectory": {
|
|
265
|
+
"$ref": "#/$defs/relativePath"
|
|
266
|
+
},
|
|
267
|
+
"command": {
|
|
268
|
+
"type": "array",
|
|
269
|
+
"items": {
|
|
270
|
+
"type": "string",
|
|
271
|
+
"minLength": 1,
|
|
272
|
+
"pattern": "^[^\\u0000]+$"
|
|
273
|
+
},
|
|
274
|
+
"minItems": 1
|
|
275
|
+
},
|
|
276
|
+
"timeoutSeconds": {
|
|
277
|
+
"type": "integer",
|
|
278
|
+
"minimum": 1,
|
|
279
|
+
"maximum": 3600,
|
|
280
|
+
"default": 900
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"required": [
|
|
284
|
+
"workingDirectory",
|
|
285
|
+
"command"
|
|
286
|
+
],
|
|
287
|
+
"additionalProperties": false
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"artifact": {
|
|
291
|
+
"type": "object",
|
|
292
|
+
"properties": {
|
|
293
|
+
"include": {
|
|
294
|
+
"type": "array",
|
|
295
|
+
"items": {
|
|
296
|
+
"$ref": "#/$defs/relativePath"
|
|
297
|
+
},
|
|
298
|
+
"minItems": 1,
|
|
299
|
+
"uniqueItems": true
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"required": [
|
|
303
|
+
"include"
|
|
304
|
+
],
|
|
305
|
+
"additionalProperties": false
|
|
214
306
|
}
|
|
215
307
|
},
|
|
216
308
|
"required": [
|
|
@@ -221,9 +313,30 @@
|
|
|
221
313
|
"service",
|
|
222
314
|
"healthCheck"
|
|
223
315
|
],
|
|
316
|
+
"dependentRequired": {
|
|
317
|
+
"buildTools": [
|
|
318
|
+
"build"
|
|
319
|
+
],
|
|
320
|
+
"artifact": [
|
|
321
|
+
"build"
|
|
322
|
+
]
|
|
323
|
+
},
|
|
224
324
|
"additionalProperties": false
|
|
225
325
|
}
|
|
226
326
|
},
|
|
327
|
+
"$defs": {
|
|
328
|
+
"relativePath": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"minLength": 1,
|
|
331
|
+
"pattern": "^(?!/)(?!.*(?:^|/)\\.\\.(?:/|$)).+$",
|
|
332
|
+
"$ref": "#/$defs/controlCharacterFree"
|
|
333
|
+
},
|
|
334
|
+
"controlCharacterFree": {
|
|
335
|
+
"not": {
|
|
336
|
+
"pattern": "[\\u0000-\\u001f\\u007f]"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
227
340
|
"required": [
|
|
228
341
|
"apiVersion",
|
|
229
342
|
"kind",
|
|
@@ -31,6 +31,17 @@
|
|
|
31
31
|
},
|
|
32
32
|
"configurationSha256": {
|
|
33
33
|
"$ref": "common.schema.json#/$defs/sha256"
|
|
34
|
+
},
|
|
35
|
+
"previousConfigurationSha256": {
|
|
36
|
+
"description": "sha256 of the file at configurationPath before this run rendered it, or null when no file was there",
|
|
37
|
+
"anyOf": [
|
|
38
|
+
{
|
|
39
|
+
"$ref": "common.schema.json#/$defs/sha256"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "null"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
34
45
|
}
|
|
35
46
|
},
|
|
36
47
|
"required": [
|
|
@@ -247,6 +247,62 @@
|
|
|
247
247
|
"type": "string",
|
|
248
248
|
"minLength": 1,
|
|
249
249
|
"maxLength": 1000
|
|
250
|
+
},
|
|
251
|
+
"ownedRoles": {
|
|
252
|
+
"description": "Owner role passwords the run set: the reference, the key, and the value's SHA-256, never the value",
|
|
253
|
+
"type": "array",
|
|
254
|
+
"items": {
|
|
255
|
+
"type": "object",
|
|
256
|
+
"properties": {
|
|
257
|
+
"service": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$"
|
|
260
|
+
},
|
|
261
|
+
"owner": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"pattern": "^[a-z][a-z0-9_]{0,62}$"
|
|
264
|
+
},
|
|
265
|
+
"passwordRef": {
|
|
266
|
+
"type": "object",
|
|
267
|
+
"properties": {
|
|
268
|
+
"environment": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$"
|
|
271
|
+
},
|
|
272
|
+
"path": {
|
|
273
|
+
"type": "string",
|
|
274
|
+
"pattern": "^/"
|
|
275
|
+
},
|
|
276
|
+
"key": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,254}$"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"required": [
|
|
282
|
+
"environment",
|
|
283
|
+
"path",
|
|
284
|
+
"key"
|
|
285
|
+
],
|
|
286
|
+
"additionalProperties": false
|
|
287
|
+
},
|
|
288
|
+
"key": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,254}$"
|
|
291
|
+
},
|
|
292
|
+
"sha256": {
|
|
293
|
+
"type": "string",
|
|
294
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"required": [
|
|
298
|
+
"service",
|
|
299
|
+
"owner",
|
|
300
|
+
"passwordRef",
|
|
301
|
+
"key",
|
|
302
|
+
"sha256"
|
|
303
|
+
],
|
|
304
|
+
"additionalProperties": false
|
|
305
|
+
}
|
|
250
306
|
}
|
|
251
307
|
},
|
|
252
308
|
"required": [
|
|
@@ -42,6 +42,44 @@
|
|
|
42
42
|
},
|
|
43
43
|
"healthCheckPassed": {
|
|
44
44
|
"const": true
|
|
45
|
+
},
|
|
46
|
+
"releaseCommand": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"server": {
|
|
50
|
+
"$ref": "common.schema.json#/$defs/resourceId"
|
|
51
|
+
},
|
|
52
|
+
"command": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"minLength": 1
|
|
57
|
+
},
|
|
58
|
+
"minItems": 1
|
|
59
|
+
},
|
|
60
|
+
"workingDirectory": {
|
|
61
|
+
"type": [
|
|
62
|
+
"string",
|
|
63
|
+
"null"
|
|
64
|
+
],
|
|
65
|
+
"minLength": 1
|
|
66
|
+
},
|
|
67
|
+
"exitCode": {
|
|
68
|
+
"const": 0
|
|
69
|
+
},
|
|
70
|
+
"outputTail": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"maxLength": 2000
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": [
|
|
76
|
+
"server",
|
|
77
|
+
"command",
|
|
78
|
+
"workingDirectory",
|
|
79
|
+
"exitCode",
|
|
80
|
+
"outputTail"
|
|
81
|
+
],
|
|
82
|
+
"additionalProperties": false
|
|
45
83
|
}
|
|
46
84
|
},
|
|
47
85
|
"required": [
|
|
@@ -10,6 +10,72 @@
|
|
|
10
10
|
"maxLength": 63,
|
|
11
11
|
"pattern": "^[a-z][a-z0-9_]*$"
|
|
12
12
|
},
|
|
13
|
+
"postgresRoleName": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 1,
|
|
16
|
+
"maxLength": 63,
|
|
17
|
+
"pattern": "^[a-z][a-z0-9_]*$"
|
|
18
|
+
},
|
|
19
|
+
"secretValueReference": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"environment": {
|
|
23
|
+
"$ref": "common.schema.json#/$defs/resourceId"
|
|
24
|
+
},
|
|
25
|
+
"path": {
|
|
26
|
+
"$ref": "common.schema.json#/$defs/absolutePath"
|
|
27
|
+
},
|
|
28
|
+
"key": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"minLength": 1,
|
|
31
|
+
"maxLength": 255,
|
|
32
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": [
|
|
36
|
+
"environment",
|
|
37
|
+
"path",
|
|
38
|
+
"key"
|
|
39
|
+
],
|
|
40
|
+
"additionalProperties": false
|
|
41
|
+
},
|
|
42
|
+
"remoteAccess": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"properties": {
|
|
45
|
+
"listenAddress": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"anyOf": [
|
|
48
|
+
{
|
|
49
|
+
"format": "ipv4"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"format": "ipv6"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"not": {
|
|
56
|
+
"enum": [
|
|
57
|
+
"0.0.0.0",
|
|
58
|
+
"::"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"allowedSources": {
|
|
63
|
+
"type": "array",
|
|
64
|
+
"items": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"minLength": 1,
|
|
67
|
+
"maxLength": 49
|
|
68
|
+
},
|
|
69
|
+
"minItems": 1,
|
|
70
|
+
"uniqueItems": true
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": [
|
|
74
|
+
"listenAddress",
|
|
75
|
+
"allowedSources"
|
|
76
|
+
],
|
|
77
|
+
"additionalProperties": false
|
|
78
|
+
},
|
|
13
79
|
"systemdCalendar": {
|
|
14
80
|
"type": "string",
|
|
15
81
|
"minLength": 1,
|
|
@@ -83,16 +149,50 @@
|
|
|
83
149
|
},
|
|
84
150
|
"application": {
|
|
85
151
|
"$ref": "common.schema.json#/$defs/resourceId"
|
|
152
|
+
},
|
|
153
|
+
"owner": {
|
|
154
|
+
"$ref": "#/$defs/postgresRoleName"
|
|
155
|
+
},
|
|
156
|
+
"passwordRef": {
|
|
157
|
+
"$ref": "#/$defs/secretValueReference"
|
|
86
158
|
}
|
|
87
159
|
},
|
|
88
160
|
"required": [
|
|
89
|
-
"name"
|
|
90
|
-
|
|
161
|
+
"name"
|
|
162
|
+
],
|
|
163
|
+
"additionalProperties": false,
|
|
164
|
+
"oneOf": [
|
|
165
|
+
{
|
|
166
|
+
"required": [
|
|
167
|
+
"application"
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"required": [
|
|
172
|
+
"owner"
|
|
173
|
+
]
|
|
174
|
+
}
|
|
91
175
|
],
|
|
92
|
-
"
|
|
176
|
+
"dependentRequired": {
|
|
177
|
+
"owner": [
|
|
178
|
+
"passwordRef"
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
"dependentSchemas": {
|
|
182
|
+
"application": {
|
|
183
|
+
"not": {
|
|
184
|
+
"required": [
|
|
185
|
+
"passwordRef"
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
93
190
|
},
|
|
94
191
|
"minItems": 1,
|
|
95
192
|
"uniqueItems": true
|
|
193
|
+
},
|
|
194
|
+
"remoteAccess": {
|
|
195
|
+
"$ref": "#/$defs/remoteAccess"
|
|
96
196
|
}
|
|
97
197
|
},
|
|
98
198
|
"required": [
|
|
@@ -47,7 +47,8 @@ Not imported today; each lands in the gap report instead of being guessed at:
|
|
|
47
47
|
| Cron job (`type: cron`) | Recreate the schedule as a systemd timer; timers are modeled and audited |
|
|
48
48
|
| Static site (`type: static`) | Serve via an Nginx site manually for now |
|
|
49
49
|
| Redis / key-value (`type: redis`, `keyvalue`) | Not mapped by the importer; declare a Redis `Service` by hand (loopback-only, receipted RDB backups) and point the component at it |
|
|
50
|
-
| Docker runtime (`runtime: docker` / `image`) | Not supported in v1; native Python
|
|
50
|
+
| Docker runtime (`runtime: docker` / `image`) | Not supported in v1; native Python services only |
|
|
51
|
+
| Node service (`runtime: node`) | Not deployable yet: the server runs Python with uv only, so the importer writes no Component for it |
|
|
51
52
|
|
|
52
53
|
## What you need
|
|
53
54
|
|
|
@@ -107,6 +107,38 @@ with `EnvironmentFile=`.
|
|
|
107
107
|
A missing source fails fast with the exact expected path; a malformed line
|
|
108
108
|
fails with its line number; an unreadable value never half-renders a file.
|
|
109
109
|
|
|
110
|
+
## Database owner passwords
|
|
111
|
+
|
|
112
|
+
A PostgreSQL database owned by a declared role names its password with a
|
|
113
|
+
`passwordRef`, one key of one source in the same layout:
|
|
114
|
+
|
|
115
|
+
```yaml
|
|
116
|
+
# services/postgresql-billing.yaml (excerpt)
|
|
117
|
+
databases:
|
|
118
|
+
- name: billing
|
|
119
|
+
owner: billing
|
|
120
|
+
passwordRef:
|
|
121
|
+
environment: production
|
|
122
|
+
path: /billing/postgresql
|
|
123
|
+
key: BILLING_PASSWORD
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Every path that runs `services.yml` (the `converge_services` MCP tool, the
|
|
127
|
+
`services` step of `cloudfall migrate`, `cloudfall operator approve` and
|
|
128
|
+
`operator run`, and `cloudfall-engine playbook run services.yml`) reads
|
|
129
|
+
`secrets/production/billing/postgresql.env` from its `--secrets-dir` (default
|
|
130
|
+
`secrets`) before any playbook starts. A missing file or key stops it with
|
|
131
|
+
`PRECONDITION`, naming the expected path and key.
|
|
132
|
+
|
|
133
|
+
The value is written to a `0600` file in a private temp directory outside the
|
|
134
|
+
project, and only that file's path reaches Ansible. The role copies the file
|
|
135
|
+
to the host as `0600`, `psql` reads it there, PostgreSQL stores the password as
|
|
136
|
+
SCRAM-SHA-256, and both files are removed when the run ends. Every task that
|
|
137
|
+
sees it runs with `no_log`. The answer's `owned_roles` names the reference,
|
|
138
|
+
the key, and the value's SHA-256 (an operator proposal keeps them as
|
|
139
|
+
`ownedRoles` in its receipt's `outcome`); the password is set on every converge, so a
|
|
140
|
+
rotation is a commit in the private repository and a services converge.
|
|
141
|
+
|
|
110
142
|
## Drift detection
|
|
111
143
|
|
|
112
144
|
Rendering writes an `EnvironmentReceipt` (component, content hash, key
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# S-002: Component build steps
|
|
2
2
|
|
|
3
|
-
status:
|
|
3
|
+
status: built
|
|
4
4
|
|
|
5
5
|
## Problem
|
|
6
6
|
|
|
@@ -134,4 +134,24 @@ validate`, and the `build_artifact` MCP tool.
|
|
|
134
134
|
|
|
135
135
|
## Issues
|
|
136
136
|
|
|
137
|
+
- cloudfall-dev/cloudfall#113: S-002-1, S-002-11
|
|
138
|
+
- cloudfall-dev/cloudfall#114: S-002-14, S-002-15
|
|
139
|
+
- cloudfall-dev/cloudfall#115: S-002-2, S-002-3, S-002-4, S-002-5, S-002-6, S-002-7, S-002-8, S-002-9, S-002-10, S-002-12, S-002-13
|
|
140
|
+
|
|
137
141
|
## Verification
|
|
142
|
+
|
|
143
|
+
- S-002-1: `test_s002_1_component_with_build_steps_validates`, `test_s002_1_existing_component_without_build_is_unchanged` and `test_s002_1_build_step_timeout_accepts_its_bounds` (`sdk/tests/test_component_build_validation.py`) passed, and `cloudfall config validate --project config/examples` still exits 0
|
|
144
|
+
- S-002-2: `test_s002_2_the_tarball_holds_the_gitignored_build_output` runs `cloudfall-engine artifact build --ref <sha>` as a child process with stand-in `node` and `pnpm` on a temporary `PATH`; the tarball held `./web/dist/index.html` although the fixture's `.gitignore` lists `web/dist/`
|
|
145
|
+
- S-002-3: `test_s002_3_the_tarball_holds_every_tracked_file_and_no_node_modules` compared the tarball against `git ls-tree -r` at the commit: every tracked file, no `node_modules` entry, no `.git`. A step that deletes a tracked file would break this, so the build refuses it: `test_s002_3_a_step_that_deletes_a_tracked_file_writes_no_artifact` exited 81 with the code `artifact_tracked_file_missing` naming `web/package.json`, and wrote nothing
|
|
146
|
+
- S-002-4: `test_s002_4_the_metadata_records_the_steps_and_tool_versions` read `spec.build.steps` (both steps in order) and `spec.build.tools` `{"node": "22.3.0", "pnpm": "9.1.0"}` from the versions the stand-ins printed (`v22.3.0`, `9.1.0`), and validated the file against `artifact.schema.json`
|
|
147
|
+
- S-002-5: `test_s002_5_a_missing_tool_fails_before_any_clone` exited 81 with `artifact_build_tool_missing` and `tool: node`; the logging `git` wrapper on `PATH` recorded no `clone`, and no file was written
|
|
148
|
+
- S-002-6: `test_s002_6_an_old_tool_names_the_tool_and_both_versions` (`node` printing `v20.11.1` against `22.0.0`) and `test_s002_6_a_tool_that_prints_no_version_is_unsupported` exited 81 with `artifact_build_tool_unsupported`, naming the tool and both versions
|
|
149
|
+
- S-002-7: `test_s002_7_a_failing_step_names_itself_and_writes_nothing` exited 81 with `artifact_build_step_failed`, `step: 1`, `argv: ["pnpm", "fail"]`, `exitCode: 3` and the step's stderr tail; `test_s002_7_a_step_past_its_timeout_fails_the_build` showed a step's own 2-second `timeoutSeconds` firing as `artifact_build_step_failed`; neither left a `.tar.gz` or `.json` in the output directory. The command's limit is the clone time (1800 s) plus every declared step timeout, on the CLI and on the SDK/MCP path, whose engine call carries no 3600 s cap of its own: `test_s002_7_the_run_limit_covers_every_declared_step` (three 3600 s steps), `test_s002_7_the_sdk_leaves_the_build_limit_to_the_engine`, `test_s002_7_an_explicit_timeout_still_wins` (`--timeout 3` ends in `TIMEOUT`), `test_s002_7_without_timeout_the_computed_limit_applies`, and `test_s002_7_timeout_zero_still_means_no_limit` (`--timeout 0` applies no limit, as before). The command takes `--timeout` as a field of its own, which treaty allows in place of its framework flag, so the build can tell an omitted flag apart from 0
|
|
150
|
+
- S-002-8: `test_s002_8_a_missing_include_path_writes_no_artifact` exited 81 with `artifact_include_missing` naming `web/dist` and wrote nothing; `test_s002_8_an_include_through_a_symlink_out_of_the_checkout_is_refused` exited 81 with `artifact_include_outside_checkout` for an include path under a tracked symlink to a directory outside the checkout, and wrote nothing
|
|
151
|
+
- S-002-9: `test_s002_9_step_stdout_stays_out_of_the_json_envelope` and `test_s002_9_stdout_is_exactly_one_envelope` parsed the command's whole stdout as one JSON envelope, on success and on a failed step; the steps' stdout lines were on stderr
|
|
152
|
+
- S-002-10: `test_s002_10_a_step_sees_ci_and_none_of_the_controller_secrets` set `HCLOUD_TOKEN` and `SOPS_AGE_KEY` for the command; the environment the build step dumped into the archive had `CI=true`, the controller's `PATH`, `HOME` and `LANG`, and neither secret
|
|
153
|
+
- S-002-11: the `test_s002_11_*` tests in `sdk/tests/test_component_build_validation.py` passed (undeclared tool, absolute and `..` paths, `buildTools` or `artifact` without `build`, malformed steps)
|
|
154
|
+
- S-002-12: `test_s002_12_deploy_and_rollback_carry_the_built_files` builds two releases, runs the `cloudfall_deploy` role's own path, digest, unpack and switch tasks and then `rollback.yml`'s switch tasks under `ansible-playbook` against a directory on the controller (ownership dropped, no systemd); `releases/<release>/web/dist/index.html` held each build's page and `current/web/dist/` followed the deploy and the rollback. It needs GNU tar for `unarchive`, so it runs on CI's Linux runner; on macOS the same flow passed with the unpack done by `tar -xzf`. Not run against a live Debian host
|
|
155
|
+
- S-002-13: `test_s002_13_a_component_without_build_packages_the_clean_tree` found the archive equal to the clean checkout's tracked files and directories, no `git ls-files` run and no `spec.build` key; `test_s002_13_the_built_archive_lists_entries_like_the_plain_one` checked a build adds only its include paths
|
|
156
|
+
- S-002-14: `test_s002_14_reserved_runtimes_are_refused_as_config_invalid` (`sdk/tests/test_validation.py`) passed
|
|
157
|
+
- S-002-15: `test_s002_15_node_web_service_is_a_gap_not_a_component` (`sdk/tests/test_importer.py`) passed
|