0f39a55942
Adding the baclient code to Drydock requires a refactor of the build automation to support multiple languages and multiple artifacts included in a single Docker image NOTE: the go source here is a placeholder 'hello world' sample Change-Id: I1b4883f018b33b3d4fcd7cbcb6cba660fcdc93de
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
---
|
|
schema: 'drydock/BootAction/v1'
|
|
metadata:
|
|
schema: 'metadata/Document/v1'
|
|
name: helloworld
|
|
storagePolicy: 'cleartext'
|
|
labels:
|
|
application: 'drydock'
|
|
data:
|
|
assets:
|
|
- path: /var/tmp/hello.sh
|
|
type: file
|
|
permissions: '555'
|
|
data: |-
|
|
IyEvYmluL2Jhc2gKCmVjaG8gJ0hlbGxvIFdvcmxkISAtZnJvbSB7eyBub2RlLmhvc3RuYW1lIH19
|
|
Jwo=
|
|
data_pipeline:
|
|
- foo
|
|
- utf8_decode
|
|
- template
|
|
- path: /lib/systemd/system/hello.service
|
|
type: unit
|
|
permissions: 600
|
|
data: |-
|
|
W1VuaXRdCkRlc2NyaXB0aW9uPUhlbGxvIFdvcmxkCgpbU2VydmljZV0KVHlwZT1vbmVzaG90CkV4
|
|
ZWNTdGFydD0vdmFyL3RtcC9oZWxsby5zaAoKW0luc3RhbGxdCldhbnRlZEJ5PW11bHRpLXVzZXIu
|
|
dGFyZ2V0Cg==
|
|
data_pipeline:
|
|
- base64_decode
|
|
- utf8_decode
|
|
---
|
|
schema: 'drydock/BootAction/v1'
|
|
metadata:
|
|
schema: 'metadata/Document/v1'
|
|
name: invalid_pkg_list
|
|
storagePolicy: 'cleartext'
|
|
labels:
|
|
application: 'drydock'
|
|
data:
|
|
assets:
|
|
- type: pkg_list
|
|
data:
|
|
- pkg1
|
|
- pkg2
|
|
...
|