2021-03-11 20:18:33 +08:00
|
|
|
#
|
|
|
|
# Schema to validate a YAML file providing the list of configurations
|
|
|
|
# under quarantine
|
|
|
|
#
|
|
|
|
# We load this with pykwalify
|
|
|
|
# (http://pykwalify.readthedocs.io/en/unstable/validation-rules.html),
|
|
|
|
# a YAML structure validator, to validate the YAML files that provide
|
|
|
|
# a list of configurations (scenarios + platforms) under quarantine
|
|
|
|
#
|
|
|
|
type: seq
|
|
|
|
matching: all
|
|
|
|
sequence:
|
|
|
|
- type: map
|
2023-01-03 19:23:56 +08:00
|
|
|
required: true
|
2021-03-11 20:18:33 +08:00
|
|
|
matching: all
|
|
|
|
mapping:
|
|
|
|
"scenarios":
|
|
|
|
type: seq
|
2022-11-22 23:28:29 +08:00
|
|
|
required: false
|
2021-03-11 20:18:33 +08:00
|
|
|
sequence:
|
|
|
|
- type: str
|
2023-01-03 19:23:56 +08:00
|
|
|
- unique: true
|
2021-03-11 20:18:33 +08:00
|
|
|
"platforms":
|
2022-11-22 23:28:29 +08:00
|
|
|
required: false
|
|
|
|
type: seq
|
|
|
|
sequence:
|
|
|
|
- type: str
|
2023-01-13 20:28:31 +08:00
|
|
|
- unique: true
|
2022-11-22 23:28:29 +08:00
|
|
|
"architectures":
|
|
|
|
required: false
|
2021-03-11 20:18:33 +08:00
|
|
|
type: seq
|
|
|
|
sequence:
|
|
|
|
- type: str
|
2023-01-13 20:28:31 +08:00
|
|
|
- unique: true
|
2022-12-11 02:47:58 +08:00
|
|
|
"simulations":
|
|
|
|
required: false
|
|
|
|
type: seq
|
|
|
|
sequence:
|
|
|
|
- type: str
|
2023-01-13 20:28:31 +08:00
|
|
|
- unique: true
|
2021-03-11 20:18:33 +08:00
|
|
|
"comment":
|
|
|
|
type: str
|
|
|
|
required: false
|