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
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.
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 application2026-05-09 12:35:59 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Résumé
Ajoute l'Application Argo CD
telegram-gateway(Phase 1 — bot@arcodange_factory_bot, slug internefactory, handler echo).gitea.arcodange.lab/arcodange/telegram-gateway(user space, commedance-lessons-coach)gitea.arcodange.lab/arcodange/telegram-gateway:latest(digest strategy via Image Updater)https://tg.arcodange.fr(ingress Traefik, *.arcodange.fr déjà routé via Cloudflare)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 echoend-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-gatewaycréé et code pushé✅ Namespace
telegram-gatewaycréé✅ Secret
telegram-gateway-botscréé (contientBOT_FACTORY_TOKEN+BOT_FACTORY_SECRET)✅ Image Docker
gitea.arcodange.lab/arcodange/telegram-gateway:latestbuild (Gitea Actions)Test plan
telegram-gateway/telegram-gatewayRunning, logs show "1 bot(s) loaded"curl https://tg.arcodange.fr/healthz→ 200make setwebhook SLUG=factory BASE_URL=https://tg.arcodange.frréussit@arcodange_factory_bot→ réponse echo en < 2 sargocd: add homelab-gateway applicationto argocd: add telegram-gateway application