woodpecker/pipeline/schema
Anbraten 0fa271f465
Add json schema and cli lint command (#342)
- Add json schema file
- Add tests to validate sample pipeline files
- Add new command `lint` to cli to test a directory or single file to use correct schema

Example:  `woodpecker-cli lint ./pipeline/schema/.woodpecker/`

---
close #275 
preparation for #276 


Co-authored-by: 6543 <6543@obermui.de>
2021-09-27 02:38:15 +02:00
..
.woodpecker Add json schema and cli lint command (#342) 2021-09-27 02:38:15 +02:00
schema.go Add json schema and cli lint command (#342) 2021-09-27 02:38:15 +02:00
schema.json Add json schema and cli lint command (#342) 2021-09-27 02:38:15 +02:00
schema_test.go Add json schema and cli lint command (#342) 2021-09-27 02:38:15 +02:00