blob: 435daa356755714ff69e7cfbd899cfac8368f344 [file] [log] [blame]
Matteo Scandolo6050fda2017-02-16 13:01:52 -08001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Onboard xos-sample-gui-extension
4
5imports:
6 - custom_types/xos.yaml
7
8topology_template:
9 node_templates:
10
11 # UI Extensions
12{% for ext in enabled_gui_extensions %}
13 gui-extensions-{{ext.name}}:
14 type: tosca.nodes.Component
15 properties:
16 image: xosproject/gui-extension-{{ ext.name }}
17 command: npm run build
18
19 gui-extensions-store-{{ ext.name }}:
20 type: tosca.nodes.ComponentVolumeContainer
21 properties:
22 container: gui-extensions-store
23 requirements:
24 - xos:
25 node: gui-extensions-{{ext.name}}
26 relationship: tosca.relationships.VolumeContainerOfComponent
27{% endfor %}
28