mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 13:20:41 +00:00
- Introduce a new `webhook` crate to centralize signature validation for GitHub, Hookdeck, and Forgejo webhooks. - Enable `github-integration` to perform unified webhook signature verification using the `webhook` crate. - Refactor `github-integration`: replace legacy HMAC verification with the reusable `webhook` structure. - Extend Podman configuration for Hookdeck webhook signature handling and improve documentation. - Clean up unused dependencies by migrating to the new implementation. Signed-off-by: Till Wegmueller <toasterson@gmail.com>
29 lines
1.1 KiB
TOML
29 lines
1.1 KiB
TOML
[package]
|
|
name = "github-integration"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
common = { path = "../common" }
|
|
webhook = { path = "../webhook" }
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
miette = { version = "7", features = ["fancy"] }
|
|
tracing = "0.1"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal", "fs", "io-util", "time"] }
|
|
# HTTP + Webhooks
|
|
axum = { version = "0.8", features = ["macros"] }
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls-native-roots"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
# GitHub App auth
|
|
jsonwebtoken = "9"
|
|
time = { version = "0.3", features = ["formatting"] }
|
|
# AMQP consumer for results
|
|
lapin = { version = "2" }
|
|
futures-util = "0.3"
|
|
# S3/Garage upload
|
|
aws-config = { version = "1", default-features = false, features = ["behavior-version-latest", "rt-tokio"] }
|
|
aws-sdk-s3 = { version = "1", default-features = false, features = ["rt-tokio", "rustls"] }
|
|
# Workflow parsing helpers
|
|
base64 = "0.22"
|
|
uuid = { version = "1", features = ["v4"] }
|