Skip to content

Commit

Permalink
Update Windows docker host with AMI and M54xlarge from opensearch-pro…
Browse files Browse the repository at this point in the history
…ject#417

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon committed Apr 15, 2024
1 parent 3c34c3c commit af56709
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/compute/agent-nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,13 @@ export class AgentNodes {
this.WINDOWS2019_X64_DOCKER_HOST = {
agentType: 'windows',
customDeviceMapping: '/dev/sda1=:600:true:::encrypted',
workerLabelString: 'Jenkins-Agent-Windows2019-X64-C54xlarge-Docker-Host',
instanceType: 'C54xlarge',
workerLabelString: 'Jenkins-Agent-Windows2019-X64-M54xlarge-Docker-Host',
instanceType: 'M54xlarge',
remoteUser: 'Administrator',
maxTotalUses: 10,
minimumNumberOfSpareInstances: 4,
numExecutors: 4,
amiId: 'ami-0a9759da263ce9304',
amiId: 'ami-01f81782f09e99d95',
initScript: 'echo %USERNAME% && dockerd --register-service && net start docker && echo started docker deamon && docker ps && '
+ 'echo initializing docker images now waiting for 5min && git clone https://github.com/opensearch-project/opensearch-build.git && '
+ 'bash.exe -c "docker run --rm -it --name docker-windows-test -d `opensearch-build/docker/ci/get-ci-images.sh '
Expand All @@ -234,13 +234,13 @@ export class AgentNodes {
this.WINDOWS2019_X64_DOCKER_BUILDER = {
agentType: 'windows',
customDeviceMapping: '/dev/sda1=:300:true:::encrypted',
workerLabelString: 'Jenkins-Agent-Windows2019-X64-C54xlarge-Docker-Builder',
instanceType: 'C54xlarge',
workerLabelString: 'Jenkins-Agent-Windows2019-X64-M54xlarge-Docker-Builder',
instanceType: 'M54xlarge',
remoteUser: 'Administrator',
maxTotalUses: 10,
minimumNumberOfSpareInstances: 1,
numExecutors: 1,
amiId: 'ami-0a9759da263ce9304',
amiId: 'ami-01f81782f09e99d95',
initScript: 'echo %USERNAME% && dockerd --register-service && net start docker && echo started docker deamon && docker ps && '
+ 'echo initializing docker images now waiting for 5min && git clone https://github.com/opensearch-project/opensearch-build.git && '
+ 'bash.exe -c "docker run --rm -it --name docker-windows-test -d `opensearch-build/docker/ci/get-ci-images.sh '
Expand Down

0 comments on commit af56709

Please sign in to comment.