From a916aeb1343bf8e80ad8ced3b43c8fe0c898f942 Mon Sep 17 00:00:00 2001 From: Jan Dobes Date: Wed, 13 May 2020 12:10:43 +0200 Subject: [PATCH] chore: pipenv check workaround https://github.com/pypa/pipenv/issues/4188 PIPENV_PYUP_API_KEY= can be removed when pipenv-2020.X.X is released --- Dockerfile.test | 2 ++ advisor_listener/Dockerfile | 1 + evaluator/Dockerfile | 1 + listener/Dockerfile | 1 + manager/Dockerfile | 1 + metrics/Dockerfile | 1 + platform_mock/Dockerfile | 1 + scripts/openshift-debugger/Dockerfile | 1 + taskomatic/Dockerfile | 1 + vmaas_sync/Dockerfile | 1 + 10 files changed, 11 insertions(+) diff --git a/Dockerfile.test b/Dockerfile.test index 4b113f4de..c9bc90abe 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -18,6 +18,8 @@ WORKDIR /engine ENV LC_ALL=en_US.utf8 ENV LANG=en_US.utf8 +ARG PIPENV_CHECK=1 +ARG PIPENV_PYUP_API_KEY="" RUN pipenv install --ignore-pipfile --deploy && ln -s /usr/bin/python3 /usr/bin/python && \ if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi diff --git a/advisor_listener/Dockerfile b/advisor_listener/Dockerfile index 0a4462fcb..3800b7c40 100644 --- a/advisor_listener/Dockerfile +++ b/advisor_listener/Dockerfile @@ -13,6 +13,7 @@ ADD /advisor_listener/Pipfile* /advisor_listener/ 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 diff --git a/evaluator/Dockerfile b/evaluator/Dockerfile index 0de6e0247..83d57cc44 100644 --- a/evaluator/Dockerfile +++ b/evaluator/Dockerfile @@ -13,6 +13,7 @@ ADD /evaluator/Pipfile* /evaluator/ 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 diff --git a/listener/Dockerfile b/listener/Dockerfile index 90a1a2f66..5d4a5ea72 100644 --- a/listener/Dockerfile +++ b/listener/Dockerfile @@ -13,6 +13,7 @@ ADD /listener/Pipfile* /listener/ 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 diff --git a/manager/Dockerfile b/manager/Dockerfile index 0d3a260cd..37a0e5777 100644 --- a/manager/Dockerfile +++ b/manager/Dockerfile @@ -26,6 +26,7 @@ ADD /manager/Pipfile* /manager/ 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 diff --git a/metrics/Dockerfile b/metrics/Dockerfile index 996aefb13..8cce2edee 100644 --- a/metrics/Dockerfile +++ b/metrics/Dockerfile @@ -9,6 +9,7 @@ ADD /metrics/Pipfile* /metrics/ 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 diff --git a/platform_mock/Dockerfile b/platform_mock/Dockerfile index 56469a27b..23212da3c 100644 --- a/platform_mock/Dockerfile +++ b/platform_mock/Dockerfile @@ -9,6 +9,7 @@ ADD /platform_mock/Pipfile* /platform_mock/ 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 diff --git a/scripts/openshift-debugger/Dockerfile b/scripts/openshift-debugger/Dockerfile index efc408c60..e00a96f50 100644 --- a/scripts/openshift-debugger/Dockerfile +++ b/scripts/openshift-debugger/Dockerfile @@ -26,6 +26,7 @@ ADD /common/logging.py /debugger/common/ 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 diff --git a/taskomatic/Dockerfile b/taskomatic/Dockerfile index 5b3008f33..f9e91b0a6 100644 --- a/taskomatic/Dockerfile +++ b/taskomatic/Dockerfile @@ -13,6 +13,7 @@ ADD /taskomatic/Pipfile* /taskomatic/ 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 diff --git a/vmaas_sync/Dockerfile b/vmaas_sync/Dockerfile index ccd49d48a..bc9c394f5 100644 --- a/vmaas_sync/Dockerfile +++ b/vmaas_sync/Dockerfile @@ -13,6 +13,7 @@ ADD /vmaas_sync/Pipfile* /vmaas_sync/ 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