@hashi-at-home/cdevents-adapter
v2.1.0-7284ec
Published
[](https://github.com/hashi-at-home/cdevents-adapter/actions/workflows/main.yml)
Downloads
20
Readme
CD Events Adapter
CD Events Adapter built to run on Cloudflare
This adapter is designed to receive webhooks from external sources such as GitHub, GitLab, Jira, etc, validate them and convert them to CD Events. Canonical CD Events are then placed on a relevant queue for further processing.
graph TB
A[Webhook] --> B[Validation]
B --> C[Convert]
C --> D[Queue]Types and validation are handled by Zod, while the API itself is built using Hono. The API is intended to be deployed as a Cloudflare Worker, but can be deployed using different runtimes.
Development environment
We use mise to configure the development environment.
See mise.toml for details.
In order to use Mise, you need to install it in your development environment first.
mise trust
mise installnpm install
npm run devnpm run deployFor generating/synchronizing types based on your Worker configuration run:
npm run cf-typegen