Commit 3c738358 authored by Daniel Scheffler's avatar Daniel Scheffler

Added conda update to test_py_tools_ds_install.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent f31ebb7a
Pipeline #5525 passed with stage
in 4 minutes and 40 seconds
......@@ -58,6 +58,10 @@ test_py_tools_ds_install:
- conda create -y -q --name py_tools_ds_testinstall python=3
- source activate py_tools_ds_testinstall
# update conda and python
- conda update -n base -c defaults conda
# - conda update -c conda-forge python
# avoid package incompatibilities due to usage of wrong channels
- conda config --set channel_priority strict # otherwise gdal or libgdal may be installed from defaults channel
......@@ -131,7 +135,7 @@ deploy_anaconda:
script:
- source /root/miniconda3/bin/activate
- source activate ci_env
- conda install -y -q conda-build anaconda-client
- conda install -y -q conda-build conda-build-all anaconda-client
- yum install -y patch # https://stackoverflow.com/questions/40392161/building-conda-skeleton-from-pypi-package-throws-error
# - conda skeleton pypi py_tools_ds --output-dir public/conda.recipe/py_tools_ds # create recipe
- conda config --set anaconda_upload yes # enable auto-upload to anaconda
......
......@@ -13,9 +13,6 @@ dependencies:
- rasterio
- pyproj
- geopandas
- conda-build # for conda deployment
- conda-build-all
- anaconda-client # for conda upload
- pip:
- sphinx-argparse
- six
......
......@@ -6,7 +6,9 @@ RUN yum update -y && \
COPY *.yml /root/
# update the ci_env environment (that already contains all packages installed via 'docker_pyenvs' repo)
# -> also include packages for conda deployment and upload
RUN /bin/bash -i -c "\
source /root/miniconda3/bin/activate ; \
source activate ci_env; \
conda env update -n ci_env -f /root/environment_py_tools_ds.yml"
conda env update -n ci_env -f /root/environment_py_tools_ds.yml ; \
conda install -c conda-forge conda-build conda-build-all anaconda-client"
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