diff options
| author | bozo.kopic <bozo.kopic@gmail.com> | 2017-07-03 02:47:27 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo.kopic@gmail.com> | 2017-07-03 02:47:27 +0200 |
| commit | febfac15fa1c8342620aae16035a5a75e8a2be4b (patch) | |
| tree | f7a36e6fc7264bf34b408477789639d0c26dacb3 /schemas_json | |
| parent | c75e05b2fcbd08ec77a2ac85837f9f58829a44f6 (diff) | |
playground - testing executor functionality
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 +... |
