Commit 56e5ceef authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Moved sicor cache file download from build_testsuite_image.sh to new...


Moved sicor cache file download from build_testsuite_image.sh to new before_script.sh and adjusted 'make gitlab_CI_docker' accordingly.
Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 66224aeb
Pipeline #18019 passed with stages
in 51 minutes and 35 seconds
......@@ -105,4 +105,5 @@ install: clean ## install the package to the active Python's site-packages
python setup.py install
gitlab_CI_docker: ## Build a docker image for CI use within gitlab
cd ./tests/CI_docker/; bash ./before_script.sh
cd ./tests/CI_docker/; bash ./build_testsuite_image.sh
#!/usr/bin/env bash
# download sicor cache (fastens SICOR CI tests a lot, but cache needs to be updated manually using a local sicor repo:
# 1. clone a fresh copy of sicor or delete sicor/sicor/aerosol_0_ch4_34d3778719cc87188787de09bb8f870d16050078.pkl.zip
# 2. run a sicor test including sicor_ac or enmap_ac (recreates cache file) -> upload newly created cache file
echo 'Downloading SICOR cache files...'
wget https://nextcloud.gfz-potsdam.de/s/L8deSEMQG8yTnHM/download -P ./context/
wget https://nextcloud.gfz-potsdam.de/s/9iQtNc8GafP4Ai2/download -P ./context/
......@@ -5,11 +5,6 @@ dockerfile="gms_preprocessing_ci.docker"
tag="gms_preprocessing_ci:0.18.5"
gitlab_runner="gms_preprocessing_gitlab_CI_runner"
# download sicor cache (fastens SICOR CI tests a lot, but cache needs to be updated manually using a local sicor repo:
# 1. clone a fresh copy of sicor or delete sicor/sicor/aerosol_0_ch4_34d3778719cc87188787de09bb8f870d16050078.pkl.zip
# 2. run a sicor test including sicor_ac or enmap_ac (recreates cache file) -> upload newly created cache file
# wget http://ouo.io/uCQxof -P ./context/
echo "#### Build runner docker image"
docker rmi ${tag}
docker build ${context_dir} \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment