From 6947d67b949b7eb175f432da823597137ed3ea6f Mon Sep 17 00:00:00 2001
From: Nicolas Richart <nicolas.richart@epfl.ch>
Date: Fri, 31 May 2024 12:48:19 +0200
Subject: [PATCH] Variable not set properly

---
 .gitlab-ci.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46a06fd..9a10ee5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,8 @@ variables:
   tags:
     - ${environment}
     - stack
+  variables:
+    environment: ${environment}
 
 # ------------------------------------------------------------------------------
 # ------------------------------------------------------------------------------
@@ -90,7 +92,7 @@ spack:install_compilers:
       fi
   artifacts:
     paths:
-      - ${stack}/environement
+      - ${stack}/environment
     reports:
       junit: spack-install-*.xml
   needs:
@@ -110,7 +112,7 @@ spack:concretize:
     - job: spack:install_compilers
   artifacts:
     paths:
-      - ${stack}/environement
+      - ${stack}/environment
   timeout: 2h
 
 spack:install:
@@ -138,7 +140,7 @@ spack:install:
     - job: spack:concretize
   artifacts:
     paths:
-      - ${stack}/environement
+      - ${stack}//environment
     reports:
       junit: spack-install.xml
   timeout: 10h
-- 
GitLab