Skip to content

Commit

Permalink
feat: move openpass BMW Group resource pack to automotive.scm
Browse files Browse the repository at this point in the history
  • Loading branch information
heurtematte authored and fredg02 committed Oct 9, 2024
1 parent ae66632 commit 2d6e412
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 37 deletions.
2 changes: 1 addition & 1 deletion instances/automotive.openpass/config.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
project+: {
fullName: "automotive.openpass",
displayName: "Eclipse openPASS",
resourcePacks: 5
resourcePacks: 3
},
jenkins+: {
plugins+: [
Expand Down
12 changes: 6 additions & 6 deletions instances/automotive.openpass/target/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@
},
"jenkins": {
"agentConnectionTimeout": 180,
"maxConcurrency": 10,
"maxConcurrency": 6,
"permissions": [
{
"user": {
Expand Down Expand Up @@ -819,12 +819,12 @@
},
"resources": {
"cpu": {
"limit": "2900m",
"request": "1450m"
"limit": "2000m",
"request": "850m"
},
"memory": {
"limit": "3584Mi",
"request": "3584Mi"
"limit": "2560Mi",
"request": "2560Mi"
}
},
"stsName": "openpass"
Expand Down Expand Up @@ -881,7 +881,7 @@
"project": {
"displayName": "Eclipse openPASS",
"fullName": "automotive.openpass",
"resourcePacks": 5,
"resourcePacks": 3,
"shortName": "openpass",
"unixGroupName": "automotive.openpass"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jenkins:
clouds:
- kubernetes:
name: "kubernetes"
containerCapStr: "10"
containerCapStr: "6"
jenkinsUrl: "http://jenkins-ui.openpass.svc.cluster.local/openpass"
jenkinsTunnel: "jenkins-discovery.openpass.svc.cluster.local:50000"
maxRequestsPerHostStr: "32"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ data:
clouds:
- kubernetes:
name: "kubernetes"
containerCapStr: "10"
containerCapStr: "6"
jenkinsUrl: "http://jenkins-ui.openpass.svc.cluster.local/openpass"
jenkinsTunnel: "jenkins-discovery.openpass.svc.cluster.local:50000"
maxRequestsPerHostStr: "32"
Expand Down
4 changes: 2 additions & 2 deletions instances/automotive.openpass/target/k8s/limit-range.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"limits": [
{
"max": {
"cpu": "8300m",
"cpu": "6300m",
"memory": "16896Mi"
},
"min": {
Expand All @@ -32,7 +32,7 @@
"memory": "512Mi"
},
"max": {
"cpu": "8000m",
"cpu": "6000m",
"memory": "16384Mi"
},
"min": {
Expand Down
10 changes: 5 additions & 5 deletions instances/automotive.openpass/target/k8s/resource-quotas.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
},
"spec": {
"hard": {
"limits.cpu": "25900m",
"limits.memory": "49664Mi",
"pods": 11,
"requests.cpu": "13450m",
"requests.memory": "49664Mi"
"limits.cpu": "15800m",
"limits.memory": "30208Mi",
"pods": 7,
"requests.cpu": "8050m",
"requests.memory": "30208Mi"
}
}
}
6 changes: 3 additions & 3 deletions instances/automotive.openpass/target/k8s/statefulset.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@
},
"resources": {
"limits": {
"cpu": "2900m",
"memory": "3584Mi"
"cpu": "2000m",
"memory": "2560Mi"
},
"requests": {
"cpu": "1450m"
"cpu": "850m"
}
},
"securityContext": {
Expand Down
1 change: 1 addition & 0 deletions instances/automotive.scm/config.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
project+: {
fullName: "automotive.scm",
displayName: "Eclipse SCM",
resourcePacks: 3
},
seLinuxLevel: "s0:c38,c22",
}
10 changes: 5 additions & 5 deletions instances/automotive.scm/target/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@
},
"jenkins": {
"agentConnectionTimeout": 180,
"maxConcurrency": 2,
"maxConcurrency": 6,
"permissions": [
{
"user": {
Expand Down Expand Up @@ -816,11 +816,11 @@
"resources": {
"cpu": {
"limit": "2000m",
"request": "250m"
"request": "850m"
},
"memory": {
"limit": "1536Mi",
"request": "1536Mi"
"limit": "2560Mi",
"request": "2560Mi"
}
},
"stsName": "scm"
Expand Down Expand Up @@ -877,7 +877,7 @@
"project": {
"displayName": "Eclipse SCM",
"fullName": "automotive.scm",
"resourcePacks": 1,
"resourcePacks": 3,
"shortName": "scm",
"unixGroupName": "automotive.scm"
},
Expand Down
2 changes: 1 addition & 1 deletion instances/automotive.scm/target/jenkins/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jenkins:
clouds:
- kubernetes:
name: "kubernetes"
containerCapStr: "2"
containerCapStr: "6"
jenkinsUrl: "http://jenkins-ui.scm.svc.cluster.local/scm"
jenkinsTunnel: "jenkins-discovery.scm.svc.cluster.local:50000"
maxRequestsPerHostStr: "32"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ data:
clouds:
- kubernetes:
name: "kubernetes"
containerCapStr: "2"
containerCapStr: "6"
jenkinsUrl: "http://jenkins-ui.scm.svc.cluster.local/scm"
jenkinsTunnel: "jenkins-discovery.scm.svc.cluster.local:50000"
maxRequestsPerHostStr: "32"
Expand Down
8 changes: 4 additions & 4 deletions instances/automotive.scm/target/k8s/limit-range.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"limits": [
{
"max": {
"cpu": "2300m",
"memory": "8704Mi"
"cpu": "6300m",
"memory": "16896Mi"
},
"min": {
"cpu": "200m",
Expand All @@ -32,8 +32,8 @@
"memory": "512Mi"
},
"max": {
"cpu": "2000m",
"memory": "8192Mi"
"cpu": "6000m",
"memory": "16384Mi"
},
"min": {
"cpu": "100m",
Expand Down
10 changes: 5 additions & 5 deletions instances/automotive.scm/target/k8s/resource-quotas.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
},
"spec": {
"hard": {
"limits.cpu": "6600m",
"limits.memory": "10752Mi",
"pods": 3,
"requests.cpu": "2650m",
"requests.memory": "10752Mi"
"limits.cpu": "15800m",
"limits.memory": "30208Mi",
"pods": 7,
"requests.cpu": "8050m",
"requests.memory": "30208Mi"
}
}
}
4 changes: 2 additions & 2 deletions instances/automotive.scm/target/k8s/statefulset.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@
"resources": {
"limits": {
"cpu": "2000m",
"memory": "1536Mi"
"memory": "2560Mi"
},
"requests": {
"cpu": "250m"
"cpu": "850m"
}
},
"securityContext": {
Expand Down

0 comments on commit 2d6e412

Please sign in to comment.