-
Notifications
You must be signed in to change notification settings - Fork 13
/
murano.yaml
67 lines (57 loc) · 2.58 KB
/
murano.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
formatversion: 1.0.0
info:
name: <template_name>
summary: One line summary of <template_name>
description: |
In depth description of <template_name>
With lots of details.
authors: ["Someone <[email protected]> (http://someone.local/)"]
version: 1.0.0
####
#
# The following sections are all optional.
#
# NOTE: They all have default values that should work for a majority of the projects,
# but are all fully configurable to fit the way you want your project to be.
#
####
options:
# Following options defines the update strategy when applying the template to a solution
# This only applies to: Webservice/Websocket endpoints, Asset files & Modules
# Service configuration & Eventhandler always follow a merge behavior
merge: true, # To keep all existing items from solution that are not present in this template
safeNamespace: vendor # Indicates the items with this prefix will not get remove or updated upon update
# This will let each solution user to add custom files & behaviors surviving template version update.
safeConfigs:
# Indicates which service configuration settings, defined in the .yaml files from the /services folder, would not overload existing value during updates and allow user to customize it.
# This is needed for any 'default' configuration value meant to be changed by user.
- device2 # Persists all user device2 changes
- interface.name # Persist only user changes on the 'name' parameters defined in ./services/interface/interface.yaml
- config.auto_update
# The ./services/webservice.yaml defines a default 'documented_endpoints' however as not specified here, changes will be overloaded
# Following options allows to customize de release abort behavior.
# abort_threshold: 1 # If first deployed solution fails, cancel the release. Default=4
# abort_ratio: 0.1 # If failures reach 10% of successes, cancel the release. Default=0.5
env_schema:
description: This text will display on the Solution settings page.
loglevel:
description: a loglevel
assets:
location: assets
include: "**/*"
exclude: ["**/.*"]
default_page: index.html
endpoints: # the schema.yaml file will be loaded automatically, no special configuration needed.
location: endpoints
include: "**/*.lua"
exclude: ["*_test.lua", "*_spec.lua"]
cors: { "origin": ["http://localhost:*"] }
modules:
location: modules
include: "**/*.lua"
exclude: ["*_test.lua", "*_spec.lua"]
services: # Also applies for service configuration using .yaml format.
location: services
include: "**/*.lua"
exclude: ["*_test.lua", "*_spec.lua"]
init_script: init.lua