UNPKG

1.15 kBJavaScriptView Raw
1'use strict';
2
3module.exports = {
4{{#hasDockerLocations}} docker: {
5 locations: {
6{{#docker}} {{label}}: { path: '{{{value}}}' },
7{{/docker}}
8 },
9 },{{/hasDockerLocations}}
10 environments: {
11{{#environments}} {{label}}: {
12 url: '{{{url}}}',
13 },
14{{/environments}}
15 },{{#usesKubernetes}}
16 kubernetes: {
17 environments: {
18{{#environments}} {{label}}: {
19 context: '',
20 locations: {},
21 path: './manifests/{{label}}',
22 },
23{{/environments}}
24 },
25 },{{/usesKubernetes}}{{#usesMongodb}}
26 mongo: {
27{{#environments}} {{label}}: {
28 host: '',
29 name: '',
30 password: '',
31 port: '',
32 ssl: true,
33 user: '',
34 },
35{{/environments}}
36 }
37{{/usesMongodb}},{{#hasNpmLocations}}
38 npm: {
39 locations: {
40{{#npm}} {{label}}: '{{{value}}}',
41{{/npm}}
42 },
43 },{{/hasNpmLocations}}
44 project: {
45 name: '{{project.name}}',
46 organisation: '{{project.organisation}}',
47 },
48};