Commit Graph

3 Commits

Author SHA1 Message Date
jgrusewski
cec036e453 chore(cockpit): local demo seed for browser verification of the surfacing
Adds seed_cockpit_demo.py script to populate the cockpit database with
representative forward track data (4 strategies), nav histories, backtest
summaries, and allocation/funding snapshots. Idempotent — safe to re-run
multiple times. Supports env override FXHNT_OPERATIONAL_DSN (defaults to
sqlite:///./cockpit-demo.db).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 12:27:04 +02:00
jgrusewski
359f2f5c50 feat(dev): local cockpit against real prod DB (read-only) for fast UI testing
scripts/dev-cockpit-local.sh port-forwards prod postgres to 15432 (5432 is usually owned by a local pg, so
the forward would fail 'address in use'), wires the DSN from the db-credentials secret, and serves the REAL
cockpit on :8801 via scripts/dev_cockpit_local.py — which builds the repos WITHOUT .migrate() so it never
writes DDL to prod. Iterate on cockpit UI in a real browser on real data in seconds, not 9-min Argo deploys.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 12:21:35 +02:00
jgrusewski
be37128e0a deploy(cockpit): Argo CI/CD (in-cluster Kaniko build + deploy) + real-secret manifests
Argo WorkflowTemplate fxhnt-cockpit mirrors foxhunt's build-ci-image (Kaniko) + compile-and-deploy (kubectl):
clones root/fxhnt over in-cluster gitlab-shell, builds infra/docker/fxhnt.Dockerfile to the internal registry
(native registry+token access, no laptop push, no private-CA trust), applies manifests + rolls the dashboard.
Manifests corrected to the cluster's real secrets: DSN via PGPASSWORD (db-credentials), DATABENTO via
databento-credentials, TS via tailscale-auth; image -> internal gitlab registry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 13:23:29 +02:00