aboutsummaryrefslogtreecommitdiff
path: root/schemas_json/project.yaml
blob: f3440b990283d72d8ef3bbba8db545d0eca3425c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
"$schema": "http://json-schema.org/schema#"
id: "hatter://project.yaml#"
title: Project
description: Project configuration
type: object
required:
    - domain
    - ssh_username
    - ssh_password
    - 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_password:
        title: SSH password
        description: |
            Password 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
...