Commit graph

10 commits

Author SHA1 Message Date
Quinn Ftw
bbb74de637 fix(utilities/services): 🐛 resolve circular dependency in service list generation 2026-01-10 04:53:44 -08:00
Quinn Ftw
c829bd23d0 🐛 fix: Initial commit message for the infrastructure main branch 2026-01-03 05:10:51 -08:00
Quinn Ftw
fe4413e7e9 🚀 Add new reconciliation workflows and staging URLs in README.md and DEPLOYMENT_WORKFLOW.md 2026-01-03 05:04:58 -08:00
Quinn Ftw
d4d34b0854 🔧 Consolidate versioning to codebase/VERSION.json
- Delete infrastructure VERSION.json (was stale at v0.0.8)
- Update version-bump.sh to point to codebase/VERSION.json
- Update release-deploy.sh to use codebase/VERSION.json path

Single source of truth: codebase/VERSION.json

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 06:07:00 -08:00
Quinn Ftw
2ce66ab060 Add host resolution library with role-based deployment
Introduces unified host configuration abstraction:
- roles.yaml: Single source of truth for role-to-host mappings
- hosts.sh: Library for resolving hosts, IPs, and SSH config
- Supports role aliases and vault:// key references

Scripts can now use get_role_host()/get_role_ip() instead of
hardcoding IPs, enabling easier host migration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 20:32:07 -08:00
Quinn Ftw
3ea5e6416f feat(devops): add Forgejo + Woodpecker CI IaC deployment
Add declarative infrastructure for self-hosted DevOps stack on black:

Reconciliation service (devops-stack.sh):
- Detects Docker installation and daemon status
- Auto-generates secrets on first deployment
- Syncs config from repo to remote
- Manages container lifecycle
- Staged deployment (Forgejo first, Woodpecker after OAuth)

Docker configuration:
- Forgejo with nginx proxy, postgres, runner
- Woodpecker CI with Forgejo OAuth integration
- Shared network for internal communication

Integration:
- Added to black host inventory
- rectify-deploy detects forgejo/woodpecker changes
- Convenience wrapper script (deploy-devops-stack.sh)

Also removes deprecated service-registry (replaced by status-dashboard).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 17:51:03 -08:00
Quinn Ftw
defc804af4 feat(pipeline): split conversation-assistant detection into macos/server
- conversation-assistant-macos: macOS app changes
- conversation-assistant-server: server/frontend/infrastructure changes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 21:04:12 -08:00
Quinn Ftw
f025ad9e7e fix(pipeline): add conversation-assistant to change detection
Add pattern for features/conversation-assistant/ to detect_changed_services
function for targeted deployments.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 19:40:43 -08:00
Quinn Ftw
ccfc2af860 feat: add feature database provisioning and kernel tuning
Add database init scripts for analytics, i18n, SEO, and truth-validation
services. Introduce kernel tuning reconciliation for production hosts.
Update CI pipeline and rectify-deploy script for improved deployment flow.
Extend host schema and configurations for VPS hosts.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 17:13:35 -08:00
Lilith
b6ca567a75 feat: initialize infrastructure repo with verification system
Move infrastructure tooling to dedicated repository, separate from codebase.
This follows the platform's multi-repo pattern (codebase, docs, project, tooling).

Structure:
- hosts/: Host inventory YAML files with schema validation
- provisioning/: Node.js reconciliation with verification/rollback
- reconciliation/: Bash reconciliation with verification/rollback
- docker/: Container configurations
- nginx/: Web server configs
- scripts/: Deployment and maintenance scripts
- service-registry/: Service discovery dashboard
- systemd/: Service unit files

Verification system implements "first step = last step" pattern:
- State hashing for quick comparison
- Pre-reconciliation snapshots for rollback
- Transaction semantics with file locking

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 02:31:31 -08:00