quarantine-schema.yaml 740 B

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Schema to validate a YAML file providing the list of configurations
  3. # under quarantine
  4. #
  5. # We load this with pykwalify
  6. # (http://pykwalify.readthedocs.io/en/unstable/validation-rules.html),
  7. # a YAML structure validator, to validate the YAML files that provide
  8. # a list of configurations (scenarios + platforms) under quarantine
  9. #
  10. type: seq
  11. matching: all
  12. sequence:
  13. - type: map
  14. required: yes
  15. matching: all
  16. mapping:
  17. "scenarios":
  18. type: seq
  19. required: true
  20. sequence:
  21. - type: str
  22. - unique: True
  23. "platforms":
  24. required: true
  25. type: seq
  26. sequence:
  27. - type: str
  28. - unique: True
  29. "comment":
  30. type: str
  31. required: false