argocd: add telegram-gateway application #6

Merged
arcodange merged 2 commits from feat/homelab-gateway-app into main 2026-05-09 12:41:50 +02:00
Owner

Résumé

Ajoute l'Application Argo CD telegram-gateway (Phase 1 — bot @arcodange_factory_bot, slug interne factory, handler echo).

  • Repo source : gitea.arcodange.lab/arcodange/telegram-gateway (user space, comme dance-lessons-coach)
  • Image : gitea.arcodange.lab/arcodange/telegram-gateway:latest (digest strategy via Image Updater)
  • Public URL : https://tg.arcodange.fr (ingress Traefik, *.arcodange.fr déjà routé via Cloudflare)

Note : le repo a été initialement créé sous le nom homelab-gateway puis renommé en telegram-gateway pour matcher le subdomain et les conventions Arcodange. Le 2e commit de cette branche reflète ce rename côté factory.

Contexte

Première brique d'une gateway de webhooks Telegram sur le home lab.
Remplace progressivement le polling Cowork-scheduled par du push direct
de Telegram vers tg.arcodange.fr/bot/<slug>. Phase 1 = MVP echo
end-to-end (webhook + secret_token validation + sendMessage).

Phases suivantes (séparées) : queue Postgres durable, handlers
shell/script/ollama async, retry pour quand le Macbook Ollama dort.

Plan complet : ~/.claude/plans/pour-les-notifications-on-inherited-seal.md.

Pré-requis avant merge

Repo arcodange/telegram-gateway créé et code pushé
Namespace telegram-gateway créé
Secret telegram-gateway-bots créé (contient BOT_FACTORY_TOKEN + BOT_FACTORY_SECRET)
Image Docker gitea.arcodange.lab/arcodange/telegram-gateway:latest build (Gitea Actions)

Test plan

  • Argo CD pulls the new App and sync goes Healthy
  • Pod telegram-gateway/telegram-gateway Running, logs show "1 bot(s) loaded"
  • curl https://tg.arcodange.fr/healthz → 200
  • make setwebhook SLUG=factory BASE_URL=https://tg.arcodange.fr réussit
  • Message envoyé à @arcodange_factory_bot → réponse echo en < 2 s
## Résumé Ajoute l'Application Argo CD `telegram-gateway` (Phase 1 — bot `@arcodange_factory_bot`, slug interne `factory`, handler echo). - Repo source : `gitea.arcodange.lab/arcodange/telegram-gateway` (user space, comme `dance-lessons-coach`) - Image : `gitea.arcodange.lab/arcodange/telegram-gateway:latest` (digest strategy via Image Updater) - Public URL : `https://tg.arcodange.fr` (ingress Traefik, *.arcodange.fr déjà routé via Cloudflare) > Note : le repo a été initialement créé sous le nom `homelab-gateway` puis renommé en `telegram-gateway` pour matcher le subdomain et les conventions Arcodange. Le 2e commit de cette branche reflète ce rename côté factory. ## Contexte Première brique d'une **gateway de webhooks Telegram** sur le home lab. Remplace progressivement le polling Cowork-scheduled par du push direct de Telegram vers `tg.arcodange.fr/bot/<slug>`. Phase 1 = MVP echo end-to-end (webhook + secret_token validation + sendMessage). Phases suivantes (séparées) : queue Postgres durable, handlers shell/script/ollama async, retry pour quand le Macbook Ollama dort. Plan complet : `~/.claude/plans/pour-les-notifications-on-inherited-seal.md`. ## Pré-requis avant merge ✅ Repo `arcodange/telegram-gateway` créé et code pushé ✅ Namespace `telegram-gateway` créé ✅ Secret `telegram-gateway-bots` créé (contient `BOT_FACTORY_TOKEN` + `BOT_FACTORY_SECRET`) ✅ Image Docker `gitea.arcodange.lab/arcodange/telegram-gateway:latest` build (Gitea Actions) ## Test plan - [ ] Argo CD pulls the new App and sync goes Healthy - [ ] Pod `telegram-gateway/telegram-gateway` Running, logs show "1 bot(s) loaded" - [ ] `curl https://tg.arcodange.fr/healthz` → 200 - [ ] `make setwebhook SLUG=factory BASE_URL=https://tg.arcodange.fr` réussit - [ ] Message envoyé à `@arcodange_factory_bot` → réponse echo en < 2 s
arcodange added 1 commit 2026-05-09 12:25:50 +02:00
Adds the homelab-gateway Argo CD Application pointing at
arcodange/homelab-gateway (user space, like dance-lessons-coach).

Image Updater watches gitea.arcodange.lab/arcodange/homelab-gateway:latest
with digest strategy.

Phase 1 of the Telegram webhook gateway — a long-running pod that
receives webhooks (no more polling) and routes per-bot to handler
implementations. Initial bot: @arcodange_factory_bot, slug=factory,
echo handler.
arcodange added 1 commit 2026-05-09 12:35:40 +02:00
Aligns with the upstream repo rename
(arcodange/homelab-gateway → arcodange/telegram-gateway) so the name
matches the public URL tg.arcodange.fr and Arcodange's naming
conventions.
arcodange changed title from argocd: add homelab-gateway application to argocd: add telegram-gateway application 2026-05-09 12:35:59 +02:00
arcodange merged commit 4163b06659 into main 2026-05-09 12:41:50 +02:00
arcodange deleted branch feat/homelab-gateway-app 2026-05-09 12:41:50 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arcodange-org/factory#6