forked from LindaSieb/bas-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmta.yaml
51 lines (51 loc) · 1.26 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
_schema-version: "3.2"
ID: BAS_Sample_App
version: 0.0.1
modules:
- name: bas-sample-app-approuter
type: approuter.nodejs
path: bas-sample-app-approuter
requires:
- name: BAS_Sample_App_html_repo_runtime
parameters:
disk-quota: 256M
memory: 256M
buildpack: https://github.com/cloudfoundry/nodejs-buildpack/releases/download/v1.7.70/nodejs-buildpack-cflinuxfs3-v1.7.70.zip
- name: BAS_Sample_App_ui_deployer
type: com.sap.application.content
path: .
requires:
- name: BAS_Sample_App_html_repo_host
parameters:
content-target: true
build-parameters:
build-result: resources
requires:
- artifacts:
- HTML5Module-content.zip
name: HTML5Module
target-path: resources/
- name: HTML5Module
type: html5
path: HTML5Module
build-parameters:
builder: custom
commands:
- npm run build
supported-platforms: []
resources:
- name: BAS_Sample_App_html_repo_runtime
type: org.cloudfoundry.managed-service
parameters:
service: html5-apps-repo
service-plan: app-runtime
- name: BAS_Sample_App_html_repo_host
type: org.cloudfoundry.managed-service
parameters:
service: html5-apps-repo
service-plan: app-host
build-parameters:
before-all:
- builder: custom
commands:
- npm install