aurelbalteaux/Infra Tools
Environment detection, kustomize diff rendering, and reference validation for infra-deployments PRs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | Command to run: env-detector, render-diff, or validate-refs | yes | — |
| repo-root | Path to the repository root (default: auto-detect) | no | . |
| base-ref | Base git ref to compare against | no | — |
| pr-number | Pull request number (for labeling/commenting) | no | — |
| github-token | GitHub token for API operations | no | ${{ github.token }} |
| overlays-dir | Path to overlays directory relative to repo root | no | argo-cd-apps/overlays |
| output-mode | Output mode for render-diff: local, ci-summary, ci-comment, ci-artifact-dir (comma-separated) | no | local |
| output-dir | Output directory for render-diff artifacts | no | — |
| log-file | Write debug logs to this file (env-detector, render-diff only) | no | — |
| cluster-labels | Include cluster/<name> labels (env-detector) | no | false |
| dry-run | Print results without calling GitHub API (env-detector) | no | false |
| enforce-ring-deployment | Fail when both staging and production overlays are directly modified (env-detector) | no | false |
| ring-report-file | Write ring deployment check result to this file (env-detector) | no | — |
| root | Root directory to validate (validate-refs) | no | — |
| verbose | Show all checked directories (validate-refs) | no | false |
| detection-mode | Detection mode for render-diff: appset or direct | no | appset |
| components-dir | Components directory for direct mode (render-diff) | no | components |
Outputs
| name | description |
|---|---|
| affected-environments | JSON array of affected environment names (env-detector) |
| affected-clusters | JSON array of affected cluster names (env-detector) |
| labels | JSON array of labels that would be applied (env-detector) |