Skip to content

Commit

Permalink
New cmds reduce AL2 failure and increase gradle check to c524xlarge r…
Browse files Browse the repository at this point in the history
…unner (#151)

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon authored Jul 6, 2022
1 parent 589e3ef commit ee8b613
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lib/compute/agent-nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,39 +32,39 @@ export class AgentNodes {
remoteUser: 'ec2-user',
numExecutors: 1,
amiId: 'ami-00a07e55fcad01043',
initScript: 'sudo yum clean all && sudo yum repolist &&'
+ ' sudo yum update --exclude=openssh* --exclude=docker* -y',
initScript: 'sudo yum clean all && sudo rm -rf /var/cache/yum/* && sudo yum repolist &&'
+ ' sudo yum update --skip-broken --exclude=openssh* --exclude=docker* -y',
};
this.AL2_X64_DOCKER_HOST = {
workerLabelString: 'Jenkins-Agent-al2-x64-c54xlarge-Docker-Host',
instanceType: 'C54xlarge',
remoteUser: 'ec2-user',
numExecutors: 8,
amiId: 'ami-00a07e55fcad01043',
initScript: 'sudo yum clean all && sudo yum repolist &&'
+ ' sudo yum update --exclude=openssh* --exclude=docker* -y',
initScript: 'sudo yum clean all && sudo rm -rf /var/cache/yum/* && sudo yum repolist &&'
+ ' sudo yum update --skip-broken --exclude=openssh* --exclude=docker* -y',
};
this.AL2_ARM64 = {
workerLabelString: 'Jenkins-Agent-al2-arm64-c6g4xlarge-Single-Host',
instanceType: 'C6g4xlarge',
remoteUser: 'ec2-user',
numExecutors: 1,
amiId: 'ami-020c52efb1a60f1ae',
initScript: 'sudo yum clean all && sudo yum repolist &&'
+ ' sudo yum update --exclude=openssh* --exclude=docker* -y',
initScript: 'sudo yum clean all && sudo rm -rf /var/cache/yum/* && sudo yum repolist &&'
+ ' sudo yum update --skip-broken --exclude=openssh* --exclude=docker* -y',
};
this.AL2_ARM64_DOCKER_HOST = {
workerLabelString: 'Jenkins-Agent-al2-arm64-c6g4xlarge-Docker-Host',
instanceType: 'C6g4xlarge',
remoteUser: 'ec2-user',
numExecutors: 8,
amiId: 'ami-020c52efb1a60f1ae',
initScript: 'sudo yum clean all && sudo yum repolist &&'
+ ' sudo yum update --exclude=openssh* --exclude=docker* -y',
initScript: 'sudo yum clean all && sudo rm -rf /var/cache/yum/* && sudo yum repolist &&'
+ ' sudo yum update --skip-broken --exclude=openssh* --exclude=docker* -y',
};
this.UBUNTU_X64 = {
workerLabelString: 'Jenkins-Agent-Ubuntu2004-X64-c518xlarge-Single-Host',
instanceType: 'C518xlarge',
workerLabelString: 'Jenkins-Agent-Ubuntu2004-X64-c524xlarge-Single-Host',
instanceType: 'C524xlarge',
remoteUser: 'ubuntu',
numExecutors: 1,
amiId: 'ami-0f6ceb3b3687a3fba',
Expand Down

0 comments on commit ee8b613

Please sign in to comment.