From 477ec6cddf8793c888d57348d214dd2665f86ca9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de>
Date: Tue, 16 May 2023 15:31:36 +0200
Subject: [PATCH] Replace artifact approach with cache.

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a45206b..b9b4997 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,36 +4,28 @@ stages:
     - run_real
     - postprocess
 
+cache:
+  paths:
+    - autosubmit/
+    - pyvenv/
+
 stage_0:
     stage: build
     script: ./examples/01_real-from-ideal.sh 0
     tags:
             - slurm.meteo.physik.lmu.de
-    artifacts:
-      paths:
-        - autosubmit
-        - venv
 
 stage_1:
     stage: run_ideal
     script: ./examples/01_real-from-ideal.sh 1
     tags:
             - slurm.meteo.physik.lmu.de
-    artifacts:
-      paths:
-        - autosubmit
-        - venv
-
 
 stage_2:
     stage: run_real
     script: ./examples/01_real-from-ideal.sh 2
     tags:
             - slurm.meteo.physik.lmu.de
-    artifacts:
-      paths:
-        - autosubmit
-        - venv
 
 stage_3:
     stage: postprocess
-- 
GitLab