summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorScott Wittenburg <scott.wittenburg@kitware.com>2023-04-14 09:03:12 -0600
committerGitHub <noreply@github.com>2023-04-14 09:03:12 -0600
commitbfa94c57812530c8d0c46d14905371879307f571 (patch)
tree22ba560a58806bdaa5ac3e8b6ec975fc81b12f03 /share
parent3710774d0271abb143c23abf8c6c0d6f4a7f17a9 (diff)
downloadspack-bfa94c57812530c8d0c46d14905371879307f571.tar.gz
spack-bfa94c57812530c8d0c46d14905371879307f571.tar.bz2
spack-bfa94c57812530c8d0c46d14905371879307f571.tar.xz
spack-bfa94c57812530c8d0c46d14905371879307f571.zip
gitlab ci: Better tagging of "service" jobs (#36846)
- Tag non-rebuild jobs to target a cheaper (and more highly available) subset of runners. - Add missing resource requests to these jobs as well.
Diffstat (limited to 'share')
-rw-r--r--share/spack/gitlab/cloud_pipelines/configs/ci.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
index 8128dcd205..bf9df5878d 100644
--- a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
+++ b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
@@ -36,6 +36,27 @@ ci:
- aws s3 sync --exclude "*" --include "*spec.json.sig*" /tmp ${SPACK_REMOTE_MIRROR_OVERRIDE}/build_cache
- aws s3 cp /tmp/public_keys ${SPACK_REMOTE_MIRROR_OVERRIDE}/build_cache/_pgp --recursive --exclude "*" --include "*.pub"
+ - reindex-job:
+ tags: ["service"]
+ variables:
+ CI_JOB_SIZE: "medium"
+ KUBERNETES_CPU_REQUEST: "4000m"
+ KUBERNETES_MEMORY_REQUEST: "16G"
+
+ - cleanup-job:
+ tags: ["service"]
+ variables:
+ CI_JOB_SIZE: "small"
+ KUBERNETES_CPU_REQUEST: "500m"
+ KUBERNETES_MEMORY_REQUEST: "500M"
+
+ - noop-job:
+ tags: ["service"]
+ variables:
+ CI_JOB_SIZE: "small"
+ KUBERNETES_CPU_REQUEST: "500m"
+ KUBERNETES_MEMORY_REQUEST: "500M"
+
- any-job:
image: "ghcr.io/spack/e4s-ubuntu-18.04:v2021-10-18"
tags: ["spack"]