aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2021-01-08 14:52:53 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2021-01-08 16:51:04 +0000
commit7ecccb6041589f63a4127246d4994a8b5551e0db (patch)
tree8d2354bea56571b304ae8cc32a70e1bc60532286
parent94e27de8ea2db18be2878faf38f5d74a09acfdf7 (diff)
[XTESTING] Use editable option to install pythonsdk-tests
Needs to be done to fix issue with package installation. Issue-ID: TEST-293 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Iaeb61f9ae1b35fbc818c9c57dcf144ca5060028f
-rw-r--r--smoke-usecases-pythonsdk/docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/smoke-usecases-pythonsdk/docker/Dockerfile b/smoke-usecases-pythonsdk/docker/Dockerfile
index 0322774..9318d26 100644
--- a/smoke-usecases-pythonsdk/docker/Dockerfile
+++ b/smoke-usecases-pythonsdk/docker/Dockerfile
@@ -8,8 +8,8 @@ RUN apk add --no-cache python3 git && \
apk add --no-cache --virtual .build-deps libffi-dev python3-dev \
gcc openssl-dev linux-headers musl-dev && \
pip3 install --upgrade pip && \
- pip3 install --no-cache-dir \
- git+https://gerrit.onap.org/r/testsuite/pythonsdk-tests@$ONAP_TESTS_TAG && \
+ pip3 install --editable \
+ git+https://gerrit.onap.org/r/testsuite/pythonsdk-tests@$ONAP_TESTS_TAG#egg=onaptests && \
apk del .build-deps
COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml