Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
arosics
Commits
021961e8
Commit
021961e8
authored
Sep 07, 2021
by
Daniel Scheffler
Browse files
CI now uses Mambaforge.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
d4effbec
Pipeline
#27259
failed with stages
in 37 minutes and 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
021961e8
...
...
@@ -11,7 +11,7 @@ stages:
test_arosics
:
stage
:
test
script
:
-
source /root/m
iniconda3
/bin/activate ci_env
-
source /root/m
ambaforge
/bin/activate ci_env
# update py_tools_ds and geoarray
-
pip install -U py_tools_ds -q
...
...
@@ -21,8 +21,6 @@ test_arosics:
-
make nosetests
# create the docs
-
pip install -U sphinx_rtd_theme -q
# TODO remove as soon as CI runner is rebuilt
-
pip install -U sphinx-autodoc-typehints -q
# TODO remove as soon as CI runner is rebuilt
-
make docs
artifacts
:
paths
:
...
...
@@ -36,7 +34,7 @@ test_arosics:
test_styles
:
stage
:
test
script
:
-
source /root/m
iniconda3
/bin/activate ci_env
-
source /root/m
ambaforge
/bin/activate ci_env
-
make lint
artifacts
:
paths
:
...
...
@@ -49,7 +47,7 @@ test_styles:
test_urls
:
stage
:
test
script
:
-
source /root/m
iniconda3
/bin/activate ci_env
-
source /root/m
ambaforge
/bin/activate ci_env
-
pip install -U urlchecker
-
make urlcheck
when
:
always
...
...
@@ -58,8 +56,7 @@ test_urls:
test_arosics_install
:
stage
:
test
script
:
-
source /root/miniconda3/bin/activate
-
conda install -c conda-forge mamba
-
source /root/mambaforge/bin/activate
-
mamba update -n base -c conda-forge --all
# create arosics environment from environment_arosics.yml
...
...
@@ -121,7 +118,7 @@ deploy_pypi:
dependencies
:
-
test_arosics
script
:
-
source /root/m
iniconda3
/bin/activate ci_env
-
source /root/m
ambaforge
/bin/activate ci_env
-
pip install -U twine
-
python setup.py sdist
-
twine upload dist/*
# requires creds as environment variables
...
...
tests/CI_docker/context/arosics_ci.docker
View file @
021961e8
FROM
ci_base_centos:0.
1
FROM
ci_base_centos:0.
2
# copy some needed stuff to /root
COPY
*.yml /root/
# update the ci_env environment (that already contains all packages installed via 'docker_pyenvs' repo)
RUN
/bin/bash
-i
-c
"
\
source /root/m
iniconda3
/bin/activate ;
\
cond
a update -n base -c conda-forge
conda
;
\
source /root/m
ambaforge
/bin/activate ;
\
mamb
a update -n base -c conda-forge
--all
;
\
conda activate ci_env;
\
cond
a env update -n ci_env -f /root/environment_arosics.yml"
mamb
a env update -n ci_env -f /root/environment_arosics.yml"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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