Skip to content

Commit 83e58aa

Browse files
authored
Jenkins build resources change. (#853)
This change is based on recommendations from https://bugs.eclipse.org/bugs/show_bug.cgi?id=564240 . Signed-off-by: Radek Felcman <[email protected]>
1 parent fbc0bbf commit 83e58aa

File tree

3 files changed

+30
-8
lines changed

3 files changed

+30
-8
lines changed

etc/jenkins/build.groovy

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,22 @@ spec:
5757
emptyDir: {}
5858
5959
containers:
60-
60+
- name: jnlp
61+
resources:
62+
limits:
63+
memory: "1Gi"
64+
cpu: "1"
65+
requests:
66+
memory: "1Gi"
67+
cpu: "500m"
6168
- name: el-build
6269
resources:
6370
limits:
6471
memory: "6Gi"
6572
cpu: "4"
6673
requests:
6774
memory: "6Gi"
68-
cpu: "4"
75+
cpu: "3.5"
6976
image: tkraus/el-build:1.1.8
7077
volumeMounts:
7178
- name: tools

etc/jenkins/release.groovy

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,22 @@ spec:
5252
emptyDir: {}
5353
5454
containers:
55-
55+
- name: jnlp
56+
resources:
57+
limits:
58+
memory: "1Gi"
59+
cpu: "1"
60+
requests:
61+
memory: "1Gi"
62+
cpu: "500m"
5663
- name: el-build
5764
resources:
5865
limits:
5966
memory: "2Gi"
60-
cpu: "1"
67+
cpu: "2"
6168
requests:
6269
memory: "2Gi"
63-
cpu: "1"
70+
cpu: "1.5"
6471
image: tkraus/el-build:1.1.8
6572
volumeMounts:
6673
- name: tools

etc/jenkins/tck.groovy

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,23 @@ spec:
3838
name: known-hosts
3939
4040
containers:
41-
- name: eclipselink-tck-run
42-
image: tkraus/el-build:1.1.8
41+
- name: jnlp
4342
resources:
4443
limits:
4544
memory: "1Gi"
4645
cpu: "1"
4746
requests:
4847
memory: "1Gi"
49-
cpu: "1"
48+
cpu: "500m"
49+
- name: eclipselink-tck-run
50+
image: tkraus/el-build:1.1.8
51+
resources:
52+
limits:
53+
memory: "3Gi"
54+
cpu: "3"
55+
requests:
56+
memory: "3Gi"
57+
cpu: "2.5"
5058
volumeMounts:
5159
- name: tools
5260
mountPath: /opt/tools

0 commit comments

Comments
 (0)