Hi,
I’ve been having issues deploying my app. The last two releases I’ve tried to deploy have been stuck during git push resin master
:
...
[main] Downloading https://files.pythonhosted.org/packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl (567kB)
[main] Installing collected packages: setuptools
[main] Found existing installation: setuptools 39.1.0
[main] Uninstalling setuptools-39.1.0:
[main] Successfully uninstalled setuptools-39.1.0
[main] Successfully installed setuptools-40.0.0
[main] Collecting atomicwrites==1.1.5 (from -r requirements.txt (line 1))
[main] Downloading https://files.pythonhosted.org/packages/0a/e8/cd6375e7a59664eeea9e1c77a766eeac0fc3083bb958c2b41ec46b95f29c/atomicwrites-1.1.5-py2.py3-none-any.whl
[main] Collecting attrs==18.1.0 (from -r requirements.txt (line 2))
[main] Downloading https://files.pythonhosted.org/packages/41/59/cedf87e91ed541be7957c501a92102f9cc6363c623a7666d69d51c78ac5b/attrs-18.1.0-py2.py3-none-any.whl
[main] Collecting colorama==0.3.9 (from -r requirements.txt (line 3))
[main] Downloading https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl
[main] Collecting more-itertools==4.2.0 (from -r requirements.txt (line 4))
[main] Downloading https://files.pythonhosted.org/packages/85/40/90c3b0393e12b9827381004224de8814686e3d7182f9d4182477f600826d/more_itertools-4.2.0-py3-none-any.whl (45kB)
[main] Collecting pluggy==0.7.1 (from -r requirements.txt (line 5))
[main] Downloading https://files.pythonhosted.org/packages/f5/f1/5a93c118663896d83f7bcbfb7f657ce1d0c0d617e6b4a443a53abcc658ca/pluggy-0.7.1-py2.py3-none-any.whl
[main] Collecting psycopg2==2.7.5 (from -r requirements.txt (line 6))
[main] Downloading https://files.pythonhosted.org/packages/b2/c1/7bf6c464e903ffc4f3f5907c389e5a4199666bf57f6cd6bf46c17912a1f9/psycopg2-2.7.5.tar.gz (426kB)
[main] Collecting py==1.5.4 (from -r requirements.txt (line 7))
[main] Downloading https://files.pythonhosted.org/packages/f3/bd/83369ff2dee18f22f27d16b78dd651e8939825af5f8b0b83c38729069962/py-1.5.4-py2.py3-none-any.whl (83kB)
[main] Collecting pytest==3.7.1 (from -r requirements.txt (line 8))
[main] Downloading https://files.pythonhosted.org/packages/d2/86/7b9513da923b94e48c2cf013ae4eae8184a36ebeb7fe27d386bc3db4f56f/pytest-3.7.1-py2.py3-none-any.whl (202kB)
[main] Collecting ruamel.yaml==0.15.44 (from -r requirements.txt (line 9))
[main] Downloading https://files.pythonhosted.org/packages/cd/8f/cce2403b82c6939ada5fd39488f0ce91729581e2d17436cba1c2020d2997/ruamel.yaml-0.15.44.tar.gz (280kB)
[main] Collecting six==1.11.0 (from -r requirements.txt (line 10))
[main] Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
[main] Collecting SQLAlchemy==1.2.10 (from -r requirements.txt (line 11))
[main] Downloading https://files.pythonhosted.org/packages/8a/c2/29491103fd971f3988e90ee3a77bb58bad2ae2acd6e8ea30a6d1432c33a3/SQLAlchemy-1.2.10.tar.gz (5.6MB)
[main] Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from pytest==3.7.1->-r requirements.txt (line 8)) (40.0.0)
[main] Installing collected packages: atomicwrites, attrs, colorama, six, more-itertools, pluggy, psycopg2, py, pytest, ruamel.yaml, SQLAlchemy
[main] Running setup.py install for psycopg2: started
[main] Running setup.py install for psycopg2: finished with status 'done'
[main] Running setup.py install for ruamel.yaml: started
[main] Running setup.py install for ruamel.yaml: finished with status 'done'
[main] Running setup.py install for SQLAlchemy: started
[main] Running setup.py install for SQLAlchemy: finished with status 'done'
[main] Successfully installed SQLAlchemy-1.2.10 atomicwrites-1.1.5 attrs-18.1.0 colorama-0.3.9 more-itertools-4.2.0 pluggy-0.7.1 psycopg2-2.7.5 py-1.5.4 pytest-3.7.1 ruamel.yaml-0.15.44 six-1.11.0
[main] Processing /
[Info] Still working...
[Info] Still working...
[Info] Still working...
[Info] Still working...
[Info] Still working...
[Info] Still working...
[Info] Still working...
[Info] Still working...
[Info] Still working...
[Info] Still working...
Resin dashboard shows that the deployment is Running.
App ID: 1203358
Release ID: 38709ce77cb0b364ae3ffc21a5c43a5e88343ffc
Dockerfile:
# Dockerfile based on best practices listed in https://resin.io/blog/our-dockerfile-tips-tricks/
# Use date-tagged base image to ensure reproducibility
FROM resin/raspberrypi3-python:3.6.5-slim-20180707
ENV INITSYSTEM on
# Copy the working directory
COPY . ./
# Start target platform emulation
#RUN [ "cross-build-start" ]
# Install psycopg2 dependencies
RUN apt-get update && \
apt-get install -y libpq-dev && \
apt-get install -y gcc
# Install requirements
RUN pip install --upgrade pip && \
pip install --upgrade setuptools && \
pip install -r requirements.txt && \
pip install -e .[prod]
# Stop target platform emulation
#RUN [ "cross-build-end" ]
# Start script
CMD ["bash", "start.sh"]
Any ideas on how to resolve this issue?