-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevfile.yaml
62 lines (62 loc) · 1.49 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
schemaVersion: 2.0.0
metadata:
name: java-quarkus
version: 1.1.0
starterProjects:
- name: quarkus-ex
git:
remotes:
origin: https://github.com/odo-devfiles/quarkus-ex
components:
- name: tools
container:
endpoints:
- name: 8080-http
targetPort: 8080
env:
- name: KAFKA_BOOTSTRAP_SERVERS
value: light-es-kafka-bootstrap.eventstreams.svc:9092
- name: KAFKA_SSL_PROTOCOL
value: TLSv1.2
- name: KAFKA_SSL_TRUSTSTORE_LOCATION
value: /deployments/certs/server/ca.p12
- name: KAFKA_SSL_TRUSTSTORE_TYPE
value: PKCS12
- name: TRANSPORTATION_TOPIC
value: vaccine-transportation
image: quay.io/eclipse/che-quarkus:nightly
memoryLimit: 1512Mi
mountSources: true
volumeMounts:
- name: m2
path: /home/user/.m2
- name: m2
volume:
size: 3Gi
commands:
- exec:
commandLine: mvn -Dmaven.repo.local=/home/user/.m2/repository compile
component: tools
workingDir: $PROJECTS_ROOT
id: init-compile
- exec:
commandLine: mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev
component: tools
group:
isDefault: true
kind: run
workingDir: $PROJECTS_ROOT
hotReloadCapable: true
id: dev-run
- exec:
commandLine: mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Ddebug=${DEBUG_PORT}
component: tools
group:
isDefault: true
kind: debug
workingDir: $PROJECTS_ROOT
hotReloadCapable: true
id: dev-debug
events:
postStart:
- init-compile