Skip to content
Snippets Groups Projects

Fix CI build issues

Merged Pascal Baumann requested to merge hotfix/CI_error into master
2 files
+ 13
12
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
3
@@ -21,7 +21,7 @@ FROM ${RENKU_BASE_IMAGE}
COPY requirements.txt environment.yml /tmp/
RUN conda env update -q -f /tmp/environment.yml && \
/opt/conda/bin/pip install -r /tmp/requirements.txt && \
conda clean -y --all && \
conda clean -y --all && conda list && \
conda env export -n "root"
# RENKU_VERSION determines the version of the renku CLI
@@ -29,6 +29,7 @@ RUN conda env update -q -f /tmp/environment.yml && \
# visit https://pypi.org/project/renku/#history.
ARG RENKU_VERSION=0.16.1.post1
########################################################
# Do not edit this section and do not add anything below
@@ -37,7 +38,7 @@ RUN if [ -n "$RENKU_VERSION" ] ; then \
source .renku/venv/bin/activate ; \
currentversion=$(renku --version) ; \
if [ "$RENKU_VERSION" != "$currentversion" ] ; then \
pip uninstall renku ; \
pip uninstall -y renku ; \
gitversion=$(echo "$RENKU_VERSION" | sed -n "s/^[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\(\.dev[[:digit:]]\+\)*\(+g\([a-f0-9]\+\)\)*\(+dirty\)*$/\3/p") ; \
if [ -n "$gitversion" ] ; then \
pip install --force "git+https://github.com/SwissDataScienceCenter/renku-python.git@$gitversion" ;\
@@ -47,4 +48,4 @@ RUN if [ -n "$RENKU_VERSION" ] ; then \
fi \
fi
########################################################
\ No newline at end of file
########################################################
Loading