Skip to content
Snippets Groups Projects
Commit a3f088a4 authored by Michael Blaschek's avatar Michael Blaschek :bicyclist:
Browse files

updated download and caching

Former-commit-id: cc791c04
parent b3b89308
Branches
No related tags found
No related merge requests found
...@@ -9,6 +9,8 @@ default: ...@@ -9,6 +9,8 @@ default:
tags: tags:
- podman - podman
cache:
key: testdata
alma8-build: alma8-build:
image: harbor.wolke.img.univie.ac.at/flexpart/almalinux8:latest image: harbor.wolke.img.univie.ac.at/flexpart/almalinux8:latest
...@@ -28,7 +30,9 @@ alma8-build: ...@@ -28,7 +30,9 @@ alma8-build:
expire_in: 1d expire_in: 1d
rocky9-build: rocky9-build:
image: harbor.wolke.img.univie.ac.at/flexpart/rockylinux9:latest image:
name: harbor.wolke.img.univie.ac.at/flexpart/rockylinux9:latest
pull_policy: always
stage: build stage: build
script: script:
...@@ -44,23 +48,14 @@ rocky9-build: ...@@ -44,23 +48,14 @@ rocky9-build:
- ./src/FLEXPART_ETA - ./src/FLEXPART_ETA
expire_in: 1d expire_in: 1d
.download:
cache:
paths:
- ./tests/testdata
policy: pull
setup: setup:
stage: setup stage: setup
image: harbor.wolke.img.univie.ac.at/flexpart/rockylinux9:latest image: harbor.wolke.img.univie.ac.at/flexpart/rockylinux9:latest
script: script:
- mkdir ./tests/testdata && cd ./tests/testdata - mkdir ./tests/testdata
- curl -O "https://webdata.wolke.img.univie.ac.at/flexpart/*" - wget -r -nH --cut-dirs=2 --no-parent --reject="index.html*" -P ./tests/testdata "https://webdata.wolke.img.univie.ac.at/flexpart/"
extends: .download
cache: cache:
policy: pull-push key: testdata
artifacts:
expire_in: never
paths: paths:
- ./tests/testdata - ./tests/testdata
...@@ -71,8 +66,7 @@ options-test: ...@@ -71,8 +66,7 @@ options-test:
needs: needs:
- alma8-build - alma8-build
- rocky9-build - rocky9-build
- setup
extends: .download
script: script:
- ulimit -s unlimited - ulimit -s unlimited
- bash ./tests/run_default_options_test.sh - bash ./tests/run_default_options_test.sh
...@@ -93,6 +87,7 @@ nests-test: ...@@ -93,6 +87,7 @@ nests-test:
needs: needs:
- alma8-build - alma8-build
- rocky9-build - rocky9-build
- setup
script: script:
- ulimit -s unlimited - ulimit -s unlimited
...@@ -110,6 +105,7 @@ openmp-simulation: ...@@ -110,6 +105,7 @@ openmp-simulation:
needs: needs:
- alma8-build - alma8-build
- rocky9-build - rocky9-build
- setup
script: script:
- ulimit -s unlimited - ulimit -s unlimited
...@@ -132,6 +128,7 @@ etex-simulation: ...@@ -132,6 +128,7 @@ etex-simulation:
needs: needs:
- alma8-build - alma8-build
- rocky9-build - rocky9-build
- setup
script: script:
- ulimit -s unlimited - ulimit -s unlimited
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment