CICD-424 · Engineering scorecard generation
Encyclopedia · Platform engineering and internal developer platforms · All snippets
Previous · CICD-423 · Next · CICD-425
1. Where it fits
- Placement scorecard job.
- Prerequisites platform sandbox, scoped identities and reviewed service catalog or provisioning policy.
- Platforms kubernetes, local-lab.
2. Copy the snippet
bash
jq '[.[] | {service:.metadata.name,owned:(.spec.owner != null),lifecycle:.spec.lifecycle}]' catalog.json > scorecard.json3. How it works
The expression filters or transforms the input JSON. Where jq -e is used, a false or empty result can fail the gate.
4. Verify the result
Keep inputs and scoring version for reproducibility. Add quality metrics as documented joins rather than guessed fields.
Validation syntax-validated (Bash parse). Status definitions.