blob: a46c18819d7fabb510a55d6f893851cde28f735b [file] [log] [blame]
Andy Baviera6cffe12017-03-15 17:33:42 -04001tosca_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: {{ deploy_docker_registry }}xosproject/gui-extension-{{ ext.name }}:{{ deploy_docker_tag }}
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