From c8f61c866205f7ccae9e073fc07e402d675a7752 Mon Sep 17 00:00:00 2001 From: kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> Date: Mon, 14 Oct 2024 23:39:55 -0500 Subject: [PATCH] Don't require OIDC initialization for noop (#46921) ref. https://github.com/spack/spack-infrastructure/pull/957 --- lib/spack/spack/schema/ci.py | 2 +- share/spack/gitlab/cloud_pipelines/configs/ci.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/spack/spack/schema/ci.py b/lib/spack/spack/schema/ci.py index 3706415e303..e616058b998 100644 --- a/lib/spack/spack/schema/ci.py +++ b/lib/spack/spack/schema/ci.py @@ -47,7 +47,7 @@ "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 a3c562cae9e..5ad2b7cd989 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"