-
Notifications
You must be signed in to change notification settings - Fork 13
/
mta.yaml
80 lines (80 loc) · 2.39 KB
/
mta.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
68
69
70
71
72
73
74
75
76
77
78
79
80
_schema-version: "3.2"
ID: cloud-extension-html5
version: 0.0.1
modules:
- name: cloud-extension-html5-destination-content
type: com.sap.application.content
requires:
- name: uaa_cloud-extension-html5
parameters:
service-key:
name: uaa_cloud-extension-html5-key
- name: cloud-extension-html5_html_repo_host
parameters:
service-key:
name: cloud-extension-html5_html_repo_host-key
- name: cloud-extension-html5-destination-service
parameters:
content:
subaccount:
destinations:
- Name: bp_ServiceManaged_cloud_extension_html5_html_repo_host
ServiceInstanceName: cloud-extension-html5-html5-app-host-service
ServiceKeyName: cloud-extension-html5_html_repo_host-key
sap.cloud.service: bp_ServiceManaged
- Authentication: OAuth2UserTokenExchange
Name: bp_ServiceManaged_uaa_cloud_extension_html5
ServiceInstanceName: cloud-extension-html5-xsuaa-service
ServiceKeyName: uaa_cloud-extension-html5-key
sap.cloud.service: bp_ServiceManaged
existing_destinations_policy: update
content-target: true
build-parameters:
no-source: true
- name: cloud-extension-html5_ui_deployer
type: com.sap.application.content
path: .
requires:
- name: cloud-extension-html5_html_repo_host
parameters:
content-target: true
build-parameters:
build-result: resources
requires:
- artifacts:
- BP-content.zip
name: BP
target-path: resources/
- name: BP
type: html5
path: BP
build-parameters:
builder: custom
commands:
- npm run build
supported-platforms: []
resources:
- name: cloud-extension-html5-destination-service
type: org.cloudfoundry.managed-service
parameters:
service: destination
service-name: cloud-extension-html5-destination-service
service-plan: lite
- name: cloud-extension-html5_html_repo_host
type: org.cloudfoundry.managed-service
parameters:
service: html5-apps-repo
service-name: cloud-extension-html5-html5-app-host-service
service-plan: app-host
- name: uaa_cloud-extension-html5
type: org.cloudfoundry.managed-service
parameters:
path: ./xs-security.json
service: xsuaa
service-name: cloud-extension-html5-xsuaa-service
service-plan: application
build-parameters:
before-all:
- builder: custom
commands:
- npm install