summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorCaetano Melone <cmelone@users.noreply.github.com>2024-10-15 14:49:45 -0300
committerGitHub <noreply@github.com>2024-10-15 12:49:45 -0500
commit12599921591c58b868062ddcc5be5bea1b4c4454 (patch)
tree43637ba7474657dfdd2a9f351d64142670afa4c6 /share
parent0477875667e14dedddf59a9b3f5c379879ee2e50 (diff)
downloadspack-12599921591c58b868062ddcc5be5bea1b4c4454.tar.gz
spack-12599921591c58b868062ddcc5be5bea1b4c4454.tar.bz2
spack-12599921591c58b868062ddcc5be5bea1b4c4454.tar.xz
spack-12599921591c58b868062ddcc5be5bea1b4c4454.zip
Reduce noop job resource requests (#46920)
`no-spec-to-rebuild` jobs use far less resources than they request. For example, [this](https://gitlab.spack.io/spack/spack/-/jobs/12944487) job [used](https://prometheus.spack.io/api/v1/query_range?query=container_memory_working_set_bytes{pod=%22runner-dcsgp53u-project-2-concurrent-3-0ubclrr1%22}&start=1728655743&end=1728656543&step=1s) around 3MB. While this won't lead to any crazy cost savings, k8s requests effectively block other jobs from using the resources, so reducing this to a reasonable number is important.
Diffstat (limited to 'share')
-rw-r--r--share/spack/gitlab/cloud_pipelines/configs/ci.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
index 5ad2b7cd98..10eb7459a7 100644
--- a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
+++ b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
@@ -111,8 +111,8 @@ ci:
CI_OIDC_REQUIRED: 0
GIT_STRATEGY: "none"
CI_JOB_SIZE: "small"
- KUBERNETES_CPU_REQUEST: "500m"
- KUBERNETES_MEMORY_REQUEST: "500M"
+ KUBERNETES_CPU_REQUEST: "100m"
+ KUBERNETES_MEMORY_REQUEST: "5M"
before_script:: []
after_script:: []