in src/ComputerDisplay.js [58:101]
function classify_node(n) {
const node = n.displayName;
if (/^c5.xlarge-i-.*$/.test(node)) {
return "linux-cpu";
}
if (/^c5.4xlarge-i-.*$/.test(node)) {
return "linux-bigcpu";
}
if (/^g3.8xlarge-i-.*$/.test(node)) {
if (n.assignedLabels.some((l) => l.name === "tc_gpu")) {
return "linux-tc-gpu";
} else {
return "linux-gpu";
}
}
if (/^g3.16xlarge-i-.*$/.test(node)) {
return "linux-multigpu";
}
if (/^worker-c5-xlarge-.*$/.test(node)) {
return "linux-cpu-ccache";
}
if (/^worker-macos-high-sierra-.*$/.test(node)) {
return "osx";
}
if (/^worker-win-c5.2xlarge-i-.*$/.test(node)) {
return "win-cpu";
}
if (/^worker-win-g3.4xlarge-i-.*$/.test(node)) {
return "win-gpu";
}
if (/^worker-osuosl-ppc64le-cpu-.*$/.test(node)) {
return "ppc";
}
if (/^worker-packet-type-1-.*$/.test(node)) {
return "packet";
}
if (/^jenkins-worker-rocm-.*$/.test(node)) {
return "rocm";
}
if (/^worker-g3-4xlarge-.*$/.test(node)) {
return "tc-gpu";
}
return node;
}