kernelci / kernelci/kernelci-pipeline

Improve automated config validation in CI

Open
#746 0 comments 0 reactions 1 assignee Claimed by @nuclearcat View on GitHub
Dominant language
Python
Stars
11
Forks
40
Avg merge
2d 13h
Merged PRs (30d)
14

Description

Currently, the YAML config files are processed for basic validation using the `tests/validate_yaml.py` script. However, this script doesn't catch all issues; in particular, it doesn't check the sorting of top-level keys, which should be more strictly enforced as it improves long-term maintainability.

It would therefore be useful to create an additional GH Action, which would run `kci config validate` on the changed config. This requires of course having `kci` available in the CI environment, meaning it should likely run on the `kernelci/kernelci` docker image.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.