From 3720cdb4f2c25729762a624f5defd77cd3f08c00 Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Date: Thu, 10 Oct 2024 14:59:38 -0700 Subject: [PATCH] Update maxUse of the agents to 10 runs (#499) Signed-off-by: Sayali Gaikawad --- lib/compute/agent-node-config.ts | 2 +- lib/compute/agent-nodes.ts | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/compute/agent-node-config.ts b/lib/compute/agent-node-config.ts index 22a6948..107a6b1 100644 --- a/lib/compute/agent-node-config.ts +++ b/lib/compute/agent-node-config.ts @@ -251,7 +251,7 @@ export class AgentNodeConfig { { key: 'JAVA23_HOME', value: '/usr/lib/jvm/temurin-23-jdk-amd64', - } + }, ], }, }, diff --git a/lib/compute/agent-nodes.ts b/lib/compute/agent-nodes.ts index 53150c4..f60a37e 100644 --- a/lib/compute/agent-nodes.ts +++ b/lib/compute/agent-nodes.ts @@ -51,7 +51,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-AL2023-X64-C54xlarge-Single-Host', instanceType: 'C54xlarge', remoteUser: 'ec2-user', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 1, numExecutors: 1, amiId: 'ami-0e8c1c93cdfb4ce70', @@ -65,7 +65,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host', instanceType: 'C54xlarge', remoteUser: 'ec2-user', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 1, numExecutors: 4, amiId: 'ami-047328312ef36d12b', @@ -79,7 +79,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-AL2023-X64-M54xlarge-Docker-Host', instanceType: 'M54xlarge', remoteUser: 'ec2-user', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 4, numExecutors: 3, amiId: 'ami-0e8c1c93cdfb4ce70', @@ -93,7 +93,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-AL2023-Arm64-C6g4xlarge-Single-Host', instanceType: 'C6g4xlarge', remoteUser: 'ec2-user', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 1, numExecutors: 1, amiId: 'ami-07171e0264441db0a', @@ -107,7 +107,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-AL2-Arm64-C6g4xlarge-Docker-Host', instanceType: 'C6g4xlarge', remoteUser: 'ec2-user', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 1, numExecutors: 4, amiId: 'ami-06ba4c81e8dd7ab49', @@ -121,7 +121,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-AL2023-Arm64-M6g4xlarge-Docker-Host', instanceType: 'M6g4xlarge', remoteUser: 'ec2-user', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 4, numExecutors: 3, amiId: 'ami-07171e0264441db0a', @@ -135,7 +135,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-AL2023-X64-M52xlarge-Benchmark-Test', instanceType: 'M52xlarge', remoteUser: 'ec2-user', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 1, numExecutors: 2, amiId: 'ami-09f55bf0827296c51', @@ -164,7 +164,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-Ubuntu2004-X64-M52xlarge-Docker-Builder', instanceType: 'M52xlarge', remoteUser: 'ubuntu', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 2, numExecutors: 1, amiId: 'ami-0cdc3fd42e6dc728c', @@ -179,7 +179,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-MacOS13-X64-Mac1Metal-Multi-Host', instanceType: 'Mac1Metal', remoteUser: 'ec2-user', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 1, numExecutors: 4, amiId: 'ami-0dbb293b6db1cac67', @@ -192,7 +192,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-MacOS13-ARM64-Mac2M2proMetal-Multi-Host', instanceType: 'Mac2M2proMetal', remoteUser: 'ec2-user', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 1, numExecutors: 4, amiId: 'ami-0fca4d6286ab64f66',