From 78f5b2a2c6a0f82f1a387b9efed9846bd4fb6e72 Mon Sep 17 00:00:00 2001 From: Jonathon Anderson <17242663+blue42u@users.noreply.github.com> Date: Tue, 4 Apr 2023 10:03:58 -0500 Subject: Add workflow:rules:always to spack ci output (#36011) --- lib/spack/spack/ci.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/spack/spack/ci.py b/lib/spack/spack/ci.py index 68577d82bd..c8aa29d0bd 100644 --- a/lib/spack/spack/ci.py +++ b/lib/spack/spack/ci.py @@ -1445,6 +1445,9 @@ def generate_gitlab_ci_yaml( if spack_stack_name: output_object["variables"]["SPACK_CI_STACK_NAME"] = spack_stack_name + # Ensure the child pipeline always runs + output_object["workflow"] = {"rules": [{"when": "always"}]} + if spack_buildcache_copy: # Write out the file describing specs that should be copied copy_specs_dir = os.path.join(pipeline_artifacts_dir, "specs_to_copy") -- cgit v1.2.3-60-g2f50