Commit c64e0d28 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added token.

parent 30ae8b44
Pipeline #731 failed with stages
in 11 minutes and 21 seconds
......@@ -8,6 +8,7 @@ variables:
PYPI_PASSWORD: SECURE
ANACONDA_USER: SECURE
ANACONDA_PASSWORD: SECURE
ANACONDA_TOKEN: SECURE
......@@ -79,9 +80,9 @@ deploy_anaconda:
#- conda skeleton pypi py_tools_ds --output-dir ~/py_tools_ds # create recipe
- 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
- anaconda logout
- anaconda login --username ${ANACONDA_USER} --password ${ANACONDA_PASSWORD}
- conda build -c conda-forge public/conda.recipe/py_tools_ds # --output returns package name
#- anaconda logout
#- anaconda login --username ${ANACONDA_USER} --password ${ANACONDA_PASSWORD}
- conda build -c conda-forge --token ${ANACONDA_TOKEN} public/conda.recipe/py_tools_ds # --output returns package name
#- conda convert --platform all /home/jsmith/miniconda/conda-bld/linux-64/pyinstrument-0.13.1-py27_0.tar.bz2
#-o outputdir/
- anaconda logout
......
FROM centos:7
# patch: conda skeleton will not work without: # https://stackoverflow.com/questions/40392161/building-conda-skeleton-from-pypi-package-throws-error
RUN yum update -y && \
yum install -y wget vim bzip2 gcc gcc-c++ make libgl1-mesa-glx mesa-libGL qt5-qtbase-gui git
yum install -y wget vim bzip2 gcc gcc-c++ make libgl1-mesa-glx mesa-libGL qt5-qtbase-gui git patch
ENV anaconda_dl 'Anaconda3-4.3.1-Linux-x86_64.sh'
RUN /bin/bash -i -c "cd /root; wget https://repo.continuum.io/archive/$anaconda_dl ; \
......@@ -9,7 +10,7 @@ RUN /bin/bash -i -c "cd /root; wget https://repo.continuum.io/archive/$anaconda_
# 'conda install --yes -c conda-forge 'icu=58.*' lxml' fixing a bug for conda-forge gdal build, as of 06/2017
RUN /bin/bash -i -c "source /root/anaconda3/bin/activate ; \
conda install --yes pyqt coverage ; \
conda install --yes pyqt coverage conda-build; \
conda install --yes -c conda-forge gdal ; \
conda install --yes -c conda-forge 'icu=58.*' lxml ; \
conda install --yes -c conda-forge glymur pygrib rasterio pyproj cachetools scikit-image; \
......
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