-
Notifications
You must be signed in to change notification settings - Fork 10
/
devfile.yaml
209 lines (178 loc) · 8.38 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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
apiVersion: 1.0.0
metadata:
generateName: quickperf-examples-
components:
- id: redhat/java11/latest
type: chePlugin
- id: ms-vscode/vscode-github-pullrequest/latest
type: chePlugin
- alias: maven
image: 'quay.io/eclipse/che-java11-maven:7.21.1'
type: dockerimage
mountSources: true
memoryLimit: 512Mi
volumes:
- name: m2
containerPath: /home/user/.m2
env:
- value: ''
name: MAVEN_CONFIG
- value: >-
-XX:MaxRAMPercentage=50 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10
-XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4
-XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true
-Xms20m -Djava.security.egd=file:/dev/./urandom -Duser.home=/home/user
name: MAVEN_OPTS
- value: >-
-XX:MaxRAMPercentage=50 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10
-XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4
-XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true
-Xms20m -Djava.security.egd=file:/dev/./urandom
name: JAVA_OPTS
- value: >-
-XX:MaxRAMPercentage=50 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10
-XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4
-XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true
-Xms20m -Djava.security.egd=file:/dev/./urandom
name: JAVA_TOOL_OPTIONS
- alias: data
image: quay.io/quickperf/quickperf-examples-maven-data:latest
type: dockerimage
memoryLimit: 64M
volumes:
- name: m2
containerPath: /work/volumes/.m2
- alias: didact-plugin
type: chePlugin
id: redhat/vscode-didact/latest
preferences:
didact.openDefaultTutorialAtStartup: true
che.welcome.enable: false
didact.defaultUrl: /projects/quickperf-examples/che-didact-guide.md
registryUrl: 'https://che-plugin-registry-main.surge.sh/v3'
- alias: git
type: dockerimage
mountSources: true
memoryLimit: 256M
image: sunix/git-devtools
commands:
- name: JvmAnnotationsJunit4Test.java
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f jvm-junit4/pom.xml -Dtest=org.quickperf.jvm.JvmAnnotationsJunit4Test
component: maven
- name: JvmAnnotationsJunit4Test.java / @MeasureHeapAllocation
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f jvm-junit4/pom.xml -Dtest=org.quickperf.jvm.JvmAnnotationsJunit4Test#test_method_measuring_heap_allocation
component: maven
- name: JvmAnnotationsJunit5Test.java
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f jvm-junit5/pom.xml -Dtest=org.quickperf.jvm.JvmAnnotationsJunit5Test
component: maven
- name: JvmAnnotationsJunit5Test.java / @MeasureHeapAllocation
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f jvm-junit5/pom.xml -Dtest=org.quickperf.jvm.JvmAnnotationsJunit5Test#test_method_measuring_heap_allocation
component: maven
- name: JvmAnnotationsTestNGTest.java
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f jvm-testng/pom.xml -Dtest=org.quickperf.jvm.JvmAnnotationsTestNGTest
component: maven
- name: JvmAnnotationsTestNGTest.java / @MeasureHeapAllocation
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f jvm-testng/pom.xml -Dtest=org.quickperf.jvm.JvmAnnotationsTestNGTest#test_method_measuring_heap_allocation
component: maven
- name: Hibernate JUnit 4
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f hibernate-junit4/pom.xml -Dtest=org.quickperf.sql.HibernateJUnit4Test
component: maven
- name: Hibernate JUnit 5
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f hibernate-junit5/pom.xml -Dtest=org.quickperf.sql.HibernateJUnit5Test
component: maven
- name: Hibernate TestNG
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f hibernate-testng/pom.xml -Dtest=org.quickperf.sql.HibernateTestNGTest
component: maven
- name: Spring Boot Contoller JUnit 4
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f springboot-junit4/pom.xml -Dtest=football.controller.PlayerControllerTest
component: maven
- name: Spring Boot Service JUnit 4
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f springboot-junit4/pom.xml -Dtest=football.service.PlayerServiceTest
component: maven
- name: Spring Boot Repository JUnit 4
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f springboot-junit4/pom.xml -Dtest=football.repository.PlayerRepositoryTest
component: maven
- name: Spring Boot Contoller JUnit 5
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f springboot-junit5/pom.xml -Dtest=football.controller.PlayerControllerTest
component: maven
- name: Spring Boot Service JUnit 5
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f springboot-junit5/pom.xml -Dtest=football.service.PlayerServiceTest
component: maven
- name: Spring Boot Repository Batch JUnit 5
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f springboot-junit5/pom.xml -Dtest=football.repository.PlayerRepositoryBatchTest
component: maven
- name: Spring Boot Repository Select JUnit 5
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f springboot-junit5/pom.xml -Dtest=football.repository.PlayerRepositorySelectTest
component: maven
- name: Micronaut Data N+1 select
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f micronaut-data-jdbc/pom.xml -Dtest=org.quickperf.micronaut.micronauttest.service.PlayerServiceTest
component: maven
- name: Micronaut Data HTTP
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f micronaut-data-jdbc/pom.xml -Dtest=org.quickperf.micronaut.micronauttest.controller.PlayerControllerTest
component: maven
- name: Quarkus N+1 select
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f quarkus/pom.xml -Dtest=org.quickperf.quarkus.quarkustest.service.PlayerServiceTest
component: maven
- name: Quarkus http test
actions:
- workdir: '${CHE_PROJECTS_ROOT}/quickperf-examples'
type: exec
command: mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore -f quarkus/pom.xml -Dtest=org.quickperf.quarkus.quarkustest.controller.PlayerControllerTest
component: maven