-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathjenkins_infra.ci.jenkins.io.yaml
684 lines (684 loc) · 31.5 KB
/
jenkins_infra.ci.jenkins.io.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
serviceAccount:
create: true
name: jenkins-infra-controller
serviceAccountAgent:
create: false
rbac:
create: true
readSecrets: true
persistence:
enabled: true
size: 50Gi
storageClass: managed-csi-premium-retain
agent:
componentName: "agent"
networkPolicy:
enabled: true
internalAgents:
allowed: true
namespaceLabels:
name: "jenkins-infra"
controller:
image: jenkinsciinfra/jenkins-weekly
tag: 0.116.0-2.407
imagePullPolicy: IfNotPresent
nodeSelector:
kubernetes.io/os: linux
kubernetes.azure.com/agentpool: linuxpool
resources:
limits:
cpu: "2"
memory: "8Gi"
requests:
cpu: "2"
memory: "8Gi"
probes:
startupProbe:
initialDelaySeconds: 120
livenessProbe:
initialDelaySeconds: 120
readinessProbe:
initialDelaySeconds: 120
testEnabled: false
overwritePlugins: true
serviceType: "ClusterIP"
javaOpts: >-
-XshowSettings:vm -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/ -XX:+UseG1GC -Djava.net.preferIPv4Stack=true
JCasC:
enabled: true
defaultConfig: false
configScripts:
credentials: |
credentials:
system:
domainCredentials:
- credentials:
- gitHubApp:
appID: "${GITHUB_APP_ID}"
description: "GitHub App for infra.ci.jenkins.io"
id: "github-app-infra"
privateKey: "${GITHUB_APP_PRIVATE_KEY}"
scope: GLOBAL
- gitHubApp:
appID: "${GITHUB_APP_JENKINS_INFRA_UPDATECLI_ID}"
description: "GitHub App for updatecli tasks on jenkins-infra org"
id: "github-app-updatecli-on-jenkins-infra"
privateKey: "${GITHUB_APP_JENKINS_INFRA_UPDATECLI_PRIVATE_KEY}"
owner: "jenkins-infra"
scope: GLOBAL
- usernamePassword:
description: "Credentials to access an artifact caching proxy"
id: "artifact-caching-proxy-credentials"
password: "${ARTIFACT_CACHING_PROXY_PASSWORD}"
scope: GLOBAL
username: "MY-USERNAME"
- azure:
azureEnvironmentName: "Azure"
clientId: "${JENKINSINFRA_AZURE_CLIENT_ID}"
clientSecret: "${JENKINSINFRA_AZURE_CLIENT_SECRET_VALUE}"
description: "azure Service Principal"
id: "az-agents-credentials"
scope: SYSTEM
subscriptionId: "${JENKINSINFRA_AZURE_SUBSCRIPTION_ID}"
tenant: "${JENKINSINFRA_AZURE_TENANT_ID}"
- usernamePassword:
description: "Credentials to access the azure agents VMs"
id: "azure-login"
password: "${AZURE_LOGIN_VM_PASS}"
scope: SYSTEM
username: "${AZURE_LOGIN_VM_USER}"
- file:
fileName: "kubeconfig"
id: "kubeconfig-controller"
description: "Kubeconfig file for privatek8s"
scope: SYSTEM
secretBytes: "${base64:${KUBECONFIG_PRIVATEK8S}}"
agent-settings: |
jenkins:
numExecutors: 0
clouds:
- kubernetes:
containerCapStr: "100"
# Controller URL to allow agent to connect to it. Prefers using the Kubernetes Service as an internal URL.
jenkinsUrl: "http://jenkins-infra.jenkins-infra.svc.cluster.local:8080"
maxRequestsPerHostStr: "300"
webSocket: true
name: "kubernetes"
namespace: "jenkins-infra-agents"
podRetention: "Never"
podLabels:
# Required to be jenkins/<helm-release>-jenkins-slave as defined here
# https://github.com/helm/charts/blob/ef0d749132ecfa61b2ea47ccacafeaf5cf1d3d77/stable/jenkins/templates/jenkins-master-networkpolicy.yaml#L27
- key: "jenkins/jenkins-infra-agent"
value: "true"
templates:
- name: jnlp-linux
nodeSelector: "kubernetes.io/os=linux"
containers:
- name: jnlp
image: "jenkins/inbound-agent:latest-jdk11"
envVars:
- envVar:
key: "JENKINS_JAVA_BIN"
value: "/opt/java/openjdk/bin/java"
resourceLimitCpu: "500m"
resourceLimitMemory: "512Mi"
resourceRequestCpu: "500m"
resourceRequestMemory: "512Mi"
alwaysPullImage: true
yamlMergeStrategy: "merge"
yaml: |-
apiVersion: v1
kind: Pod
spec:
tolerations:
- key: "jenkins"
operator: "Equal"
value: "infra.ci.jenkins.io"
effect: "NoSchedule"
- key: "kubernetes.azure.com/scalesetpriority"
operator: "Equal"
value: "spot"
effect: "NoSchedule"
- name: jnlp-windows
nodeSelector: "kubernetes.io/os=windows"
instanceCap: 5 # Usual sizing is 2 pods per Windows node, and max 3 windows nodes
instanceCapStr: "5"
containers:
- name: jnlp
image: "jenkinsciinfra/inbound-agent:windowsservercore-1809"
envVars:
- envVar:
key: "JENKINS_JAVA_BIN"
value: "C:/openjdk-11"
- envVar:
key: "JAVA_HOME"
value: "C:/openjdk-11"
command: "powershell"
args: "C:/ProgramData/Jenkins/jenkins-agent.ps1"
resourceLimitCpu: "1"
resourceLimitMemory: "1024Mi"
resourceRequestCpu: "1"
resourceRequestMemory: "1024Mi"
alwaysPullImage: true
workingDir: "C:\\Users\\jenkins"
yamlMergeStrategy: "merge"
label: "windows-2019-kubernetes"
yaml: |-
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/os
operator: In
values:
- windows
- name: "jnlp-webbuilder"
nodeSelector: "kubernetes.io/os=linux"
yaml: |-
apiVersion: v1
kind: Pod
spec:
tolerations:
- key: "jenkins"
operator: "Equal"
value: "infra.ci.jenkins.io"
effect: "NoSchedule"
- key: "kubernetes.azure.com/scalesetpriority"
operator: "Equal"
value: "spot"
effect: "NoSchedule"
containers:
- name: "jnlp"
image: "jenkinsciinfra/builder@sha256:a4abe24f01e7162f0208d1a216a867a98080072ee4e4ca4d5899f7e3388aa482"
command: "/usr/local/bin/jenkins-agent"
envVars:
- envVar:
key: "JENKINS_JAVA_OPTS"
value: "-XX:+PrintCommandLineFlags"
- envVar:
key: "JENKINS_JAVA_BIN"
value: "/opt/java/openjdk/bin/java"
- envVar:
key: "PATH"
value: "~/.asdf/shims:~/.asdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
- envVar:
key: "ARTIFACT_CACHING_PROXY_PROVIDER"
value: "azure"
resourceLimitCpu: "4"
resourceLimitMemory: "8G"
resourceRequestCpu: "4"
resourceRequestMemory: "8G"
label: "container kubernetes node ruby webbuilder"
yamlMergeStrategy: "merge"
- azureVM:
azureCredentialsId: "az-agents-credentials"
cloudName: "azure cloud"
deploymentTimeout: 1200
existingResourceGroupName: "infra-agents"
maxVirtualMachinesLimit: 50
resourceGroupReferenceType: "existing"
vmTemplates:
- launcher: "ssh"
agentWorkspace: "/home/jenkins"
credentialsId: "azure-login"
diskType: "managed"
doNotUseMachineIfInitFails: true
executeInitScriptAsRoot: true
imageReference:
galleryImageDefinition: "jenkins-agent-ubuntu-22.04-amd64"
galleryImageVersion: "1.7.1"
galleryName: "prod_packer_images"
galleryResourceGroup: "prod-packer-images"
gallerySubscriptionId: "${PACKER_AZURE_SUBSCRIPTION_ID}"
imageTopLevelType: "advanced"
initScript: |-
#!/bin/bash
set -eux
echo "START CLOUDINIT"
sed 's/api_key:.*/api_key: ${JENKINS_CI_DATADOG_API_KEY}/' /etc/datadog-agent/datadog.yaml.example > /etc/datadog-agent/datadog.yaml
sed -i 's/# site:.*/site: datadoghq.com/' /etc/datadog-agent/datadog.yaml
systemctl stop datadog-agent.service
mkdir -p /var/log/datadog /etc/datadog-agent
chown dd-agent:dd-agent /etc/datadog-agent/datadog.yaml
chmod 640 /etc/datadog-agent/datadog.yaml
chown dd-agent:dd-agent /var/log/datadog
chmod 770 /var/log/datadog
systemctl start datadog-agent.service
rm -f /etc/sudoers.d/90-cloud-init-users
echo "END CLOUDINIT"
javaPath: "/opt/jdk-11/bin/java"
jvmOptions: "-XX:+PrintCommandLineFlags"
labels: "linux-amd64 linux-amd64-docker"
location: "East US 2"
maxVirtualMachinesLimit: 50
existingStorageAccountName: "${AZURE_STORAGE_ACCOUNT}"
noOfParallelJobs: 1
osDiskSize: 150
osDiskStorageAccountType: "Premium_LRS"
osType: "Linux"
retentionStrategy: "azureVMCloudOnce"
spotInstance: true
storageAccountNameReferenceType: "existing"
storageAccountType: "Standard_LRS"
subnetName: "privatek8s-tier"
templateDesc: "Dynamically provisioned Ubuntu 22.04 LTS machine"
templateName: "ubuntu-22"
usageMode: NORMAL
usePrivateIP: true
virtualMachineSize: "Standard_D4s_v3" # 4 vCPUs / 16 Gb
virtualNetworkName: "private-vnet"
virtualNetworkResourceGroupName: "private"
- launcher: "ssh"
agentWorkspace: "C:/Jenkins"
credentialsId: "azure-login"
diskType: "managed"
doNotUseMachineIfInitFails: true
executeInitScriptAsRoot: true
imageReference:
galleryImageDefinition: "jenkins-agent-windows-2019-amd64"
galleryImageVersion: "1.7.1"
galleryName: "prod_packer_images"
galleryResourceGroup: "prod-packer-images"
gallerySubscriptionId: "${PACKER_AZURE_SUBSCRIPTION_ID}"
imageTopLevelType: "advanced"
initScript: |-
(Get-Content C:\ProgramData\Datadog\datadog.yaml -Raw) -Replace 'api_key:', 'api_key: ${JENKINS_CI_DATADOG_API_KEY}' | Set-Content C:\ProgramData\Datadog\datadog.yaml
javaPath: "C:/tools/jdk-11/bin/java"
jvmOptions: "-XX:+PrintCommandLineFlags"
labels: "windows-2019 amd64 azure vm docker-windows docker-windows-2019 windows"
location: "East US 2"
maxVirtualMachinesLimit: 50
existingStorageAccountName: "${AZURE_STORAGE_ACCOUNT}"
noOfParallelJobs: 1
osDiskSize: 150
osDiskStorageAccountType: "Premium_LRS"
osType: "Windows"
retentionStrategy: "azureVMCloudOnce"
spotInstance: true
storageAccountNameReferenceType: "existing"
storageAccountType: "Standard_LRS"
subnetName: "privatek8s-tier"
templateDesc: "Dynamically provisioned Windows 2019 machine"
templateName: "win-2019"
usageMode: NORMAL
usePrivateIP: true
virtualMachineSize: "Standard_D4s_v3" # 4 vCPUs / 16 Gb
virtualNetworkName: "private-vnet"
virtualNetworkResourceGroupName: "private"
- launcher: "ssh"
agentWorkspace: "/home/jenkins"
credentialsId: "azure-login"
diskType: "managed"
doNotUseMachineIfInitFails: true
executeInitScriptAsRoot: true
imageReference:
galleryImageDefinition: "jenkins-agent-ubuntu-22.04-arm64"
galleryImageVersion: "1.7.1"
galleryName: "prod_packer_images"
galleryResourceGroup: "prod-packer-images"
gallerySubscriptionId: "${PACKER_AZURE_SUBSCRIPTION_ID}"
imageTopLevelType: "advanced"
initScript: |-
#!/bin/bash
set -eux
echo "START CLOUDINIT"
sed 's/api_key:.*/api_key: ${JENKINS_CI_DATADOG_API_KEY}/' /etc/datadog-agent/datadog.yaml.example > /etc/datadog-agent/datadog.yaml
sed -i 's/# site:.*/site: datadoghq.com/' /etc/datadog-agent/datadog.yaml
systemctl stop datadog-agent.service
mkdir -p /var/log/datadog /etc/datadog-agent
chown dd-agent:dd-agent /etc/datadog-agent/datadog.yaml
chmod 640 /etc/datadog-agent/datadog.yaml
chown dd-agent:dd-agent /var/log/datadog
chmod 770 /var/log/datadog
systemctl start datadog-agent.service
rm -f /etc/sudoers.d/90-cloud-init-users
echo "END CLOUDINIT"
javaPath: "/opt/jdk-11/bin/java"
jvmOptions: "-XX:+PrintCommandLineFlags"
labels: "linux-arm64 linux-arm64-docker azure"
location: "East US 2"
maxVirtualMachinesLimit: 50
existingStorageAccountName: "${AZURE_STORAGE_ACCOUNT}"
noOfParallelJobs: 1
osDiskSize: 128
osDiskStorageAccountType: "Premium_LRS"
osType: "Linux"
retentionStrategy: "azureVMCloudOnce"
spotInstance: true
storageAccountNameReferenceType: "existing"
storageAccountType: "Standard_LRS"
subnetName: "privatek8s-tier"
templateDesc: "Dynamically provisioned Ubuntu 22.04 LTS ARM machine"
templateName: "ubuntu-22-arm64"
usageMode: NORMAL
usePrivateIP: true
virtualMachineSize: "Standard_D4ps_v5" # 4 vCPUs / 16 Gb
virtualNetworkName: "private-vnet"
virtualNetworkResourceGroupName: "private"
security: |
security:
scriptApproval:
approvedSignatures:
- "method org.jenkinsci.plugins.workflow.steps.FlowInterruptedException getCauses"
- "new java.lang.RuntimeException java.lang.Throwable"
gitHostKeyVerificationConfiguration:
sshHostKeyVerificationStrategy:
manuallyProvidedKeyVerificationStrategy:
approvedHostKeys: "github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"
ldap-settings: |
jenkins:
securityRealm:
ldap:
configurations:
- server: "${LDAP_SERVER}"
rootDN: "${LDAP_ROOT_DN}"
managerDN: "${LDAP_MANAGER_DN}"
managerPasswordSecret: "${LDAP_MANAGER_PASSWORD}"
mailAddressAttributeName: "mail"
userSearch: cn={0}
userSearchBase: "ou=people"
groupSearchBase: "ou=groups"
disableMailAddressResolver: false
groupIdStrategy: "caseInsensitive"
userIdStrategy: "caseInsensitive"
cache:
size: 100
ttl: 300
advisor-settings: |
jenkins:
disabledAdministrativeMonitors:
- com.cloudbees.jenkins.plugins.advisor.Reminder
advisor:
acceptToS: true
ccs:
email: "[email protected]"
excludedComponents:
- "ItemsContent"
- "GCLogs"
- "Agents"
- "RootCAs"
- "SlaveLogs"
- "HeapUsageHistogram"
nagDisabled: true
pipeline-library: |
unclassified:
location:
url: "https://infra.ci.jenkins.io"
globalLibraries:
libraries:
- cachingConfiguration:
excludedVersionsStr: "pull/"
refreshTimeMinutes: 180
defaultVersion: "master"
implicit: true
name: "pipeline-library"
includeInChangesets: false
retriever:
modernSCM:
scm:
git:
credentialsId: "github-app-infra"
remote: "https://github.com/jenkins-infra/pipeline-library.git"
artifact-caching-proxy: |
unclassified:
globalConfigFiles:
configs:
- mavenSettings:
comment: "Artifact caching proxy settings for the AWS provider"
content: |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>aws-proxy</id>
<url>https://repo.aws.jenkins.io/public/</url>
<mirrorOf>*,!incrementals,!elementary-releases,!chimera-releases,!chimera-snapshots,!atlassian-public,!org.zowe.sdk,!local</mirrorOf>
</mirror>
<mirror>
<id>aws-proxy-incrementals</id>
<url>https://repo.aws.jenkins.io/incrementals/</url>
<mirrorOf>incrementals</mirrorOf>
</mirror>
</mirrors>
</settings>
id: "artifact-caching-proxy-aws"
isReplaceAll: true
name: "AWS Artifact Caching Proxy"
providerId: "org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig"
serverCredentialMappings:
- credentialsId: "artifact-caching-proxy-credentials"
serverId: "aws-proxy"
- credentialsId: "artifact-caching-proxy-credentials"
serverId: "aws-proxy-incrementals"
- mavenSettings:
comment: "Artifact caching proxy settings for the Azure provider"
content: |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>azure-proxy</id>
<url>https://repo.azure.jenkins.io/public/</url>
<mirrorOf>*,!incrementals,!elementary-releases,!chimera-releases,!chimera-snapshots,!atlassian-public,!org.zowe.sdk,!local</mirrorOf>
</mirror>
<mirror>
<id>azure-proxy-incrementals</id>
<url>https://repo.azure.jenkins.io/incrementals/</url>
<mirrorOf>incrementals</mirrorOf>
</mirror>
</mirrors>
</settings>
id: "artifact-caching-proxy-azure"
isReplaceAll: true
name: "Azure Artifact Caching Proxy"
providerId: "org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig"
serverCredentialMappings:
- credentialsId: "artifact-caching-proxy-credentials"
serverId: "azure-proxy"
- credentialsId: "artifact-caching-proxy-credentials"
serverId: "azure-proxy-incrementals"
- mavenSettings:
comment: "Artifact caching proxy settings for the DigitalOcean provider"
content: |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>do-proxy</id>
<url>https://repo.do.jenkins.io/public/</url>
<mirrorOf>*,!incrementals,!elementary-releases,!chimera-releases,!chimera-snapshots,!atlassian-public,!org.zowe.sdk,!local</mirrorOf>
</mirror>
<mirror>
<id>do-proxy-incrementals</id>
<url>https://repo.do.jenkins.io/incrementals/</url>
<mirrorOf>incrementals</mirrorOf>
</mirror>
</mirrors>
</settings>
id: "artifact-caching-proxy-do"
isReplaceAll: true
name: "DigitalOcean Artifact Caching Proxy"
providerId: "org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig"
serverCredentialMappings:
- credentialsId: "artifact-caching-proxy-credentials"
serverId: "do-proxy"
- credentialsId: "artifact-caching-proxy-credentials"
serverId: "do-proxy-incrementals"
matrix-settings: |
jenkins:
authorizationStrategy:
globalMatrix:
permissions:
- "GROUP:Job/Build:authenticated"
- "GROUP:Job/ExtendedRead:authenticated"
- "GROUP:Job/Read:authenticated"
- "GROUP:Overall/Administer:admins"
- "GROUP:Overall/Administer:jenkins-admins"
- "GROUP:Overall/Read:authenticated"
- "GROUP:Overall/SystemRead:authenticated"
pipeline-settings: |
unclassified:
timestamper:
allPipelines: true
shell:
shell: "/bin/bash"
system-settings: |
unclassified:
lockableResourcesManager:
declaredResources:
- description: "first entry for packer image builder dev"
labels: "dev-packerimage"
name: "dev-1"
reservedBy: "PackerImages"
- description: "second entry for packer image builder dev"
labels: "dev-packerimage"
name: "dev-2"
reservedBy: "PackerImages"
- description: "third entry for packer image builder dev"
labels: "dev-packerimage"
name: "dev-3"
reservedBy: "PackerImages"
- description: "fourth entry for packer image builder dev"
labels: "dev-packerimage"
name: "dev-4"
reservedBy: "PackerImages"
- description: "fifh entry for packer image builder dev"
labels: "dev-packerimage"
name: "dev-5"
reservedBy: "PackerImages"
- description: "first entry for packer image builder staging"
labels: "staging-packerimage"
name: "staging-1"
reservedBy: "PackerImages"
- description: "first entry for packer image builder prod"
labels: "prod-packerimage"
name: "prod-1"
reservedBy: "PackerImages"
defaultFolderConfiguration:
# Keep healthMetrics an empty list to ensure weather is disabled
healthMetrics: []
customHeaderConfiguration:
enabled: false
logo: "default"
jenkins:
quietPeriod: 0 # No need to wait between build scheduling
disabledAdministrativeMonitors:
- "jenkins.security.QueueItemAuthenticatorMonitor"
datadog: |
unclassified:
datadogGlobalConfiguration:
ciInstanceName: "infra.ci.jenkins.io"
collectBuildLogs: false
# Send events on configuration changes to jobs or changes to jenkins. These events include changes by the system which may be frequent and redundant.
emitConfigChangeEvents: true
emitSecurityEvents: true
emitSystemEvents: true
enableCiVisibility: true
hostname: "infra.ci.jenkins.io"
# A list of tags to apply globally to all submissions.
globalTags: "controller:infra.ci.jenkins.io"
# Refresh Dogstatsd Client when your agent IP changes
refreshDogstatsdClient: true
reportWith: "DSD"
retryLogs: true
targetApiURL: "https://api.datadoghq.com/api/"
targetHost: "datadog.datadog.svc.cluster.local"
targetLogIntakeURL: "https://http-intake.logs.datadoghq.com/v1/input/"
targetPort: 8125
targetTraceCollectionPort: 8126
tools-config: |
tool:
jdk:
installations:
- name: "jdk8"
properties:
- installSource:
installers:
- zip:
label: "linux && amd64"
subdir: "jdk8u345-b01"
url: "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_x64_linux_hotspot_8u345b01.tar.gz"
- zip:
label: "windows"
subdir: "jdk8u345-b01"
url: "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_x64_windows_hotspot_8u345b01.zip"
- zip:
label: "linux && arm64"
subdir: "jdk8u345-b01"
url: "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_aarch64_linux_hotspot_8u345b01.tar.gz"
- name: "jdk11"
properties:
- installSource:
installers:
- zip:
label: "linux && amd64"
subdir: "jdk-11.0.16.1+1"
url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.16.1+1/OpenJDK11U-jdk_x64_linux_hotspot_11.0.16.1_1.tar.gz"
- zip:
label: "windows"
subdir: "jdk-11.0.16.1+1"
url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.16.1+1/OpenJDK11U-jdk_x64_windows_hotspot_11.0.16.1_1.zip"
- zip:
label: "linux && arm64"
subdir: "jdk-11.0.16.1+1"
url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.16.1+1/OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.16.1_1.tar.gz"
- name: "jdk17"
properties:
- installSource:
installers:
- zip:
label: "linux && amd64"
subdir: "jdk-17.0.4.1+1"
url: "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1+1/OpenJDK17U-jdk_x64_linux_hotspot_17.0.4.1_1.tar.gz"
- zip:
label: "windows"
subdir: "jdk-17.0.4.1+1"
url: "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1+1/OpenJDK17U-jdk_x64_windows_hotspot_17.0.4.1_1.zip"
- zip:
label: "linux && arm64"
subdir: "jdk-17.0.4.1+1"
url: "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1+1/OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.4.1_1.tar.gz"
maven:
installations:
- name: "mvn"
properties:
- installSource:
installers:
- maven:
id: "3.9.2"
sidecars:
configAutoReload:
env:
# https://github.com/kiwigrid/k8s-sidecar#configuration-environment-variables
- name: METHOD
# Polling mode (instead of watching kube API)
value: "SLEEP"
# https://github.com/kiwigrid/k8s-sidecar#configuration-environment-variables
- name: SLEEP_TIME
# Time in seconds between two polls
value: "60"
installPlugins: false
ingress:
enabled: true
hostName: infra.ci.jenkins.io
annotations:
"cert-manager.io/cluster-issuer": "letsencrypt-prod"
"nginx.ingress.kubernetes.io/proxy-body-size": "500m"
ingressClassName: private-nginx
tls:
- hosts:
- infra.ci.jenkins.io
secretName: infra.ci.jenkins.io-cert
secondaryingress:
enabled: true
paths:
- /github-webhook
hostName: infra-webhooks.ci.jenkins.io
ingressClassName: public-nginx
annotations:
"cert-manager.io/cluster-issuer": "letsencrypt-prod"
"nginx.ingress.kubernetes.io/ssl-redirect": "true"
tls:
- hosts:
- infra-webhooks.ci.jenkins.io
secretName: infra-webhooks.ci.jenkins.io-cert