Skip to content

Commit 21ff744

Browse files
Add Woodpecker CI provider plugin + fix clippy errors
- Add plugins/provider-woodpecker/ with full Woodpecker CI support - Converts CIGen jobs to Woodpecker steps format - Maps GitHub Actions to equivalent Woodpecker plugins - Handles package caching (Rust/Node) via meltwater/drone-cache - Converts condition syntax from GitHub to Woodpecker - Fix clippy cmp_owned errors in src/commands/generate.rs - Use as_os_str() comparison instead of creating PathBuf for comparison All tests pass, clippy clean, formatted.
1 parent be4d624 commit 21ff744

File tree

5 files changed

+729
-2
lines changed

5 files changed

+729
-2
lines changed

Cargo.lock

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ members = [
33
".",
44
"plugins/provider-github",
55
"plugins/provider-circleci",
6+
"plugins/provider-woodpecker",
67
]
78
resolver = "2"
89

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[package]
2+
name = "cigen-provider-woodpecker"
3+
version = "0.1.0"
4+
edition = "2024"
5+
authors = ["Nathan Broadbent / DocSpring Inc"]
6+
description = "Woodpecker CI provider plugin for CIGen"
7+
license = "MIT"
8+
9+
[[bin]]
10+
name = "cigen-provider-woodpecker"
11+
path = "src/main.rs"
12+
13+
[dependencies]
14+
cigen = { path = "../.." }
15+
anyhow = { workspace = true }
16+
tokio = { workspace = true }
17+
tonic = { workspace = true }
18+
prost = { workspace = true }
19+
tonic-prost = { workspace = true }
20+
tracing = { workspace = true }
21+
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
22+
serde = { workspace = true }
23+
serde_json = { workspace = true }
24+
serde_yaml = "0.9.34"

0 commit comments

Comments
 (0)