
This PS replaces deprecared module pkg_resources, also fixes the schema validation by adding specific schema draft to choose in order to prevent the processor to fall back to use the latest draft that may potentially cause issues. Also switched to quay.io/airshipit for base ubuntu image Change-Id: I687ef267ee3b027e80815e8852c8edcab5b5b727
101 lines
2.5 KiB
YAML
101 lines
2.5 KiB
YAML
---
|
|
schema: 'deckhand/DataSchema/v1'
|
|
metadata:
|
|
schema: metadata/Control/v1
|
|
name: drydock/BootAction/v1
|
|
labels:
|
|
application: drydock
|
|
data:
|
|
$schema: 'http://json-schema.org/draft-04/schema#'
|
|
id: 'http://att.com/att-comdev/drydock/bootaction.yaml'
|
|
type: 'object'
|
|
additionalProperties: false
|
|
properties:
|
|
signaling:
|
|
type: 'boolean'
|
|
assets:
|
|
type: 'array'
|
|
items:
|
|
type: 'object'
|
|
additionalProperties: false
|
|
properties:
|
|
path:
|
|
type: 'string'
|
|
pattern: '^/.+'
|
|
location:
|
|
type: 'string'
|
|
type:
|
|
type: 'string'
|
|
enum:
|
|
- 'unit'
|
|
- 'file'
|
|
- 'pkg_list'
|
|
data:
|
|
oneOf:
|
|
- type: 'string'
|
|
- type: 'object'
|
|
additionalProperties:
|
|
oneOf:
|
|
- type: 'string'
|
|
- type: 'null'
|
|
location_pipeline:
|
|
type: 'array'
|
|
items:
|
|
type: 'string'
|
|
enum:
|
|
- 'template'
|
|
data_pipeline:
|
|
type: 'array'
|
|
items:
|
|
type: 'string'
|
|
enum:
|
|
- 'base64_encode'
|
|
- 'template'
|
|
- 'base64_decode'
|
|
- 'utf8_encode'
|
|
- 'utf8_decode'
|
|
permissions:
|
|
type: 'string'
|
|
pattern: '\d{3}'
|
|
required:
|
|
- 'type'
|
|
node_filter:
|
|
type: 'object'
|
|
additionalProperties: false
|
|
properties:
|
|
filter_set_type:
|
|
type: 'string'
|
|
enum:
|
|
- 'intersection'
|
|
- 'union'
|
|
filter_set:
|
|
type: 'array'
|
|
items:
|
|
type: 'object'
|
|
additionalProperties: false
|
|
properties:
|
|
filter_type:
|
|
type: 'string'
|
|
enum:
|
|
- 'intersection'
|
|
- 'union'
|
|
node_names:
|
|
type: 'array'
|
|
items:
|
|
type: 'string'
|
|
node_tags:
|
|
type: 'array'
|
|
items:
|
|
type: 'string'
|
|
node_labels:
|
|
type: 'object'
|
|
additionalProperties: true
|
|
rack_names:
|
|
type: 'array'
|
|
items:
|
|
type: 'string'
|
|
rack_labels:
|
|
type: 'object'
|
|
additionalProperties: true
|
|
...
|