Skip to content

Commit

Permalink
Replace opensearch-project#525 Windows AMI and extend startup time
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon committed Feb 7, 2025
1 parent 6d1b9ce commit 6892c1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/compute/agent-node-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export class AgentNodeConfig {
idleTerminationMinutes: '120',
initScript: config.initScript,
labelString: config.workerLabelString[0],
launchTimeoutStr: '1200',
launchTimeoutStr: '1600',
maxTotalUses: config.maxTotalUses,
minimumNumberOfInstances: 0,
minimumNumberOfSpareInstances: config.minimumNumberOfSpareInstances,
Expand Down
4 changes: 2 additions & 2 deletions lib/compute/agent-nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class AgentNodes {
maxTotalUses: 10,
minimumNumberOfSpareInstances: 4,
numExecutors: 3,
amiId: 'ami-01f81782f09e99d95',
amiId: 'ami-021eaef5ecf03ae4c',
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 @@ -225,7 +225,7 @@ export class AgentNodes {
maxTotalUses: 10,
minimumNumberOfSpareInstances: 1,
numExecutors: 1,
amiId: 'ami-01f81782f09e99d95',
amiId: 'ami-021eaef5ecf03ae4c',
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 6892c1c

Please sign in to comment.