diff options
Diffstat (limited to 'schemas_json')
| -rw-r--r-- | schemas_json/project.yaml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/schemas_json/project.yaml b/schemas_json/project.yaml new file mode 100644 index 0000000..214e388 --- /dev/null +++ b/schemas_json/project.yaml @@ -0,0 +1,49 @@ +--- +"$schema": "http://json-schema.org/schema#" +id: "hatter://project.yaml#" +title: Project +description: Project configuration +type: object +required: + - domain + - ssh_username + - ssh_key + - script +properties: + uri: + title: URI + description: | + Libvirt URI + type: string + default: "qemu:///system" + domain: + title: Domain + description: | + Domain registered with libvirt used as execution environment + type: string + snapshot: + title: Snapshot + description: | + Snapshot used as initial execution environment state + type: string + ssh_username: + title: SSH key + description: | + Username for connecting to VM guest SSH daemon + type: string + ssh_key: + title: SSH key + description: | + Content of SSH key used for connecting to VM guest SSH daemon + type: string + script: + title: Script + description: | + List of shell commands executed inside VM guest + type: array + items: + title: Command + description: | + Single shell command + type: string +... |
