From 24094baeafd11836641fc431452c774a8d17b49a Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Wed, 24 Aug 2022 16:46:34 -0400 Subject: [PATCH] Fix malloc issues on windows agent Signed-off-by: Peter Zhu --- lib/compute/agent-nodes.ts | 2 +- packer/scripts/windows/scoop-install-commons.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compute/agent-nodes.ts b/lib/compute/agent-nodes.ts index c13bbf45..3de3beaa 100644 --- a/lib/compute/agent-nodes.ts +++ b/lib/compute/agent-nodes.ts @@ -155,7 +155,7 @@ export class AgentNodes { maxTotalUses: 10, minimumNumberOfSpareInstances: 2, numExecutors: 1, - amiId: 'ami-00b281139e1429343', + amiId: 'ami-0be4c33e264a17641', initScript: 'echo', remoteFs: 'C:\\Users\\Administrator\\jenkins', }; diff --git a/packer/scripts/windows/scoop-install-commons.ps1 b/packer/scripts/windows/scoop-install-commons.ps1 index 28907b4e..71ec6ccf 100644 --- a/packer/scripts/windows/scoop-install-commons.ps1 +++ b/packer/scripts/windows/scoop-install-commons.ps1 @@ -27,7 +27,7 @@ git config --system core.packedGitWindowSize 128m git config --system pack.deltaCacheSize 128m git config --system pack.packSizeLimit 128m git config --system pack.windowMemory 128m -git config --system http.postBuffer 524288000 +#git config --system http.postBuffer 524288000 # Comment it out for now as it is calling malloc issues git config --system --list # Setup Repos (This has to happen after git is installed or will error out)