forked from KaotoIO/kaoto
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevfile.yaml
More file actions
129 lines (129 loc) · 3.47 KB
/
Copy pathdevfile.yaml
File metadata and controls
129 lines (129 loc) · 3.47 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
schemaVersion: 2.2.2
metadata:
name: kaoto
version: 2.5.0
description: The Integration Designer for Apache Camel
displayName: Kaoto
icon: https://raw.githubusercontent.com/KaotoIO/kaoto/refs/heads/main/packages/ui/src/assets/logo-kaoto.svg
website: https://kaoto.io
tags:
- JavaScript
- React
- Quarkus
- Camel
language: JavaScript
projectType: "Node.js"
components:
- name: tools
container:
image: quay.io/devfile/universal-developer-image:latest
memoryLimit: 8Gi
memoryRequest: 1Gi
cpuLimit: "2"
cpuRequest: 200m
env:
- name: KUBEDOCK_PARAMS
value: "--reverse-proxy --kubeconfig /home/user/.kube/config --initimage quay.io/agiertli/kubedock:0.13.0"
- name: USE_JAVA17
value: "true"
- value: /home/jboss/.m2
name: MAVEN_CONFIG
- value: -Xmx4G -Xss128M -XX:MetaspaceSize=1G -XX:MaxMetaspaceSize=2G
name: MAVEN_OPTS
- name: KUBEDOCK_ENABLED
value: 'true'
- name: DOCKER_HOST
value: 'tcp://127.0.0.1:2475'
- name: TESTCONTAINERS_RYUK_DISABLED
value: 'true'
- name: TESTCONTAINERS_CHECKS_DISABLE
value: 'true'
endpoints:
- exposure: none
name: kubedock
protocol: tcp
targetPort: 2475
- exposure: public
name: http-booster
protocol: http
targetPort: 8080
attributes:
discoverable: true
urlRewriteSupported: true
- exposure: public
name: kaoto
protocol: http
targetPort: 4173
attributes:
discoverable: true
urlRewriteSupported: true
- exposure: internal
name: debug
protocol: http
targetPort: 5005
volumeMounts:
- name: m2
path: /home/user/.m2
- name: npm
path: /home/user/.npm
- name: m2
volume:
size: 512Mi
- name: npm
volume:
size: 512Mi
commands:
- id: yarn-install
exec:
label: 'Install Dependencies'
component: tools
workingDir: ${PROJECT_SOURCE}
commandLine: 'yarn install'
group:
kind: build
isDefault: true
- id: build
exec:
label: 'Build'
component: tools
workingDir: ${PROJECT_SOURCE}
commandLine: 'yarn workspace @kaoto/kaoto run build'
group:
kind: build
isDefault: true
- id: build-public-componets
exec:
label: 'build the public components'
component: tools
workingDir: ${PROJECT_SOURCE}
commandLine: 'yarn workspace @kaoto/kaoto run build:lib'
group:
kind: build
isDefault: true
- id: start-development-server
exec:
label: 'start the development server'
component: tools
workingDir: ${PROJECT_SOURCE}
commandLine: 'yarn workspace @kaoto/kaoto run start --host'
group:
kind: run
isDefault: true
- id: start-storybook
exec:
label: 'run the storybook'
component: tools
workingDir: ${PROJECT_SOURCE}
commandLine: 'yarn workspace @kaoto/kaoto-tests storybook'
group:
kind: run
isDefault: false
- id: start-with-docker
exec:
label: 'Running kaoto with Docker'
component: tools
workingDir: ${PROJECT_SOURCE}
commandLine: 'podman run --rm -p 8080:8080 --name kaoto quay.io/kaotoio/kaoto-app:main'
group:
kind: run
isDefault: false