Commita4e1564unknown_key
fix: Update GateTest endpoint to /api/events/push
fix: Update GateTest endpoint to /api/events/push Changed from https://gatetest.ai/api/scan/run to https://gatetest.ai/api/events/push across all files: config.ts, .env.example, CLAUDE.md, docker-compose.yml, DEPLOY.md, DEPLOYMENT_RUNBOOK.md https://claude.ai/code/session_013wpQ5iX7qU6zy6PrtML3fP
6 files changed+6−6a4e15640cc90b01aac1113c5c94fb973eca64dae
6 changed files+6−6
Modified.env.example+1−1View fileUnifiedSplit
@@ -1,7 +1,7 @@
11DATABASE_URL=postgresql://user:password@host/gluecron
22GIT_REPOS_PATH=./repos
33PORT=3000
4GATETEST_URL=https://gatetest.ai/api/scan/run
4GATETEST_URL=https://gatetest.ai/api/events/push
55GATETEST_API_KEY=
66# Inbound GateTest callback auth — set one so GateTest can POST results back.
77# See GATETEST_HOOK.md for payload + endpoint details.
ModifiedCLAUDE.md+1−1View fileUnifiedSplit
@@ -93,7 +93,7 @@ src/
9393
9494## Integrations
9595
96- **GateTest:** POST `https://gatetest.ai/api/scan/run` on every `git push`
96- **GateTest:** POST `https://gatetest.ai/api/events/push` on every `git push`
9797- **Crontech:** POST `https://crontech.ai/api/trpc/tenant.deploy` on push to main
9898- **Webhooks:** POST to registered URLs on push/issue/PR/star events with HMAC signatures
9999
ModifiedDEPLOY.md+1−1View fileUnifiedSplit
@@ -86,7 +86,7 @@ DATABASE_URL=postgresql://user:pass@host/gluecron?sslmode=require
8686GIT_REPOS_PATH=/data/repos
8787PORT=3000
8888NODE_ENV=production
89GATETEST_URL=https://gatetest.ai/api/scan/run
89GATETEST_URL=https://gatetest.ai/api/events/push
9090CRONTECH_DEPLOY_URL=https://crontech.ai/api/trpc/tenant.deploy
9191EOF
9292
Modifieddocker-compose.yml+1−1View fileUnifiedSplit
@@ -8,7 +8,7 @@ services:
88 - GIT_REPOS_PATH=/data/repos
99 - PORT=3000
1010 - NODE_ENV=production
11 - GATETEST_URL=https://gatetest.ai/api/scan/run
11 - GATETEST_URL=https://gatetest.ai/api/events/push
1212 - CRONTECH_DEPLOY_URL=https://crontech.ai/api/trpc/tenant.deploy
1313 volumes:
1414 - git-repos:/data/repos
Modifieddocs/ops/DEPLOYMENT_RUNBOOK.md+1−1View fileUnifiedSplit
@@ -121,7 +121,7 @@ from `src/lib/config.ts` and direct `process.env.*` references in
121121
122122| Variable | Required? | Example | Notes |
123123|---|---|---|---|
124| `GATETEST_URL` | **Yes** (for integration) | `https://gatetest.io/api/scan/run` | Default `https://gatetest.ai/api/scan/run` — override to production host. |
124| `GATETEST_URL` | **Yes** (for integration) | `https://gatetest.ai/api/events/push` | Default `https://gatetest.ai/api/events/push`. |
125125| `GATETEST_API_KEY` | **Yes** | `gtk_...` | Outbound bearer token sent to GateTest. |
126126| `GATETEST_CALLBACK_SECRET` | **Yes** | *(random 32-byte hex)* | Bearer token GateTest uses when posting scan results back to Gluecron (`/hooks/gatetest`). |
127127| `GATETEST_HMAC_SECRET` | **Yes** | *(random 32-byte hex)* | HMAC signing secret for GateTest → Gluecron callbacks. |
Modifiedsrc/lib/config.ts+1−1View fileUnifiedSplit
@@ -11,7 +11,7 @@ export const config = {
1111 return process.env.GIT_REPOS_PATH || join(process.cwd(), "repos");
1212 },
1313 get gatetestUrl() {
14 return process.env.GATETEST_URL || "https://gatetest.ai/api/scan/run";
14 return process.env.GATETEST_URL || "https://gatetest.ai/api/events/push";
1515 },
1616 get gatetestApiKey() {
1717 return process.env.GATETEST_API_KEY || "";
1818