Commit Graph
76 Commits
Author SHA1 Message Date
chemavxandClaude Opus 4.8 07aacc6878 Remove plaintext bot-secrets Secret from git (polymarket-bot 3c)
Last plaintext secret leaving git; the 6th/last copy of the Telegram token.
ArgoCD prunes the live bot-secrets Secret (and its cleartext
last-applied-configuration annotation). Consumers already on bot-secrets-infisical.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 10:21:53 +00:00
chemavxandClaude Opus 4.8 dc0d24ded6 Repoint api/bot envFrom + cronjob to bot-secrets-infisical + bot-config (polymarket-bot 3b)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 10:18:35 +00:00
chemavxandClaude Opus 4.8 fb9170ec5b Add bot-secrets InfisicalStaticSecret + bot-config ConfigMap (parallel, polymarket-bot 3a)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 10:16:24 +00:00
chemavxandClaude Opus 4.8 0e50d88b54 Remove plaintext telegram-notify secrets from git (n8n/portfolio/openclaw/polymarket-bot)
Phase 3c: hooks now read telegram-notify-infisical (synced from homelab/prod
/telegram). Deleting these 4 manifests prunes the old plaintext secrets — the
bot token leaves git for the remaining 4 namespaces. Completes migration #1.

NOTE: polymarket-bot/bot-secrets still embeds the same token (migration #3).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 20:34:16 +00:00
chemavxandClaude Opus 4.8 b124f128e6 Repoint PostSync hooks to telegram-notify-infisical (n8n/portfolio/openclaw/polymarket-bot)
Phase 3b: all 4 hooks' secretKeyRefs now read the Infisical-managed secret.
Old plaintext telegram-notify secrets stay as fallback until 3c.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 20:31:02 +00:00
chemavxandClaude Opus 4.8 7b1f2da613 Add InfisicalStaticSecret for telegram-notify in n8n/portfolio/openclaw/polymarket-bot (parallel)
Phase 3a of telegram-notify migration: each syncs TELEGRAM_BOT_TOKEN/
TELEGRAM_CHAT_ID from shared homelab/prod /telegram via read-only
infisical-operator/infisical-auth, into parallel-name telegram-notify-infisical.
Old plaintext secrets + hooks untouched (repoint=3b, removal=3c).
polymarket-bot: standalone secret only; bot-secrets copy is migration #3.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 20:28:30 +00:00
chemavxandClaude Opus 4.8 f1ad60b046 Cut over polymarket-bot deployments to Infisical-managed pull secret
api/bot: imagePullSecrets gitea-registry -> gitea-registry-infisical.
dashboard: add gitea-registry-infisical (previously had NO pull secret
despite pulling a private image — fixes latent ErrImagePull-on-reschedule
bug). Old gitea-registry stays as rollback net until decommission.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 06:37:55 +00:00
chemavxandClaude Opus 4.8 3957b69b10 Add polymarket-bot InfisicalStaticSecret for gitea-registry pull secret
Reconstructs the dockerconfigjson pull secret from the shared /registry v3
fields (GITEA_REGISTRY_USERNAME/GITEA_REGISTRY_TOKEN) via the shared
infisical-operator/infisical-auth. Targets parallel-name
gitea-registry-infisical; old gitea-registry stays live until cutover.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 06:27:47 +00:00
chemavxandClaude Opus 4.8 6036b8d67b chore(polymarket-bot): remove gitea-registry secret from GitOps
The dockerconfigjson held the old account password (now rotated/revoked)
in plaintext. Manage this image-pull secret out-of-band via kubectl
(like researchowl), so no registry credential lives in git going forward.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 20:17:52 +00:00
chemavx 649c4ddd95 Revert "test: temporary invalid manifest to verify on-sync-failed Telegram trigger"
This reverts commit 44b76e3049.
2026-06-12 15:41:13 +00:00
chemavxandClaude Fable 5 44b76e3049 test: temporary invalid manifest to verify on-sync-failed Telegram trigger
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 15:35:22 +00:00
chemavxandClaude Fable 5 23abc484c7 feat(argocd): recover Telegram notifications (failed/degraded) and prune for polymarket-bot
- Notifications via generic webhook to the Telegram Bot API: the engine's
  native telegram service only supports channels and negative group IDs,
  so a positive private chat_id never worked ("chat not found").
- Only on-sync-failed and on-health-degraded triggers; on-sync-succeeded
  dropped (CI already reports successful deploys).
- Subscribe annotations on polymarket-bot, researchowl and n8n.
- prune: true on polymarket-bot, guarded by Prune=false on the postgres
  PVC so removing the manifest from git can never destroy the data.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 15:31:07 +00:00
ChemaVXandClaude Fable 5 b578637112 feat(polymarket-bot): daily retention CronJob for metrics_daily
The bot snapshots metrics every cycle (~1,300 rows/day, 74K rows in 57
days) but only the last snapshot of each past UTC day is ever read back.
Prune past days to their daily close at 00:10 UTC; today's rows are kept
intact for /api/summary.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 08:12:20 +00:00
Gitea CI 52e34275fd ci: update polymarket-bot images to 4928a3c1 [skip ci] 2026-06-12 08:07:58 +00:00
Gitea CI b60c160b21 ci: update polymarket-bot images to 43d9577f [skip ci] 2026-06-12 07:13:07 +00:00
Gitea CI 117fdda36f ci: update polymarket-bot images to 1797b79f [skip ci] 2026-06-11 19:55:59 +00:00
Gitea CI c43ce9e150 ci: update polymarket-bot images to 060fc899 [skip ci] 2026-06-11 19:39:45 +00:00
Gitea CI 57a9818412 ci: update polymarket-bot images to c5ffc378 [skip ci] 2026-06-11 17:34:12 +00:00
Gitea CI cf445e1bd8 ci: update polymarket-bot images to 7ebb87ae [skip ci] 2026-06-11 17:21:40 +00:00
Gitea CI 20eb648c7f ci: update polymarket-bot images to 02cbfc0b [skip ci] 2026-06-11 17:12:14 +00:00
Gitea CI 45a3f7f5ff ci: update polymarket-bot images to 4867141c [skip ci] 2026-06-11 16:43:07 +00:00
Gitea CI 06bd52a126 ci: update polymarket-bot images to f5ac302a [skip ci] 2026-06-11 16:34:18 +00:00
Gitea CI de0801287d ci: update polymarket-bot images to 4002f03d [skip ci] 2026-06-11 15:41:51 +00:00
Gitea CI f84f3a1bd1 ci: update polymarket-bot images to 96f31acf [skip ci] 2026-06-11 14:33:01 +00:00
Gitea CI e942c18a51 ci: update polymarket-bot images to 5aa54eb4 [skip ci] 2026-06-11 14:15:14 +00:00
Gitea CI 8649f7bdf5 ci: update polymarket-bot images to e137116e [skip ci] 2026-06-11 13:49:29 +00:00
Gitea CI 23fc503c25 ci: update polymarket-bot images to 340c8523 [skip ci] 2026-06-11 12:24:27 +00:00
Gitea CI cd3315c0f7 ci: update polymarket-bot images to 3a353c7e [skip ci] 2026-06-08 15:58:10 +00:00
Gitea CI 3cad61d48a ci: update polymarket-bot images to 82391478 [skip ci] 2026-06-08 15:41:56 +00:00
Gitea CI 3bb5c57066 ci: update polymarket-bot images to 98abd96f [skip ci] 2026-06-08 12:19:44 +00:00
Gitea CI 3286f5ed6e ci: update polymarket-bot images to df988a36 [skip ci] 2026-06-02 09:06:17 +00:00
Gitea CI 08ff9b6364 ci: update polymarket-bot images to 664ecab1 [skip ci] 2026-06-02 08:59:31 +00:00
Gitea CI 59bb310785 ci: update polymarket-bot images to 34fd1f87 [skip ci] 2026-05-31 15:29:22 +00:00
Gitea CI 9d1fff78c1 ci: update polymarket-bot images to d51d47c9 [skip ci] 2026-05-28 08:48:03 +00:00
Gitea CI 0240f8213b ci: update polymarket-bot images to 8febd321 [skip ci] 2026-05-27 16:13:06 +00:00
Gitea CI 5058d2bc57 ci: update polymarket-bot images to 9abaae44 [skip ci] 2026-05-27 15:58:27 +00:00
Gitea CI fa195b14f2 ci: update polymarket-bot images to ae7c7371 [skip ci] 2026-05-20 14:11:37 +00:00
chemavxandClaude Sonnet 4.6 eb46543150 feat: add Telegram notifications to PostSync smoke tests + new tests for researchowl/openclaw
- Create telegram-notify secret in n8n, portfolio, polymarket-bot, researchowl, openclaw
  namespaces (values mirrored from monitoring/grafana-telegram)
- Update existing smoke tests (n8n, portfolio, polymarket-bot) to send [OK]/[FAIL]
  Telegram notifications on success/failure
- Add postsync-smoke-test for openclaw (curl GET / on port 18789)
- Add postsync-smoke-test for researchowl (no HTTP port; checks readyReplicas via
  k8s API using a smoke-test-reader ServiceAccount + Role + RoleBinding)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 12:40:23 +00:00
Gitea CI 5df2e9746a ci: update polymarket-bot images to 39cebd3b [skip ci] 2026-04-26 15:03:41 +00:00
chemavx ef11391c80 feat(polymarket): add Telegram bot credentials to bot-secrets 2026-04-26 15:02:22 +00:00
Gitea CI 4d8c783be2 ci: update polymarket-bot images to 1f40c59e [skip ci] 2026-04-25 10:06:24 +00:00
Gitea CI e4fab51d31 ci: update polymarket-bot images to fe242ca5 [skip ci] 2026-04-25 10:03:23 +00:00
chemavx 8a8f33704c fix: smoke test grep to match compact JSON (no space after colon) 2026-04-23 09:22:53 +00:00
chemavx d3c03d5462 argocd: add PostSync smoke test hooks for polymarket-bot, n8n, portfolio 2026-04-23 09:14:12 +00:00
Gitea CI e5e0d174b0 ci: update polymarket-bot images to ffd3ee2f [skip ci] 2026-04-22 20:37:12 +00:00
Gitea CI e895fc6104 ci: update polymarket-bot images to adf2917c [skip ci] 2026-04-22 16:38:04 +00:00
Gitea CI 25ea82f696 ci: update polymarket-bot images to 6d23e804 [skip ci] 2026-04-22 11:31:08 +00:00
Gitea CI bf7ac532de ci: update polymarket-bot images to 8a56bf77 [skip ci] 2026-04-22 11:11:47 +00:00
Gitea CI 47841eef19 ci: update polymarket-bot images to 8479a631 [skip ci] 2026-04-22 07:09:04 +00:00
Gitea CI 81b4c30fbb ci: update polymarket-bot images to 9a5be275 [skip ci] 2026-04-21 17:37:45 +00:00