summaryrefslogtreecommitdiffstats
path: root/jenkins-config
diff options
context:
space:
mode:
authorVanessa Valderrama <vvalderrama@linuxfoundation.org>2024-04-17 16:14:56 +0000
committerGerrit Code Review <gerrit@fd.io>2024-04-17 16:14:56 +0000
commit46ef3a65ffcb6e56ec3d68d769e72e2d0c4f59f0 (patch)
tree12aac455e2072e0f0a825c3f5f75561a914caa85 /jenkins-config
parent895750debc1a6e4687a90258330ffe0980be54d8 (diff)
parentc7c3182e9ac50a9c690a83bcc0e7d0f89a33c065 (diff)
Merge "Update hst CPU/MemoryMB cloud config to limit jobs to 1 per server"HEADmaster
Diffstat (limited to 'jenkins-config')
-rw-r--r--jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml5
-rw-r--r--jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml5
2 files changed, 6 insertions, 4 deletions
diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml
index 0e05b80e..817f0298 100644
--- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml
+++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml
@@ -17,6 +17,7 @@ Job:
- /tmp/ccache.ubuntu2204:/scratch/ccache
- /scratch/nomad:/scratch/nomad:ro
Resources:
- # Limit scheduling of only 1 job per server by specifying > 3/4 of available CPU
- CPU: 400000
+ # Limit scheduling of only 1 job per server by specifying max cpushares and more than half memory
+ CPU: 262144
+ MemoryMB: 128000
diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml
index a5172e38..b74f5f54 100644
--- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml
+++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml
@@ -30,5 +30,6 @@ Job:
Artifacts:
- GetterSource: https://jenkins.fd.io/sandbox/jnlpJars/slave.jar
Resources:
- # Limit scheduling of only 1 job per server by specifying > 3/4 of available CPU
- CPU: 400000
+ # Limit scheduling of only 1 job per server by specifying max cpushares and more than half memory
+ CPU: 262144
+ MemoryMB: 128000