Merge "Enable functest offline by installing tempest system wide"
authorJose Lausuch <jose.lausuch@ericsson.com>
Thu, 23 Mar 2017 11:06:05 +0000 (11:06 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 23 Mar 2017 11:06:05 +0000 (11:06 +0000)
1  2 
docker/Dockerfile

diff --combined docker/Dockerfile
@@@ -120,20 -120,8 +120,20 @@@ RUN cd ${REPOS_DIR}/barometer 
      && pip install .
  
  RUN find ${FUNCTEST_REPO_DIR} -name "*.py" \
 -    -not -path "*tests/unit*" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod -c 755 \
 -    && find ${FUNCTEST_REPO_DIR} -name "*.sh" |xargs grep \#\! |cut -d\:  -f 1 |xargs chmod -c 755
 +    -not -path "*tests/unit*" \
 +    -not -path "*functest_venv*" \
 +    |xargs grep -L __main__ |cut -d\: -f 1 |xargs chmod -c 644 \
 +    && find ${FUNCTEST_REPO_DIR} -name "*.sh" \
 +    -not -path "*functest_venv*" \
 +    |xargs grep -L \#\! |cut -d\:  -f 1 |xargs chmod -c 644
 +
 +RUN find ${FUNCTEST_REPO_DIR} -name "*.py" \
 +    -not -path "*tests/unit*" \
 +    -not -path "*functest_venv*" \
 +    |xargs grep __main__ |cut -d\: -f 1 |xargs chmod -c 755 \
 +    && find ${FUNCTEST_REPO_DIR} -name "*.sh" \
 +    -not -path "*functest_venv*" \
 +    |xargs grep \#\! |cut -d\:  -f 1 |xargs chmod -c 755
  
  RUN /bin/bash ${REPOS_DIR}/parser/tests/parser_install.sh ${REPOS_DIR}
  RUN ${REPOS_DIR}/rally/install_rally.sh --yes
@@@ -156,6 -144,7 +156,7 @@@ RUN cd ${REPOS_DIR}/bgpvpn && pip insta
  
  # Kingbird integration
  RUN cd ${REPOS_DIR}/kingbird && pip install -e .
+ RUN cd ${FUNCTEST_REPO_DIR} && pip install -r kingbird_requirements.txt
  
  # refstack-client integration
  RUN cd ${REPOS_DIR}/refstack-client && ./setup_env -t ${REFSTACK_TAG}