| name | config-validation |
| description | Validates config.yaml changes for the CI Dashboard Tracker. Checks collector type, version format, platform names, job patterns, and backwards compatibility with existing team deployments. |
Config Validation Guide
config.yaml Schema
The dashboard configuration file controls all behavior. When reviewing or
modifying config.yaml, validate these rules:
Collector Section
collector:
type: "gcsweb"
Each collector type has a required subsection with type-specific fields.
The active type must have its corresponding subsection present.
Tracking Section
tracking:
versions: ["4.19", "4.21"]
platforms: ["aws", "azure"]
test_suite_filter: "name"
lookback_days: 30
blocklist: ["OCP-12345"]
Valid platforms: aws, azure, gcp, vsphere, nutanix, metal, alibabacloud,
ibmcloud, openstack, ovirt, none
Version format: Major.Minor (e.g., "4.19", "5.0")
Database Section
database:
path: "./data/dashboard.db"
For OpenShift: use /data/dashboard.db (persistent volume mount point).
Web Section
web:
host: "0.0.0.0"
port: 8080
debug: false
Backwards Compatibility Rules
- Never remove existing config keys -- add new ones with defaults
- Never rename config keys -- add aliases if needed
- New collector types must not break existing collector configs
- Default values must produce working behavior (no required new keys)
- Changes to
tracking.versions or tracking.platforms must preserve
existing values (add, don't replace)
Common Validation Errors
- Job pattern with
{version} placeholder but no versions listed
- Platform name not in the recognized set
- Collector type doesn't match any subsection
- Database path pointing to non-persistent storage in OpenShift
- Debug mode left enabled in production config