f4dba218ac
- Implement boot action rendering and API - Reorganize DB integration tests and add a tox -e postgres entrypoint - Add boot action unit tests - Add node filter unit test - Add boot action context creation to deployment workflow - Fix regression bug in MaaS Machines model - Downgrade to Python 3.5 due to CICD limitations Change-Id: I6c8f100cbe209f9b1c6c6ff1285365d89343ae2a
28 lines
678 B
YAML
28 lines
678 B
YAML
---
|
|
apiVersion: 'drydock/v1'
|
|
kind: BootAction
|
|
metadata:
|
|
name: helloworld
|
|
region: sitename
|
|
date: 17-FEB-2017
|
|
author: Scott Hussey
|
|
spec:
|
|
assets:
|
|
- path: /var/tmp/hello.sh
|
|
type: file
|
|
permissions: '555'
|
|
data: |-
|
|
IyEvYmluL2Jhc2gKCmVjaG8gJ0hlbGxvIFdvcmxkIScK
|
|
data_pipeline:
|
|
- base64_decode
|
|
- utf8_encode
|
|
- path: /lib/systemd/system/hello.service
|
|
type: unit
|
|
data: |-
|
|
W1VuaXRdCkRlc2NyaXB0aW9uPUhlbGxvIFdvcmxkCgpbU2VydmljZV0KVHlwZT1vbmVzaG90CkV4
|
|
ZWNTdGFydD0vdmFyL3RtcC9oZWxsby5zaAoKW0luc3RhbGxdCldhbnRlZEJ5PW11bHRpLXVzZXIu
|
|
dGFyZ2V0Cg==
|
|
data_pipeline:
|
|
- base64_decode
|
|
...
|