From 876a30e5db3c6d355345f8d464184fb8d985cd53 Mon Sep 17 00:00:00 2001 From: jedarden Date: Thu, 2 Jul 2026 11:01:10 -0400 Subject: [PATCH] docs(bf-5usp): document existing Forgejo webhook for ai-code-battle The webhook at webhooks-ci.ardenone.com/ai-code-battle is already registered and active for push events to the master branch. --- notes/bf-5usp.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 notes/bf-5usp.md diff --git a/notes/bf-5usp.md b/notes/bf-5usp.md new file mode 100644 index 0000000..6665c80 --- /dev/null +++ b/notes/bf-5usp.md @@ -0,0 +1,30 @@ +# Forgejo Webhook Registration for ai-code-battle + +## Finding + +The Forgejo webhook for ai-code-battle is **already registered and active**. + +## Webhook Details + +- **URL**: `https://webhooks-ci.ardenone.com/ai-code-battle` +- **Events**: `push` +- **Active**: `true` +- **Created**: 2026-07-02T14:28:39Z +- **Updated**: 2026-07-02T14:35:22Z +- **Webhook ID**: 5 + +## Resources + +- **EventSource**: `forgejo-webhooks` in argo-events namespace (iad-ci) +- **Sensor**: `ai-code-battle-github-ci-sensor` in argo-events namespace (iad-ci) +- **IngressRoute**: `github-webhook-ingressroute` routes `webhooks-ci.ardenone.com/ai-code-battle` to `forgejo-webhooks-eventsource-svc:12000` + +## Verification + +Verified via Forgejo API: +```bash +curl -H "Authorization: token $FORGEJO_TOKEN" \ + "https://git.ardenone.com/api/v1/repos/jedarden/ai-code-battle/hooks" +``` + +The webhook triggers the `acb-build` WorkflowTemplate on push to the master branch.