From 753cebdb52e12d17948f8a41b8da68e1ddf572aa Mon Sep 17 00:00:00 2001
From: Michael Blaschek <michael.blaschek@univie.ac.at>
Date: Tue, 18 Jun 2024 09:48:51 +0000
Subject: [PATCH] Update .gitlab-ci.yml file

Former-commit-id: f8556da0284e3348e63db2606f8d0adeaff449ff
---
 .gitlab-ci.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f114187b..b346756c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,10 +8,8 @@ default:
   tags:
     - podman
   cache:
-    key: testdata
     paths:
-      - ./tests/testdata
-    policy: pull-push
+      - testdata/
 
 alma8-build:
   image: harbor.wolke.img.univie.ac.at/flexpart/almalinux8:latest
@@ -53,8 +51,8 @@ setup:
   stage: build
   image: harbor.wolke.img.univie.ac.at/flexpart/rockylinux9:latest
   script:
-    - mkdir ./tests/testdata
-    - wget -r -nH --cut-dirs=2 --no-parent --reject="index.html*" -P ./tests/testdata "https://webdata.wolke.img.univie.ac.at/flexpart/"
+    - mkdir testdata/
+    - wget -r -nH --cut-dirs=2 --no-parent --reject="index.html*" -P testdata/ "https://webdata.wolke.img.univie.ac.at/flexpart/"
 
 options-test:
   # image: harbor.wolke.img.univie.ac.at/flexpart/almalinux8:latest
@@ -65,6 +63,7 @@ options-test:
     - rocky9-build
   script:
     - ulimit -s unlimited
+    - cd tests && ln -s ../testdata/ testdata && cd ..
     - bash ./tests/run_default_options_test.sh
   cache:
     key: testdata
-- 
GitLab