Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: validate config file #293

Merged
merged 23 commits into from
Feb 24, 2023
Merged

Conversation

kikkomep
Copy link
Member

This PR introduces several new feature to support the validation of .lifemonitor.yaml files.

The API has been extended with two new endpoints: the first returns the validation schema, while the second allows the validation of a configuration file instance against the schema.

Validation Schema Validation endpoint
Screenshot 2023-02-13 at 16 40 14 Screenshot 2023-02-13 at 16 42 51

Validation is automatically carried out on repositories where the LifeMonitor GitHub app is installed, and any errors are reported as GitHub issues.

Screenshot 2023-02-13 at 12 30 46

The validation function is also available through the CLI

Screenshot 2023-02-13 at 12 32 56

fix #289, #260

@kikkomep kikkomep merged commit 92cfdea into crs4:develop Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant