mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 13:20:41 +00:00
- Extend GitHub webhook handler with signature validation, push, and pull request event handling. - Add GitHub App authentication via JWT and installation token retrieval. - Parse `.solstice/workflow.kdl` for job queuing with `runs_on`, `script`, and job grouping support. - Integrate AMQP consumer for orchestrator results and structured job enqueueing. - Add S3-compatible storage configuration for log uploads. - Refactor CLI options and internal state for improved configuration management. - Enhance dependencies for signature, JSON, and AMQP handling. - Document GitHub integration Signed-off-by: Till Wegmueller <toasterson@gmail.com>
32 lines
1.1 KiB
TOML
32 lines
1.1 KiB
TOML
[package]
|
|
name = "github-integration"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
common = { path = "../common" }
|
|
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"
|
|
# Signature verification
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
# 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"] }
|