summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathon Anderson <17242663+blue42u@users.noreply.github.com>2023-04-04 10:03:58 -0500
committerGitHub <noreply@github.com>2023-04-04 10:03:58 -0500
commit78f5b2a2c6a0f82f1a387b9efed9846bd4fb6e72 (patch)
treed9fb685fe017eaf702cc8dae5e93d17bd73466c8 /lib
parentd0cd340628dbd86e01332ec0a0d7cd02bab98841 (diff)
downloadspack-78f5b2a2c6a0f82f1a387b9efed9846bd4fb6e72.tar.gz
spack-78f5b2a2c6a0f82f1a387b9efed9846bd4fb6e72.tar.bz2
spack-78f5b2a2c6a0f82f1a387b9efed9846bd4fb6e72.tar.xz
spack-78f5b2a2c6a0f82f1a387b9efed9846bd4fb6e72.zip
Add workflow:rules:always to spack ci output (#36011)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/ci.py3
1 files changed, 3 insertions, 0 deletions
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")