Skip to content

Commit 0c7ab46

Browse files
authored
Merge pull request #2 from yangcao77/main
reference parent stack
2 parents 45d40af + fc95803 commit 0c7ab46

File tree

1 file changed

+4
-48
lines changed

1 file changed

+4
-48
lines changed

devfile.yaml

Lines changed: 4 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@ metadata:
1212
language: "java"
1313
attributes:
1414
alpha.dockerimage-port: 8081
15-
starterProjects:
16-
- name: community
17-
zip:
18-
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
19-
- name: redhat-product
20-
zip:
21-
location: https://code.quarkus.redhat.com/d?e=io.quarkus%3Aquarkus-resteasy&e=io.quarkus%3Aquarkus-smallrye-health&e=io.quarkus%3Aquarkus-openshift
15+
parent:
16+
id: java-quarkus
17+
registryUrl: "https://registry.devfile.io"
2218
components:
2319
- name: outerloop-build
2420
image:
@@ -30,44 +26,7 @@ components:
3026
- name: outerloop-deploy
3127
kubernetes:
3228
uri: outerloop-deploy.yaml
33-
- name: tools
34-
container:
35-
image: quay.io/eclipse/che-quarkus:7.36.0
36-
memoryLimit: 1512Mi
37-
mountSources: true
38-
volumeMounts:
39-
- name: m2
40-
path: /home/user/.m2
41-
endpoints:
42-
- name: '8080-http'
43-
targetPort: 8080
44-
- name: m2
45-
volume:
46-
size: 3Gi
4729
commands:
48-
- id: init-compile
49-
exec:
50-
component: tools
51-
commandLine: "mvn -Dmaven.repo.local=/home/user/.m2/repository compile"
52-
workingDir: $PROJECTS_ROOT
53-
- id: dev-run
54-
exec:
55-
component: tools
56-
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"
57-
hotReloadCapable: true
58-
group:
59-
kind: run
60-
isDefault: true
61-
workingDir: $PROJECTS_ROOT
62-
- id: dev-debug
63-
exec:
64-
component: tools
65-
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}"
66-
hotReloadCapable: true
67-
group:
68-
kind: debug
69-
isDefault: true
70-
workingDir: $PROJECTS_ROOT
7130
- id: build-image
7231
apply:
7332
component: outerloop-build
@@ -81,7 +40,4 @@ commands:
8140
- deployk8s
8241
group:
8342
kind: deploy
84-
isDefault: true
85-
events:
86-
postStart:
87-
- init-compile
43+
isDefault: true

0 commit comments

Comments
 (0)