[CORD-869] Building and deploying UI Extensions in platform install (separate playbook)
Change-Id: I30166503fbe23e0864029df5fb8d051e586a7881
diff --git a/roles/cord-profile/templates/onboard-gui-extensions-store.yaml.j2 b/roles/cord-profile/templates/onboard-gui-extensions-store.yaml.j2
new file mode 100644
index 0000000..0e83718
--- /dev/null
+++ b/roles/cord-profile/templates/onboard-gui-extensions-store.yaml.j2
@@ -0,0 +1,26 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+description: Onboard the exampleservice
+
+imports:
+ - custom_types/xos.yaml
+
+topology_template:
+ node_templates:
+
+ # UI Extension Store
+ gui-extensions-store:
+ type: tosca.nodes.Component
+ properties:
+ image: node:argon
+ command: /bin/true
+
+ /var/www/dist/extensions:
+ type: tosca.nodes.ComponentVolume
+ properties:
+ host_path: ""
+ read_only: false
+ requirements:
+ - xos:
+ node: gui-extensions-store
+ relationship: tosca.relationships.VolumeOfComponent
\ No newline at end of file