From 42adf621e4d482a08d5399765c7d33a6b6c62a7b Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Thu, 24 Nov 2022 21:29:09 +0000
Subject: [PATCH] fix: add required mappings for gitlab-ci section in
 spack.yaml

---
 spack.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/spack.yaml b/spack.yaml
index 9fac69268..0827b1f78 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -76,5 +76,14 @@ spack:
     script:
       - pushd ${SPACK_CONCRETE_ENV_DIR} && spack env activate --without-view . && popd
       - spack -d ci rebuild
+    mappings:
+      - match:
+          - os=ubuntu20.04
+        runner-attributes:
+          image: spack/ubuntu-focal
+      - match:
+          - os=ubuntu22.04
+        runner-attributes:
+          image: spack/ubuntu-jammy
     enable-artifacts-buildcache: False
     rebuild-index: True
-- 
GitLab