Commit Graph

246 Commits

Author SHA1 Message Date
juvenal.diaz 7f500b5e18 seed grafana admin credentials
Homelab Main / validate (push) Successful in 16s Details
Homelab Main / running-update (push) Successful in 10s Details
Homelab Main / debian-ops (push) Successful in 1m23s Details
2026-09-28 15:45:12 -06:00
juvenal.diaz c1452e943e Use step UI for edge command
Homelab Main / validate (push) Waiting to run Details
Homelab Main / deploy (push) Blocked by required conditions Details
2026-09-26 12:09:19 -06:00
juvenal.diaz 4405c76003 Fix jeannie helper sourcing and validation
Homelab Main / validate (push) Waiting to run Details
Homelab Main / deploy (push) Blocked by required conditions Details
2026-09-25 11:41:23 -06:00
jv b9beb7f8ad chore: add tflint to playbook and gitleaks ignore cache
Homelab Main / validate (push) Failing after 13s Details
Homelab Main / deploy (push) Has been skipped Details
2026-09-19 20:19:52 -05:00
jv 25a15d2a29 refactor: modularize jeannie script into lib/jeannie library
Homelab Main / validate (push) Failing after 12s Details
Homelab Main / deploy (push) Has been skipped Details
2026-09-19 02:20:09 -05:00
jv 0bdce09497 fix: restore corrupted jeannie script and correct KUBECONFIG variable
Homelab Main / validate (push) Successful in 19s Details
Homelab Main / deploy (push) Successful in 11s Details
2026-09-19 01:25:36 -05:00
jv 3662b0f2bf fix: correct KUBECONFIG variable to KUBECONFIG_PATH in security_runtime
Homelab Main / validate (push) Failing after 13s Details
Homelab Main / deploy (push) Has been skipped Details
2026-09-19 00:58:18 -05:00
jv d189428faf chore: update jeannie toolchain and add ai-model-check utility
Homelab Main / validate (push) Failing after 12s Details
Homelab Main / deploy (push) Has been skipped Details
2026-09-19 00:54:47 -05:00
jv 88536c5721 refactor: properly modularize jeannie script by stripping duplicated functions
Homelab Main / validate (push) Successful in 17s Details
Homelab Main / deploy (push) Successful in 14s Details
2026-09-18 22:39:36 -05:00
jv 85b5e948b9 ci: add graphiphy repo mapping to up pipeline
Homelab Main / validate (push) Successful in 19s Details
Homelab Main / deploy (push) Successful in 12s Details
2026-09-18 22:12:48 -05:00
jv fe661f9b24 Add Matrix/Hermes/Omniroute to jeannie pipeline (SOPS-encrypted secrets)
Codify the full Matrix homeserver stack, OmniRoute LLM gateway, and
Hermes agent into the Jeannie deploy pipeline so the repo reproduces
the running homelab from scratch.

New files:
  infra/matrix-server/  — Synapse + Postgres + Element docker-compose,
    homeserver.yaml.tpl, log_config, element config, bootstrap.sh
  infra/omniroute/      — diegosouzapw/omniroute:latest on port 20128
  infra/hermes.secret.yaml   — SOPS-encrypted bot password + API key
  infra/matrix-server/matrix.secret.yaml — SOPS-encrypted Synapse secrets
  .sops.yaml            — age recipient + encrypted_regex: '.*'

jeannie additions:
  deploy_matrix()  — renders homeserver.yaml from template, creates
    signing key via 'generate' on first boot, delegates to bootstrap.sh
  deploy_omniroute() — docker compose up with env-file support
  deploy_hermes()  — git clone + venv + 'hermes gateway install',
    writes ~/.hermes/.env (mode 600), registers non-admin bot via
    shared-secret CLI, idempotent
  sops_load_secrets() — decrypts *.secret.yaml via age key at deploy
    time; fails loudly if the age key is missing
  ensure_sops_age_tools() — installs sops from getsops GitHub release
    when apt has no sops package (Debian trixie)

DAG: hermes-deploy depends on matrix-deploy + omniroute-deploy.

Root cause: deploy_hermes previously used wrong entrypoint (python
module instead of ./hermes launcher); generate was called with
--generate-config (invalid subcommand); .sops.yaml encrypted_regex
'^password$' left prefixed keys as plaintext — all fixed in this
commit.
2026-09-16 11:37:13 -05:00
juvenal.diaz d6e33250f4 Gates for pimoc workers with less than 2 cpus 2026-07-23 13:16:11 -06:00
juvenal.diaz 6277dfb5d2 Confir what argo is watching 2026-07-22 23:31:10 -06:00
juvenal.diaz 101668fbc9 Fixes stale state in tofu 2026-07-22 22:35:23 -06:00
juvenal.diaz a47f4b56e9 Using dedicated known host file for ephemeral pimox workers 2026-07-22 21:43:36 -06:00
juvenal.diaz 7c0936d889 Fixing pimox template ip 2026-07-22 20:42:19 -06:00
juvenal.diaz 58af55e7e0 Fixing pimox worker seen one cpu instead of two 2026-07-22 19:09:55 -06:00
juvdiaz de990cdfb3 adding platform agument 2026-07-02 21:38:48 -06:00
juvdiaz 8c07e3f27b wait on iptables lock 2026-07-02 21:02:49 -06:00
juvdiaz 12cde3acac Fixing k8s api timing 2026-07-02 17:40:50 -06:00
juvdiaz 140fc63a5f Moving heimdall outside k8s 2026-07-02 15:49:00 -06:00
juvdiaz ddc971f6df Adding tailscaed route for debian host 2026-07-02 13:13:37 -06:00
juvdiaz 6cf5abe8bd fixig ailscaled routes 2026-07-02 13:04:11 -06:00
juvdiaz 8865ab9d18 Adding haproxy pass as secret managed in pipeline 2026-07-02 12:42:46 -06:00
juvdiaz d278355d68 exportin inventory vars 2026-07-02 12:38:47 -06:00
juvdiaz f041cf2aba Updating preflights 2026-07-02 11:42:31 -06:00
juvdiaz db6035e75f fix kubeconfig missing 2026-07-02 11:33:57 -06:00
juvdiaz 77e31bba0b fixing PATH in pimox worker 2026-07-02 11:12:57 -06:00
juvdiaz cfcfc39f1f Install iptables if missing 2026-07-02 10:59:58 -06:00
juvdiaz 540ae7e486 Fixing pimox worker having 2 ips 2026-07-02 10:26:19 -06:00
juvdiaz 04d5b259c0 Update docker root dir in rpi 2026-07-02 09:02:52 -06:00
juvdiaz 06941a8454 Repair Pimox worker SSH readiness 2026-07-01 19:33:23 -06:00
juvdiaz 349ffd006e Default cluster workers to Pimox only 2026-07-01 19:12:37 -06:00
juvdiaz 21adbd5628 Rebuild cluster worker vars for static Pimox workers 2026-07-01 18:57:40 -06:00
juvdiaz 86ac132629 Fix Pimox worker static networking 2026-07-01 18:41:29 -06:00
juvdiaz e8b9b57d77 Restore known-good Pimox worker defaults 2026-07-01 14:49:25 -06:00
juvdiaz d80960fce0 Reduce duplicate Jeannie progress repaints 2026-07-01 14:27:42 -06:00
juvdiaz 0cda6573ad Let Pimox generate worker NIC MACs by default 2026-07-01 14:05:11 -06:00
juvdiaz ed0983d09a Run independent Jeannie up tasks in parallel 2026-07-01 14:01:58 -06:00
juvdiaz ea4576c707 Stream Jeannie step output to logs 2026-07-01 13:49:02 -06:00
juvdiaz 1bdde9c128 Default Pimox workers back to DHCP networking 2026-07-01 13:14:06 -06:00
juvdiaz 9b9afc1c4e Respect Pimox guest exec failures 2026-07-01 11:02:45 -06:00
juvdiaz 5a14e2d409 Fail Pimox worker network issues faster 2026-07-01 10:49:48 -06:00
juvdiaz 1b97cc1404 Apply Pimox worker static IP at runtime 2026-07-01 09:28:18 -06:00
juvdiaz dca90ad3aa Fail Pimox worker creation faster 2026-07-01 09:09:39 -06:00
juvdiaz e062de2413 Configure Pimox worker static networking 2026-07-01 09:04:06 -06:00
juvdiaz d63e402012 Start Jeannie Go core migration 2026-07-01 08:49:43 -06:00
juvdiaz 44d43f2b42 Show compact progress for long Jeannie steps 2026-07-01 08:34:36 -06:00
juvdiaz 8e19df1c71 Restart NotReady Pimox worker during heal 2026-06-30 14:10:27 -06:00
juvdiaz 0d887acd24 Add guarded Jeannie self healing 2026-06-30 13:46:47 -06:00
juvdiaz f49b8b9673 Add model behavior observatory 2026-06-30 13:24:54 -06:00
juvdiaz ed3402bb71 Add canary promotion gates 2026-06-30 13:22:50 -06:00
juvdiaz 7f537c4025 Add red blue security loop 2026-06-30 13:21:15 -06:00
juvdiaz 0af1257d86 Add Jeannie memory provenance checks 2026-06-30 13:19:49 -06:00
juvdiaz edb36592a7 Add AI workload scheduler simulator 2026-06-30 13:17:57 -06:00
juvdiaz 0b886295c8 Add local agent sandbox policy 2026-06-30 13:16:27 -06:00
juvdiaz c7956638b3 Add safety case generator 2026-06-30 13:15:07 -06:00
juvdiaz 14aa2555c1 Add AI incident commander 2026-06-30 11:50:10 -06:00
juvdiaz 1e9cff59e2 Add prompt injection lab 2026-06-30 11:48:08 -06:00
juvdiaz 713a1421da Add homelab AI evals harness 2026-06-30 11:45:29 -06:00
juvdiaz c00cc5eebd Add Jeannie unit tests 2026-06-30 08:18:09 -06:00
juvdiaz fa54989dee Fix worker count awk portability 2026-06-29 23:43:23 -06:00
juvdiaz cc7811b152 Keep stop cluster going when worker SSH is down 2026-06-29 23:40:07 -06:00
juvdiaz a5bf0c2f01 Fix stop cluster worker discovery 2026-06-29 23:36:24 -06:00
juvdiaz 19964cfc20 Add reusable report UI for status doctors 2026-06-29 23:28:32 -06:00
juvdiaz ef83e71088 Add Jeannie worker tailnet wrapper 2026-06-29 21:45:19 -06:00
juvdiaz df5702de34 Add Tailscale bootstrap for Pimox workers 2026-06-29 21:25:14 -06:00
juvdiaz 0544dba9f5 Require inventory values for edge wiring 2026-06-29 21:09:08 -06:00
juvdiaz fb57233ce8 Add Jeannie last change review 2026-06-29 20:50:56 -06:00
juvdiaz 1954a2e975 Add capacity limit recommendations 2026-06-29 20:48:17 -06:00
juvdiaz eabc5b049b Add Jeannie capacity advisor 2026-06-29 20:46:15 -06:00
juvdiaz 31723307d5 Add Jeannie change impact analysis 2026-06-29 20:44:49 -06:00
juvdiaz 791c9d5822 Add Jeannie ask command finder 2026-06-29 20:43:08 -06:00
juvdiaz 86e061dd72 Add Jeannie output explainer 2026-06-29 20:30:03 -06:00
juvdiaz 0a166f3a5d Add control plane taint helper 2026-06-29 20:16:38 -06:00
juvdiaz 03fea90cc8 Add blockchain wallet signing lab 2026-06-29 19:18:45 -06:00
juvdiaz 945b2a09a7 Add blockchain smart contract lab 2026-06-29 19:15:09 -06:00
juvdiaz bedb845270 Add local blockchain devnet 2026-06-29 19:13:23 -06:00
juvdiaz 00b5010307 Improve Jeannie usage help 2026-06-29 18:50:47 -06:00
juvdiaz dd15faabb0 Add Grafana dashboards for Jeannie checks 2026-06-29 18:32:46 -06:00
juvdiaz 4d7836475a Convert capacity to compact report renderer 2026-06-29 18:22:15 -06:00
juvdiaz dcfab54e06 Add homelab scorecard command 2026-06-29 17:53:43 -06:00
juvdiaz 7281143253 Add power loss recovery mode 2026-06-29 17:52:41 -06:00
juvdiaz 479be7fc47 Add ingress route inventory check 2026-06-29 17:51:43 -06:00
juvdiaz b1855d4928 Add Pimox golden image ledger 2026-06-29 17:50:24 -06:00
juvdiaz e8dd88fafe Add optional artifact cache stack 2026-06-29 17:49:26 -06:00
juvdiaz e4ff0bac49 Add resource budget policy checks 2026-06-29 17:45:31 -06:00
juvdiaz 59eda9feff Add internal synthetic checks 2026-06-29 17:44:06 -06:00
juvdiaz 4f90fd8904 Add homelab change journal 2026-06-29 17:42:41 -06:00
juvdiaz 759b087b5e Add worker lifecycle command 2026-06-29 17:40:36 -06:00
juvdiaz bfe4627c56 Add backup verification status 2026-06-29 17:38:53 -06:00
juvdiaz 7efa7a0452 Add homelab dependency map command 2026-06-29 17:26:57 -06:00
juvdiaz 41498150ea Add release snapshot command 2026-06-29 17:25:30 -06:00
juvdiaz a4aa75c77d Add public certificate check command 2026-06-29 17:24:17 -06:00
juvdiaz bb6128ceb3 Add GitOps status command 2026-06-29 17:22:43 -06:00
juvdiaz 00f8801fd7 Add homelab recovery plan command 2026-06-29 17:20:40 -06:00
juvdiaz 168d61a820 Add homelab capacity report 2026-06-29 17:14:13 -06:00
juvdiaz 1d553771f0 Add read-only Kubernetes access model 2026-06-29 17:11:55 -06:00
juvdiaz f7cf1423f9 Add restore drill checklist 2026-06-29 17:08:16 -06:00
juvdiaz d2c959bebd Add identity and access audit 2026-06-29 16:58:45 -06:00
juvdiaz 0777bed10c Add GitOps validation promotion flow 2026-06-29 16:57:00 -06:00
juvdiaz 329a3d1abd Add what-broke status signals 2026-06-29 16:53:44 -06:00
juvdiaz 5f8fdfef3d Add Kubernetes attack path drill 2026-06-29 15:07:34 -06:00
juvdiaz d333ba8ae4 Add Tetragon runtime detection 2026-06-29 15:04:25 -06:00
juvdiaz 8f41a42a68 Add security log summary command 2026-06-29 15:01:27 -06:00
juvdiaz 88e7ccd214 Add repo secret scanning command 2026-06-29 14:59:46 -06:00
juvdiaz 5aeb953362 Add web security quick check 2026-06-29 14:58:35 -06:00
juvdiaz adb2b921ed Add report-only Lynis host audit 2026-06-29 14:35:12 -06:00
juvdiaz c8be38a213 Add security scan preparation command 2026-06-29 14:28:48 -06:00
juvdiaz 4f1c973cb5 Add defensive security scan commands 2026-06-29 14:25:47 -06:00
juvdiaz 45efd87960 Relax Gitea public status probe 2026-06-29 14:16:38 -06:00
juvdiaz 3e23b794e7 Fix Pi-hole v6 LAN DNS mode 2026-06-29 14:10:50 -06:00
juvdiaz 806475afc0 Improve status probe diagnostics 2026-06-29 13:47:04 -06:00
juvdiaz 6241a14bac Refine cascade status health probes 2026-06-29 13:44:59 -06:00
juvdiaz d8f518c8e9 Add cascade health checks to status 2026-06-29 13:40:33 -06:00
juvdiaz 8582c3ea61 Add pre-apply readiness doctor checks 2026-06-29 13:27:46 -06:00
juvdiaz d9d7bc20a3 Back up local OpenTofu state before deletion 2026-06-29 13:25:24 -06:00
juvdiaz a26f420d4a Require confirmation for direct nuke 2026-06-29 13:24:01 -06:00
juvdiaz c526b57f30 Guard Prometheus data deletion workflow 2026-06-29 13:23:33 -06:00
juvdiaz f8a9e7b792 Redact sensitive values from Jeannie logs 2026-06-29 13:22:27 -06:00
juvdiaz ee51fbd421 Add compact step logging for noisy commands 2026-06-29 13:16:37 -06:00
juvdiaz df46fbbf9b Align nuke with worker topology state 2026-06-29 13:11:34 -06:00
juvdiaz 9497b8dc86 Validate homelab inventory with YAML parser 2026-06-29 13:08:55 -06:00
juvdiaz 889396eaa4 Make remote Docker installation opt-in 2026-06-29 12:57:19 -06:00
juvdiaz 755f60267f Add homelab tofu plan mode 2026-06-29 12:55:19 -06:00
juvdiaz 1a8bf9a77d Preserve manual worker topology file 2026-06-29 12:50:50 -06:00
juvdiaz 8cd0b14e5e Resolve Pimox worker count from cluster state 2026-06-29 12:48:07 -06:00
juvdiaz 28cb7ed70f Run early preflight before mutating up pipeline 2026-06-29 12:45:51 -06:00
juvdiaz b763e8c747 Start existing cluster during up when stopped 2026-06-29 12:38:13 -06:00
juvdiaz 3c24f05ff6 Allow Debian Docker root on NVMe root filesystem 2026-06-29 11:14:59 -06:00
juvdiaz b49df4f2eb Add Debian Docker root repair command 2026-06-29 11:13:29 -06:00
juvdiaz 67d514bf59 Reset existing Gitea bootstrap password 2026-06-29 11:02:54 -06:00
juvdiaz 61db0ce277 Normalize Ollama host configuration 2026-06-28 00:19:24 -06:00
juvdiaz 3c5dfd08c2 Wait for Ollama API during setup 2026-06-28 00:15:51 -06:00
juvdiaz 26be9bfb0c Make Ollama installer setup more resilient 2026-06-28 00:09:54 -06:00
juvdiaz 5504dd7b2e Manage Ollama setup for homelab host 2026-06-27 23:55:21 -06:00
juvdiaz 172bcca975 Add optional homelab AI knowledge index 2026-06-27 23:14:27 -06:00
juvdiaz 8488c9523e Add backstage Ollama helper for diagnostics 2026-06-27 17:56:15 -06:00
juvdiaz acb6817c98 Add repo-managed Tailscale ACL policy 2026-06-27 17:46:21 -06:00
juvdiaz e3a1c05a2e Add SOPS age secret management bootstrap 2026-06-27 17:27:05 -06:00
juvdiaz e4b2057f15 Centralize homelab inventory preflight and pihole state 2026-06-27 16:55:28 -06:00
juvdiaz 6070493b1b Seed Uptime Kuma monitors 2026-06-27 16:43:51 -06:00
juvdiaz 7beb0778c9 Add focused homelab doctor checks 2026-06-27 16:35:30 -06:00
juvdiaz 534c87132e Add RPi DNS services stack 2026-06-27 16:18:17 -06:00
juvdiaz 806efb8f85 Add Jeannie status command 2026-06-27 15:38:32 -06:00
juvdiaz 647929c758 Update script name 2026-06-27 14:19:57 -06:00