Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
geomultisens
gms_preprocessing
Commits
b8d364c0
Commit
b8d364c0
authored
Sep 08, 2021
by
Daniel Scheffler
Browse files
Fixed slow conda environment creation.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
2acb2f2f
Pipeline
#27340
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/CI_docker/context/gms_preprocessing_ci.docker
View file @
b8d364c0
...
...
@@ -5,11 +5,13 @@ COPY *.yml /root/
COPY
*.sh /root/
# update the ci_env environment (that already contains all packages installed via 'docker_pyenvs' repo)
# NOTE: The pkgs directory (cache) is deleted because otherwise conda env create takes hours within a docker container.
RUN
/bin/bash
-i
-c
"
\
source /root/mambaforge/bin/activate;
\
mamba update -n base -c conda-forge --all;
\
conda activate ci_env;
\
mamba env update -n ci_env -f /root/environment_gms_preprocessing.yml"
mamba env update -n ci_env -f /root/environment_gms_preprocessing.yml;
\
rm -rf /root/mambaforge/pkgs"
# download SICOR atmospheric lookup tables and copy already created cache files to SICOR root dir to speed up SICOR in CI jobs
RUN
mkdir
/tmp/sicor_cache
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment