From: DR695H Date: Fri, 10 May 2019 19:52:12 +0000 (-0400) Subject: cleanup non core-packages and install from pypi X-Git-Tag: 1.5.0~84 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=345c992f34df8c5bbde4e1bdf643386106416c1f;p=testsuite.git cleanup non core-packages and install from pypi Change-Id: I18fd86983a47d114ca148f015c33e848d830ed8f Issue-ID: TEST-153 Signed-off-by: DR695H --- diff --git a/setup.sh b/setup.sh index 1d7b2b91..6ccfddb7 100755 --- a/setup.sh +++ b/setup.sh @@ -17,41 +17,18 @@ pip install \ --no-cache-dir \ --exists-action s \ --target="$path/robot/library" \ +--extra-index-url="https://nexus3.onap.org/repository/PyPi.staging/simple" \ 'robotframework-seleniumlibrary==3.3.1' \ -'robotframework-databaselibrary==0.8.1' \ +'robotframework-databaselibrary==1.2' \ 'robotframework-angularjs==0.0.9' \ 'robotframework-requests==0.5.0' \ 'robotframework-sshlibrary==3.3.0' \ -'robotframework-ftplibrary==1.3' \ +'robotframework-ftplibrary==1.6' \ 'robotframework-rammbock==0.4.0.1' \ 'robotframework-httplibrary==0.4.2' \ -'robotframework-archivelibrary==0.4' \ -'robotframework-kafkalibrary==0.0.2' - - -# get the git for the eteutils you will need to add a private key to your ssh before this -if [ -d $path/testsuite/eteutils ] -then - # Support LF build location - cd $path/testsuite/eteutils -else - cd ~ - git config --global http.sslVerify false - if [ -d ~/python-testing-utils ] - then - cd python-testing-utils - git pull origin master - else - git clone https://gerrit.onap.org/r/testsuite/python-testing-utils.git - cd python-testing-utils - fi -fi - -pip install \ ---no-cache-dir \ ---upgrade \ ---exists-action s \ ---target="$path/robot/library" ./robotframework-onap +'robotframework-archivelibrary==0.4.0' \ +'robotframework-kafkalibrary==0.0.2' \ +'robotframework-onap==0.4' if [ -d $path/testsuite/heatbridge ] @@ -119,25 +96,4 @@ else unzip $CHROMEDRIVER_TARGET fi rm -rf $CHROMEDRIVER_TARGET -fi - -# -# Install kafkacat : https://github.com/edenhill/kafkacat -# -OS=`uname -s` -case $OS in - Darwin) - brew install kafkacat ;; - Linux) - apt-get -y install kafkacat -esac -# -# Install protobuf -# -OS=`uname -s` -case $OS in - Darwin) - brew install protobuf ;; - Linux) - apt-get -y install protobuf-compiler -esac +fi \ No newline at end of file