Commit graph

565 commits

Author SHA1 Message Date
sirius0xdev
105d29de7e fix(trade-dashboard): get DB_USER from secret instead of configmap 2026-05-02 23:35:04 +00:00
sirius0xdev
b574c8e6f4
Merge pull request #80 from sirius0xdev/fix/trade-dashboard-imports
Fix/trade dashboard imports
2026-05-02 18:54:05 -04:00
sirius0xdev
23c7c707d8 fix(trade-dashboard): fix import errors and alembic migration
- database.py: remove dead pre-definition of DATABASE_URL with
  undefined db_user/db_pass variables
- models.py: add missing Table import from sqlalchemy
- alembic/env.py: replace deprecated run_async() with asyncio.run()
  (removed in SQLAlchemy 2.0)
- alembic 001_initial: use raw SQL for CREATE TYPE instead of
  op.create_enum() which requires alembic_postgresql_enum

Migration 001_initial successfully applied to trading_data DB.
2026-05-02 22:44:38 +00:00
sirius0xdev
6afe8f41b7
Merge pull request #79 from sirius0xdev/feat/trade-dashboard-github-actions
feat(trade-dashboard): add GitHub Actions CI/CD + switch to ghcr.io
2026-05-02 18:32:08 -04:00
sirius0xdev
997d726624 fix(trade-dashboard): switch image registry to ghcr.io 2026-05-02 18:31:59 -04:00
sirius0xdev
f4b1996e06 feat(trade-dashboard): add GitHub Actions CI/CD pipeline 2026-05-02 18:31:59 -04:00
sirius0xdev
6599249d65 feat(trade-dashboard): add GitHub Actions CI/CD pipeline
- Build and push Docker image to ghcr.io on push to master
- Update deployment to pull from ghcr.io instead of GCR
- Tags: commit SHA + latest on default branch
2026-05-02 22:29:06 +00:00
sirius0xdev
d29ade4a8b
Merge pull request #78 from sirius0xdev/fix/tsproxy-comment-out
feat(trade-dashboard): comment out TsProxy until Tailscale operator is installed
2026-05-02 18:24:46 -04:00
sirius0xdev
d94e62d77c fix(trade-dashboard): comment out TsProxy until Tailscale operator is installed 2026-05-02 22:21:35 +00:00
sirius0xdev
3571e1ca80
Merge pull request #77 from sirius0xdev/feat/trade-dashboard-service
feat(trade-dashboard): add service, fix SOPS secret encryption
2026-05-02 18:18:07 -04:00
sirius0xdev
1497946049 fix(hermes-db): reencrypt with correct SOPS recipient key
Use age1uuxf066x... from .sops.yaml instead of local key
that the cluster SOPS decryptor cannot read.
2026-05-02 22:14:09 +00:00
sirius0xdev
e1aaa7a12f
Merge pull request #76 from sirius0xdev/feat/trade-dashboard-service
feat: add trade dashboard service (FastAPI + Tailscale)
2026-05-02 18:03:17 -04:00
sirius0xdev
58ea111b1d fix(hermes-db): reencrypt secrets with correct encrypted-regex ^(data|stringData)$
Previous secrets encrypted apiVersion, kind, metadata.name, metadata.namespace
and type fields. Recreated with --encrypted-regex targeting only stringData
section. New random passwords generated for all three roles.
2026-05-02 22:01:03 +00:00
sirius0xdev
7df60cbeb9 feat: add trade dashboard service (FastAPI + Tailscale)
- FastAPI app with async SQLAlchemy + Alembic migrations
- API: positions CRUD, PnL summary, trade history, webhook endpoint
- Dark-themed SPA frontend (vanilla HTML/JS)
- K8s: deployment, service, configmap, TsProxy for Tailscale access
- Backed by hermes-pgdb / trading_data database
- Wired into Flux staging pipeline
2026-05-02 21:47:27 +00:00
sirius0xdev
1668575d1a
Merge pull request #75 from sirius0xdev/feat/hermes-pgdb-cluster
feat: add dedicated CNPG cluster for Hermes agent memory and trading data
2026-05-02 17:34:23 -04:00
sirius0xdev
a3ad07d191 feat: add dedicated CNPG cluster for Hermes agent memory and trading data
- New hermes-pgdb cluster (Postgres 15.2, 1 instance, 20Gi)
- 3 databases: hermes_memory, trading_data, agent_memory
- 3 roles with SOPS-encrypted secrets (age encryption)
- Daily backups to gs://customer1_db_backup/hermes-backups/
- Wired into Flux pipeline via staging kustomization
2026-05-02 21:31:41 +00:00
sirius0xdev
31e5af495a
Update rtx6000-vllm.yaml 2026-05-02 11:06:22 -04:00
sirius0xdev
324c69faf9
Update rtx6000-vllm.yaml 2026-05-02 09:11:46 -04:00
sirius0xdev
9a7904c219
Update rtx6000-vllm.yaml 2026-05-02 08:36:04 -04:00
sirius0xdev
1aceefbedd
Update kustomization.yaml 2026-05-02 08:26:36 -04:00
sirius0xdev
864cfd2cc9
Update rtx6000-vllm.yaml 2026-05-02 08:26:09 -04:00
sirius0xdev
08e9998019
Update rtx6000-vllm.yaml 2026-05-02 08:24:21 -04:00
sirius0xdev
96d7af2886
Update kustomization.yaml 2026-04-30 01:21:28 -04:00
sirius0xdev
1711523134
Merge pull request #74 from sirius0xdev/fix/paaas-landing-image
fix(paaas-landing): update image
2026-04-30 00:22:50 -04:00
sirius0xdev
ed799c7d56 fix(paaas-landing): update image to ghcr.io/sirius0xdev/hermes_workspace:paaas-landing 2026-04-30 04:21:20 +00:00
sirius0xdev
891e2cf817
Merge pull request #73 from sirius0xdev/fix/rtx6000-scale-to-zero-with-cooldown
chore(paaas): update landing deployment to use hermes_workspace CD pipeline image
2026-04-29 23:21:29 -04:00
sirius0xdev
41fbd1fca1 Update paaas-landing deployment to use new static nginx image from hermes_workspace with updated business plan landing page 2026-04-30 03:02:22 +00:00
sirius0xdev
d9fef8cb5d
Update kustomization.yaml 2026-04-29 21:43:02 -04:00
sirius0xdev
0b5867a501
Update kustomization.yaml 2026-04-29 21:41:52 -04:00
sirius0xdev
1366590721
Update kustomization.yaml 2026-04-29 13:49:49 -04:00
sirius0xdev
862c8c0f19
Update deployment.yaml 2026-04-29 12:59:21 -04:00
sirius0xdev
ae8e51cc79
Update kustomization.yaml 2026-04-29 12:58:32 -04:00
sirius0xdev
de39eb1053
Update kustomization.yaml 2026-04-29 12:58:05 -04:00
sirius0xdev
bb0d8f8513
Merge pull request #72 from sirius0xdev/fix/hermes-vllm-provider-config-type
fix(hermes-agent): add type: openai to vLLM providers for model listing
2026-04-29 12:21:34 -04:00
sirius0xdev
2548bccfc6 fix(hermes-agent): add type: openai to vLLM providers for model listing
Enables /v1/models endpoint query for custom providers (fixes qwen model not showing under qwen-vllm).

Changes:
- Added `type: openai` to `rtx6000-brain` and `qwen-vllm` providers
- Standardized base_url to full FQDN: \*.customer1.svc.cluster.local
- Added context_length to qwen-vllm provider
- Updated models.qwen-vllm base_url and context_length for consistency
2026-04-29 16:18:35 +00:00
sirius0xdev
a742d583dd
Merge pull request #71 from sirius0xdev/fix/rtx6000-scale-to-zero-with-cooldown
fix(rtx6000): enable scale-to-zero with 20min cooldown + wake-up route
2026-04-29 12:10:43 -04:00
sirius0xdev
bd760287a8 fix(rtx6000): enable scale-to-zero with 20min cooldown + wake-up route
- Set replicas.min: 0 for scale-to-zero when idle
- Add config.cooldownPeriod: 1200 to KEDA HTTP add-on HelmRelease
  (20 min buffer before scaling down from 1 replica)
- Add external HTTPRoute at brain.siriusdevops.com for manual wake-up
  via curl from Hermes/Telegram
2026-04-29 16:01:03 +00:00
sirius0xdev
17f46261e0
Update rtx6000-vllm.yaml 2026-04-29 11:21:02 -04:00
sirius0xdev
24fee8f4a2
Update rtx6000-vllm.yaml 2026-04-29 09:41:48 -04:00
sirius0xdev
37a4179f96
Update deployment.yaml 2026-04-29 09:22:34 -04:00
sirius0xdev
ae9758727c
Merge pull request #70 from sirius0xdev/feat/add-rtx6000-brain-vllm-provider
feat: add rtx6000-brain and qwen-vllm custom vLLM providers to Hermes…
2026-04-29 08:54:04 -04:00
sirius0xdev
ec41b38f1a feat: add rtx6000-brain and qwen-vllm custom vLLM providers to Hermes ConfigMap
- Makes rtx6000-brain selectable in the /model provider picker (preferred name)
- Uses short Kubernetes service names (optimal for same-namespace)
- Keeps existing models: section for CLI compatibility
- Will appear as provider options after ArgoCD/Helm rollout + /restart
2026-04-29 12:52:00 +00:00
sirius0xdev
8c1c55dd80
Update kustomization.yaml 2026-04-29 08:23:18 -04:00
sirius0xdev
13db3d4a3d
Update kustomization.yaml 2026-04-29 08:22:58 -04:00
sirius0xdev
b55539eac4
Merge pull request #69 from sirius0xdev/fix/rtx6000-scaling-prevent-thrashing
fix(rtx6000-scaling): set minReplicas to 1 to prevent transient scale…
2026-04-29 07:26:48 -04:00
sirius0xdev
53fde83544 fix(rtx6000-scaling): set minReplicas to 1 to prevent transient scale-up/down thrashing from periodic health checks
Prevents the watcher cron (every 5m) from causing unnecessary spot pod churn. Keeps 1 ready pod always (KEDA overrides deployment replicas).
2026-04-29 11:20:45 +00:00
sirius0xdev
9a64ed8889
Merge pull request #68 from sirius0xdev/feat/hermes-configmap
Feat/hermes configmap
2026-04-29 01:52:24 -04:00
sirius0xdev
6989b18f37 feat(hermes-config): add clean 'vllm' provider for the existing rtx6000-brain-service
- Primary 'vllm' entry for easy /model vllm usage
- Uses model from the rtx6000 deployment
- Kept existing qwen-vllm, rtx6000-vllm, and rtx6000-brain for compatibility
2026-04-29 05:50:54 +00:00
sirius0xdev
58451ccca5 feat(hermes-config): add rtx6000-brain provider using model from vLLM deployment
Added rtx6000-brain alongside the existing rtx6000-vllm entry.
Uses the exact model name from rtx6000-vllm Deployment and the correct ClusterIP service endpoint.
2026-04-29 05:42:31 +00:00
sirius0xdev
dd34e21f76
Update rtx6000-vllm.yaml 2026-04-29 01:22:41 -04:00