Skip to content

Commit

Permalink
Add k-NN required zip and JDK19 for Core (#213)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>

Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon authored Oct 27, 2022
1 parent 6eba272 commit 0dc2443
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/compute/agent-nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export class AgentNodes {
maxTotalUses: -1,
minimumNumberOfSpareInstances: 2,
numExecutors: 1,
amiId: 'ami-0805008fb781e18b8',
amiId: 'ami-04e3e1e593eb9b709',
initScript: 'echo',
remoteFs: 'C:\\Users\\Administrator\\jenkins',
};
Expand All @@ -160,7 +160,7 @@ export class AgentNodes {
maxTotalUses: 1,
minimumNumberOfSpareInstances: 1,
numExecutors: 1,
amiId: 'ami-0805008fb781e18b8',
amiId: 'ami-04e3e1e593eb9b709',
initScript: 'echo',
remoteFs: 'C:\\Users\\Administrator\\jenkins',
};
Expand Down
2 changes: 2 additions & 0 deletions packer/scripts/windows/scoop-install-commons.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,5 @@ gh version
scoop install cmake
cmake --version

# Install zip
scoop install zip
6 changes: 6 additions & 0 deletions resources/baseJenkins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,12 @@ tool:
installers:
- adoptOpenJdkInstaller:
id: "jdk-17.0.3+7"
- name: "openjdk-19"
properties:
- installSource:
installers:
- adoptOpenJdkInstaller:
id: "jdk-19.0.1+10"
mavenGlobalConfig:
globalSettingsProvider: "standard"
settingsProvider: "standard"
Expand Down
6 changes: 6 additions & 0 deletions test/data/test_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ tool:
installers:
- adoptOpenJdkInstaller:
id: jdk-17.0.3+7
- name: openjdk-19
properties:
- installSource:
installers:
- adoptOpenJdkInstaller:
id: jdk-19.0.1+10
mavenGlobalConfig:
globalSettingsProvider: standard
settingsProvider: standard
Expand Down

0 comments on commit 0dc2443

Please sign in to comment.