File tree 2 files changed +26
-16
lines changed
playbooks/AdoptOpenJDK_Unix_Playbook/roles/DockerStatic/scripts 2 files changed +26
-16
lines changed Original file line number Diff line number Diff line change 15
15
"nodeName" : " test-docker-alpine320-x64-1" ,
16
16
"port" : " 32784"
17
17
},
18
+ {
19
+ "nodeName" : " test-docker-centos7-x64-1" ,
20
+ "port" : " No port"
21
+ },
18
22
{
19
23
"nodeName" : " test-docker-fedora39-x64-2" ,
20
24
"port" : " 32779"
40
44
"port" : " 32782"
41
45
}
42
46
],
43
- "containersCount" : 9
47
+ "containersCount" : 10
44
48
},
45
49
{
46
50
"name" : " dockerhost-azure-ubuntu2404-x64-1" ,
97
101
],
98
102
"containersCount" : 12
99
103
},
104
+ {
105
+ "name" : " dockerhost-azure-win2022-x64-1" ,
106
+ "ip" : " No ip" ,
107
+ "containers" : [],
108
+ "containersCount" : 0
109
+ },
100
110
{
101
111
"name" : " dockerhost-equinix-ubuntu2204-armv8-1" ,
102
112
"ip" : " 139.178.86.243" ,
232
242
"containersCount" : 15
233
243
},
234
244
{
235
- "name" : " dockerhost-marist-ubuntu2204 -s390x-1" ,
245
+ "name" : " dockerhost-marist-ubuntu2404 -s390x-1" ,
236
246
"ip" : " 148.100.74.237" ,
237
247
"containers" : [
238
248
{
255
265
"containersCount" : 4
256
266
},
257
267
{
258
- "name" : " dockerhost-osuosl-ubuntu2004-ppc64le-1" ,
268
+ "name" : " dockerhost-osuosl-ubuntu2404-aarch64-1" ,
269
+ "ip" : " 140.211.167.67" ,
270
+ "containers" : [
271
+ {
272
+ "nodeName" : " test-docker-ubuntu2404-armv7-1" ,
273
+ "port" : " 32000"
274
+ }
275
+ ],
276
+ "containersCount" : 1
277
+ },
278
+ {
279
+ "name" : " dockerhost-osuosl-ubuntu2404-ppc64le-1" ,
259
280
"ip" : " 140.211.168.214" ,
260
281
"containers" : [
261
282
{
277
298
],
278
299
"containersCount" : 4
279
300
},
280
- {
281
- "name" : " dockerhost-osuosl-ubuntu2404-aarch64-1" ,
282
- "ip" : " 140.211.167.67" ,
283
- "containers" : [
284
- {
285
- "nodeName" : " test-docker-ubuntu2404-armv7-1" ,
286
- "port" : " 32000"
287
- }
288
- ],
289
- "containersCount" : 1
290
- },
291
301
{
292
302
"name" : " dockerhost-skytap-ubuntu2004-ppc64le-1" ,
293
303
"ip" : " 20.61.136.212" ,
Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ def main():
69
69
for node in nodes :
70
70
try :
71
71
nodeConfig = server .get_node_config (node ["name" ])
72
- nodeIP = getIP (nodeConfig )
73
72
nodePort = getNodePort (nodeConfig )
74
- if nodeIP == dockerhost ["ip" ] and node ["name" ] != dockerhost ["name" ]:
73
+ nodeLabel = getLabel (nodeConfig )
74
+ if nodeLabel .find (dockerhost ["name" ]) > - 1 :
75
75
nodeObject = {"nodeName" : node ["name" ], "port" : nodePort }
76
76
containers .append (nodeObject )
77
77
except jenkins .NotFoundException :
You can’t perform that action at this time.
0 commit comments