Read thirdparty-requirements.txt if py3 43/63243/2
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:29:34 +0000 (12:29 +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>
docker/features/Dockerfile
docker/features/thirdparty-requirements.txt

index 01e0cb2..a5a1b98 100644 (file)
@@ -21,8 +21,9 @@ RUN apk --no-cache add --update python3 sshpass && \
     pip install --no-cache-dir --src /src -cupper-constraints.txt \
         -cupper-constraints.opnfv.txt \
         -rthirdparty-requirements.txt && \
-    python3 -m pip install --no-cache-dir --src /src -cupper-constraints.txt -cupper-constraints.opnfv.txt \
-        doctor-tests && \
+    python3 -m pip install --no-cache-dir --src /src -cupper-constraints.txt \
+        -cupper-constraints.opnfv.txt \
+        -rthirdparty-requirements.txt && \
     rm -r upper-constraints.txt upper-constraints.opnfv.txt thirdparty-requirements.txt /src/fds/.git && \
     apk del .build-deps
 COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml
index e9b16b9..672fb24 100644 (file)
@@ -1,8 +1,8 @@
-robotframework-httplibrary
-robotframework-requests
-robotframework-sshlibrary;python_version=='2.7'
-# baro_tests
-# sdnvpn
-# sfc
-# stor4nfv_tests
+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'
+# stor4nfv_tests;python_version<'3.0'
 # doctor-tests;python_version>='3.0'