https://git.jolheiser.com/jsonnetpecker.git
A Woodpecker Config Extension to parse jsonnet configs.
Configuration can be provided via flags, environment variables (prefixed with JSONNETPECKER_), or a jsonnet config file (default: .config.jsonnet, override with --config).
| Flag | Short | Env | Default | Description |
|---|---|---|---|---|
--port |
-p |
JSONNETPECKER_PORT |
0 |
Port to listen on |
--public-key |
-k |
JSONNETPECKER_PUBLIC_KEY |
Woodpecker public key for verification | |
--public-key-file |
-K |
JSONNETPECKER_PUBLIC_KEY_FILE |
Path to file containing the Woodpecker public key | |
--log-level |
-l |
JSONNETPECKER_LOG_LEVEL |
info |
Log level (debug, info, warn, error) |
--json |
-j |
JSONNETPECKER_JSON |
false |
Enable JSON logging |
{
port: 8080,
"public-key-file": "/etc/woodpecker/public.key",
"log-level": "info",
}