Read thirdparty-requirements.txt if py3 49/63249/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 6 Oct 2018 09:37:26 +0000 (11:37 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 6 Oct 2018 10:39:24 +0000 (12:39 +0200)
It fixes the current build issues due to unsynced doctor [1].

[1] https://build.opnfv.org/ci/job/functest-features-docker-build-arm64-master/455/console

Change-Id: Iad8b667e2615dcd976cd8120e4204665134922b7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 01509097c7447ee70d61f7e97d7947b127425eac)

docker/features/Dockerfile
docker/features/thirdparty-requirements.txt

index b2f2ea8..e59c96b 100644 (file)
@@ -30,7 +30,7 @@ RUN apk --no-cache add --update python3 sshpass && \
     git clone --depth 1 -b $FDS_TAG https://gerrit.opnfv.org/gerrit/fds /src/fds && \
     python3 -m pip install --no-cache-dir --src /src -cupper-constraints.txt \
         -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
-        doctor-tests && \
+        -rthirdparty-requirements.txt && \
     rm -r upper-constraints.txt thirdparty-requirements.txt /src/fds/.git \
         /src/os-faults /src/rally && \
     mkdir -p /etc/rally && \
index 73c11b4..f20f69c 100644 (file)
@@ -1,7 +1,7 @@
-robotframework-httplibrary
-robotframework-requests
-robotframework-sshlibrary;python_version=='2.7'
-baro_tests
-sdnvpn
-sfc
+robotframework-httplibrary;python_version<'3.0'
+robotframework-requests;python_version<'3.0'
+robotframework-sshlibrary;python_version<'3.0'
+baro_tests;python_version<'3.0'
+sdnvpn;python_version<'3.0'
+sfc;python_version<'3.0'
 doctor-tests;python_version>='3.0'