Skip to content

Commit

Permalink
feat(ci.jenkins.io, trusted.ci.jenkins.io,cert.ci.jenkins.io) Update …
Browse files Browse the repository at this point in the history
…Azure VM agents default configuration (#2635)
  • Loading branch information
dduportal committed Feb 14, 2023
1 parent 54d2712 commit 4001d00
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jenkins:
location: "<%= agent['location'] %>"
noOfParallelJobs: 1
osDiskSize: <%= agent['osDiskSize'] ? agent['osDiskSize'] : @jcasc['agents_setup'][agent['os'].to_s]['osDiskSize'] %>
osDiskStorageAccountType: <%= agent['osDiskStorageAccountType'] ? agent['osDiskStorageAccountType'] : @jcasc['agents_setup'][agent['os'].to_s]['osDiskStorageAccountType'] %>
osType: "<%= agent['os'].to_s == "windows" ? 'Windows' : 'Linux' %>"
preInstallSsh: false
<%- if agent['idleTerminationMinutes'] -%>
Expand Down
2 changes: 0 additions & 2 deletions hieradata/clients/cert-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ profile::jenkinscontroller::jcasc:
architecture: amd64
labels:
- linux
idleTerminationMinutes: 5
maxInstances: 7 # Quota of 56 vCPUs
useAsMuchAsPossible: true
credentialsId: "azure-login"
Expand All @@ -99,7 +98,6 @@ profile::jenkinscontroller::jcasc:
architecture: amd64
labels:
- windows
idleTerminationMinutes: 5
maxInstances: 7 # Quota of 56 vCPUs
useAsMuchAsPossible: true
credentialsId: "azure-login"
Expand Down
2 changes: 0 additions & 2 deletions hieradata/clients/trusted-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ profile::jenkinscontroller::jcasc:
- docker
- maven-11
- jdk11
idleTerminationMinutes: 5
maxInstances: 7 # Quota of 56 vCPUs
useAsMuchAsPossible: true
credentialsId: "azure-jenkins-user"
Expand All @@ -103,7 +102,6 @@ profile::jenkinscontroller::jcasc:
architecture: amd64
labels:
- docker-windows
idleTerminationMinutes: 5
maxInstances: 7 # Quota of 56 vCPUs
useAsMuchAsPossible: true
credentialsId: "azure-jenkins-user"
Expand Down
6 changes: 4 additions & 2 deletions hieradata/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,16 @@ profile::jenkinscontroller::jcasc:
# Double Backslash is required (for EC2 plugin as we hackishly use the unix launched for Windows to use OpenSSH)
tempDir: 'C:\\\\Temp'
remoteAdmin: Administrator
osDiskSize: 128
osDiskSize: 150
osDiskStorageAccountType: 'Premium_LRS'
agentJavaBin: 'C:/tools/jdk-11/bin/java'
agentJavaOpts: '-XX:+PrintCommandLineFlags'
ubuntu:
agentDir: "/home/jenkins"
remoteAdmin: jenkins
tempDir: "/tmp"
osDiskSize: 90
osDiskSize: 150
osDiskStorageAccountType: 'Premium_LRS'
agentJavaBin: '/opt/jdk-11/bin/java'
agentJavaOpts: '-XX:+PrintCommandLineFlags'
path: '/home/jenkins/.asdf/shims:/home/jenkins/.asdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
Expand Down

0 comments on commit 4001d00

Please sign in to comment.