-
Notifications
You must be signed in to change notification settings - Fork 3
/
devfile.yaml
69 lines (69 loc) · 2.22 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
schemaVersion: 2.1.0
metadata:
name: java-quarkus
displayName: Quarkus Java
description: Java application using Quarkus and OpenJDK 17
icon: https://design.jboss.org/quarkus/logo/final/SVG/quarkus_icon_rgb_default.svg
tags:
- Java
- Quarkus
projectType: Quarkus
language: Java
version: 1.3.0
website: https://quarkus.io
starterProjects:
- name: community
zip:
location: https://code.quarkus.io/d?e=io.quarkus%3Aquarkus-resteasy&e=io.quarkus%3Aquarkus-micrometer&e=io.quarkus%3Aquarkus-smallrye-health&e=io.quarkus%3Aquarkus-openshift&cn=devfile
- name: redhat-product
zip:
location: https://code.quarkus.redhat.com/d?e=io.quarkus%3Aquarkus-resteasy&e=io.quarkus%3Aquarkus-smallrye-health&e=io.quarkus%3Aquarkus-openshift
components:
- name: tools
container:
image: quay.io/stauil/openjdk-17-git:1.15-1.1682053058
args: ['tail', '-f', '/dev/null']
memoryLimit: 512Mi ## default app nowhere needs this but leaving room for expansion.
mountSources: true
volumeMounts:
- name: m2
path: /home/user/.m2
endpoints:
- name: http-quarkus
targetPort: 8080
- exposure: none
name: debug
targetPort: 5858
env:
- name: DEBUG_PORT
value: '5858'
- name: m2
volume:
size: 3Gi
commands:
- id: init-compile
exec:
component: tools
commandLine: 'mvn -Dmaven.repo.local=/home/user/.m2/repository compile'
workingDir: ${PROJECT_SOURCE}
- id: dev-run
exec:
component: tools
commandLine: 'mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager'
hotReloadCapable: true
group:
kind: run
isDefault: true
workingDir: ${PROJECT_SOURCE}
- id: dev-debug
exec:
component: tools
commandLine: 'mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Ddebug=${DEBUG_PORT}'
hotReloadCapable: true
group:
kind: debug
isDefault: true
workingDir: ${PROJECT_SOURCE}
events:
postStart:
- init-compile