forked from eclipse-che/che-devfile-registry
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devfile.yaml
72 lines (60 loc) · 1.79 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
apiVersion: 1.0.0
metadata:
generateName: che-devfile-registry-
components:
- alias: che-devfile-registry-prod
image: 'quay.io/eclipse/che-devfile-registry:next'
mountSources: true
endpoints:
- name: http
port: 8080
command:
- sleep
- infinity
memoryLimit: 512Mi
type: dockerimage
volumes:
- name: images
containerPath: /usr/local/apache2/htdocs/images
- alias: dev
image: 'quay.io/eclipse/che-plugin-registry-dev:latest'
mountSources: true
memoryLimit: 1G
type: dockerimage
- id: redhat/vscode-xml/latest
type: chePlugin
- id: redhat/vscode-yaml/latest
type: chePlugin
- id: eamodio/gitlens/latest
type: chePlugin
registryUrl: 'https://che-plugin-registry-main.surge.sh/v3'
- id: donjayamanne/githistory/latest
type: chePlugin
registryUrl: 'https://che-plugin-registry-main.surge.sh/v3'
- id: timonwong/shellcheck/latest
type: chePlugin
registryUrl: 'https://che-plugin-registry-main.surge.sh/v3'
- id: ms-vscode/vscode-github-pullrequest/latest
type: chePlugin
commands:
- name: 1. build devfile-registry
actions:
- workdir: '${CHE_PROJECTS_ROOT}/che-devfile-registry'
type: exec
command: ./build/dev/build-devfile-registry.sh
component: dev
- name: 2. start devfile-registry
previewUrl:
port: 8080
path: /devfiles/
actions:
- workdir: '${CHE_PROJECTS_ROOT}/che-devfile-registry'
type: exec
command: ./build/dev/start-devfile-registry.sh
component: che-devfile-registry-prod
- name: 3. publish to surge.sh
actions:
- workdir: '${CHE_PROJECTS_ROOT}/che-devfile-registry/'
type: exec
command: ./build/dev/publish-devfile-registry-to-surge.sh
component: dev