Skip to content

Commit

Permalink
chore: pipenv check workaround
Browse files Browse the repository at this point in the history
pypa/pipenv#4188

PIPENV_PYUP_API_KEY= can be removed when pipenv-2020.X.X is released
  • Loading branch information
jdobes committed May 13, 2020
1 parent 5a08be2 commit 69c6fd9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ADD /common/*.py /vmaas/webapp_utils/common/
ENV LC_ALL=C.utf8
ENV LANG=C.utf8
ARG PIPENV_CHECK=1
ARG PIPENV_PYUP_API_KEY=""
RUN cd /vmaas/webapp && pipenv install --ignore-pipfile --deploy --dev && \
if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check ; fi && \
cd /vmaas/reposcan && pipenv install --ignore-pipfile --deploy --dev && \
Expand Down
1 change: 1 addition & 0 deletions reposcan/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ADD /reposcan/Pipfile* /reposcan/
ENV LC_ALL=C.utf8
ENV LANG=C.utf8
ARG PIPENV_CHECK=1
ARG PIPENV_PYUP_API_KEY=""
RUN pip3 install --upgrade pipenv && \
pipenv install --ignore-pipfile --deploy --system && ln -s /usr/bin/python3 /usr/bin/python && \
if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi
Expand Down
1 change: 1 addition & 0 deletions webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ADD /webapp/Pipfile* /webapp/
ENV LC_ALL=C.utf8
ENV LANG=C.utf8
ARG PIPENV_CHECK=1
ARG PIPENV_PYUP_API_KEY=""
RUN pip3 install --upgrade pipenv && \
pipenv install --ignore-pipfile --deploy --system && ln -s /usr/bin/python3 /usr/bin/python && \
if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi
Expand Down
1 change: 1 addition & 0 deletions webapp/Dockerfile-qe
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ADD /webapp/Pipfile* /webapp/
ENV LC_ALL=C.utf8
ENV LANG=C.utf8
ENV PIPENV_CHECK=1
ARG PIPENV_PYUP_API_KEY=""
RUN pip3 install --upgrade pipenv && \
cd /webapp && pipenv install --ignore-pipfile --deploy --system --dev && ln -s /usr/bin/python3 /usr/bin/python && \
if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi
Expand Down
1 change: 1 addition & 0 deletions webapp_utils/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ADD /webapp_utils/Pipfile* /webapp_utils/
ENV LC_ALL=C.utf8
ENV LANG=C.utf8
ARG PIPENV_CHECK=1
ARG PIPENV_PYUP_API_KEY=""
RUN pip3 install --upgrade pipenv && \
pipenv install --ignore-pipfile --deploy --system && ln -s /usr/bin/python3 /usr/bin/python && \
if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi
Expand Down
2 changes: 1 addition & 1 deletion websocket/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ADD /websocket/Pipfile* /websocket/
ENV LC_ALL=C.utf8
ENV LANG=C.utf8
ARG PIPENV_CHECK=1

ARG PIPENV_PYUP_API_KEY=""
RUN pip3 install --upgrade pipenv && \
pipenv install --ignore-pipfile --deploy --system && ln -s /usr/bin/python3 /usr/bin/python && \
if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi
Expand Down

0 comments on commit 69c6fd9

Please sign in to comment.