forked from eclipse-che/che-dashboard
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devfile.yaml
34 lines (34 loc) · 927 Bytes
/
devfile.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
apiVersion: 1.0.0
metadata:
generateName: che-dashboard-
attributes:
persistVolumes: 'false'
components:
- mountSources: true
command:
- tail
- '-f'
- /dev/null
memoryLimit: 3Gi
type: dockerimage
alias: dashboard-dev
image: 'quay.io/eclipse/che-nodejs12-community:next'
commands:
- name: '[UD] install dependencies'
actions:
- workdir: /projects/che-dashboard
type: exec
command: yarn install --non-interactive --modules-folder /tmp/node_modules && ln -s /tmp/node_modules /projects/che-dashboard/node_modules
component: dashboard-dev
- name: '[UD] build'
actions:
- workdir: /projects/che-dashboard
type: exec
command: yarn build
component: dashboard-dev
- name: '[UD] test'
actions:
- workdir: /projects/che-dashboard
type: exec
command: yarn test
component: dashboard-dev