summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com>2024-10-14 23:39:55 -0500
committerGitHub <noreply@github.com>2024-10-14 23:39:55 -0500
commitc8f61c866205f7ccae9e073fc07e402d675a7752 (patch)
tree39fc0b5b1589d3dcf3e66255c9c0c4d895db5cee
parent507965cbc695efe8ee8a61c5a58ce5d063996b29 (diff)
downloadspack-c8f61c866205f7ccae9e073fc07e402d675a7752.tar.gz
spack-c8f61c866205f7ccae9e073fc07e402d675a7752.tar.bz2
spack-c8f61c866205f7ccae9e073fc07e402d675a7752.tar.xz
spack-c8f61c866205f7ccae9e073fc07e402d675a7752.zip
Don't require OIDC initialization for noop (#46921)
ref. https://github.com/spack/spack-infrastructure/pull/957
-rw-r--r--lib/spack/spack/schema/ci.py2
-rw-r--r--share/spack/gitlab/cloud_pipelines/configs/ci.yaml1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/schema/ci.py b/lib/spack/spack/schema/ci.py
index 3706415e30..e616058b99 100644
--- a/lib/spack/spack/schema/ci.py
+++ b/lib/spack/spack/schema/ci.py
@@ -47,7 +47,7 @@ attributes_schema = {
"tags": {"type": "array", "items": {"type": "string"}},
"variables": {
"type": "object",
- "patternProperties": {r"[\w\d\-_\.]+": {"type": "string"}},
+ "patternProperties": {r"[\w\d\-_\.]+": {"type": ["string", "number"]}},
},
"before_script": script_schema,
"script": script_schema,
diff --git a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
index a3c562cae9..5ad2b7cd98 100644
--- a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
+++ b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
@@ -108,6 +108,7 @@ ci:
tags: ["service"]
image: busybox:latest
variables:
+ CI_OIDC_REQUIRED: 0
GIT_STRATEGY: "none"
CI_JOB_SIZE: "small"
KUBERNETES_CPU_REQUEST: "500m"