Skip to content

chore(deploy): Cloudflare Tunnel on-ramp for the Marketplace webhook#63

Merged
ErenAri merged 1 commit into
mainfrom
chore/marketplace-webhook-deploy
Jun 28, 2026
Merged

chore(deploy): Cloudflare Tunnel on-ramp for the Marketplace webhook#63
ErenAri merged 1 commit into
mainfrom
chore/marketplace-webhook-deploy

Conversation

@ErenAri

@ErenAri ErenAri commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Makes the GitHub Marketplace webhook reachable at https://api.kernelguard.net/github/marketplace/webhook without standing up the KVM demo host or opening inbound ports.

Root cause of the failing GitHub ping ("failed to connect to host"): api.kernelguard.net has no DNS record / no backend during the Azure→Hetzner migration. The webhook code (PR #62) is correct; it just needs a reachable host. A Cloudflare Tunnel is the lowest-friction fix since the zone is already on Cloudflare.

Adds

  • packaging/cloudflared/config.yml.example — tunnel ingress → 127.0.0.1:8080
  • scripts/cloudflared-setup.sh — login → create bpfcompat-api tunnel → route api.kernelguard.net DNS → write /etc/cloudflared/config.yml → install the cloudflared service; prints verify curls
  • packaging/systemd/bpfcompat-serve.env.example — documents BPFCOMPAT_GITHUB_MARKETPLACE_WEBHOOK_SECRET
  • docs/github-marketplace.md — "Hosting via Cloudflare Tunnel" runbook

Deploy/docs only — no application code change.

🤖 Generated with Claude Code

Make the GitHub Marketplace webhook reachable at api.kernelguard.net without
the heavy KVM demo host or open inbound ports.

- packaging/cloudflared/config.yml.example: tunnel ingress -> 127.0.0.1:8080
- scripts/cloudflared-setup.sh: login, create tunnel, route DNS, write config,
  install the cloudflared service; prints verify curls
- packaging/systemd/bpfcompat-serve.env.example: document the webhook secret var
- docs/github-marketplace.md: "Hosting via Cloudflare Tunnel" runbook

No application code change; deploy/docs only.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ErenAri ErenAri merged commit 0e9d800 into main Jun 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant