forked from eclipse-che/che-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devfile.yaml
53 lines (53 loc) · 1.4 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
schemaVersion: 2.1.0
metadata:
name: che-dashboard
generateName: che-dashboard-
attributes:
controller.devfile.io/scc: container-build
components:
- name: tools
container:
image: quay.io/devfile/universal-developer-image:ubi8-38da5c2
memoryLimit: 6G
mountSources: true
endpoints:
- exposure: public
name: local-server
protocol: http
targetPort: 8080
path: /
commands:
- id: installdependencies
exec:
label: "[UD] install dependencies"
component: tools
workingDir: ${PROJECTS_ROOT}/che-dashboard
commandLine: "yarn install --non-interactive --modules-folder /tmp/node_modules && ln -s /tmp/node_modules /projects/che-dashboard/node_modules"
group:
kind: build
isDefault: true
- id: build
exec:
label: "[UD] build"
component: tools
workingDir: ${PROJECTS_ROOT}/che-dashboard
commandLine: "yarn build"
group:
kind: build
- id: runtests
exec:
label: "[UD] test"
component: tools
workingDir: ${PROJECTS_ROOT}/che-dashboard
commandLine: "yarn test"
group:
kind: test
projects:
- name: che-dashboard
git:
remotes:
upstream: https://github.com/eclipse-che/che-dashboard.git
origin: https://github.com/dkwon17/che-dashboard.git
checkoutFrom:
remote: upstream
revision: main