-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevfile.yaml
More file actions
53 lines (53 loc) · 1.49 KB
/
devfile.yaml
File metadata and controls
53 lines (53 loc) · 1.49 KB
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
apiVersion: 1.0.0
metadata:
generateName: quasar-todo-openapi
projects:
- name: quasar-todo-openapi
source:
location: 'https://github.com/redhat-appdev-practice/quasar-todo-openapi.git'
type: git
components:
- id: vscode/typescript-language-features/latest
type: chePlugin
registryUrl: 'https://eclipse-che.github.io/che-plugin-registry/7.42.0/v3/'
- mountSources: true
endpoints:
- name: quasar
port: 8080
- name: prism
port: 7080
memoryLimit: 1500Mi
type: dockerimage
alias: quasar
image: 'quay.io/josphill/che-nodejs16-openapi:latest'
commands:
- name: 1. Install Yarn 2
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quasar-todo-openapi'
type: exec
command: yarn set version berry
component: quasar
- name: 2. Install all required dependencies
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quasar-todo-openapi'
type: exec
command: yarn install
component: quasar
- name: 3. Build the app
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quasar-todo-openapi'
type: exec
command: yarn build
component: quasar
- name: 4. Run the app
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quasar-todo-openapi'
type: exec
command: yarn watch
component: quasar
- name: 5. Launch tests
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quasar-todo-openapi'
type: exec
command: yarn test
component: quasar