drydock/tests/yaml_samples/invalid_bootaction.yaml
Scott Hussey 3eac4d4d53 Boot Action document definition
Boot actions are defined by YAML documents in the site topology.
This PS defines the schema for those documents and adds a representation
to the Drydock ORM and ingester.

- Create JSON schema document for boot action documents
- Model for BootAction objects
- Parsing for BootAction documents

Change-Id: I154807e8400389ff94a596ffd1fb2cab0efa128b
2017-10-27 13:55:44 -04:00

19 lines
482 B
YAML

data:
assets:
- path: /var/tmp/hello.sh
type: file
permissions: 555
data: |
IyEvYmluL2Jhc2gKCmVjaG8gJ0hlbGxvIFdvcmxkIScK
data_pipeline:
- foo
- path: hello.service
type: unit
data: |
W1VuaXRdCkRlc2NyaXB0aW9uPUhlbGxvIFdvcmxkCgpbU2VydmljZV0KVHlwZT1vbmVzaG90CkV4
ZWNTdGFydD0vdmFyL3RtcC9oZWxsby5zaAoKW0luc3RhbGxdCldhbnRlZEJ5PW11bHRpLXVzZXIu
dGFyZ2V0Cg==
data_pipeline:
- base64_decode