diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-03-09 08:53:53 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-09 08:53:53 +0000 |
commit | f617cab1a8babde8dfb0c3586d7799cd6f85c01b (patch) | |
tree | 886a708e98d64f212d7ad12d59933b2b8d0ad978 | |
parent | 8c12f12b032fbaa784e639515768f1f7ed59dc8d (diff) | |
parent | b771ffb9cd2c133c7fdc3aaca5ed39cce21a0952 (diff) |
Merge "Optimize releng cloning when running unit tests"
-rwxr-xr-x | run_unit_tests.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/run_unit_tests.sh b/run_unit_tests.sh index e0660910a..4c43bfc96 100755 --- a/run_unit_tests.sh +++ b/run_unit_tests.sh @@ -25,12 +25,10 @@ pip install -r $WORKSPACE/test-requirements.txt pip install $WORKSPACE #install releng -cd $WORKSPACE/../ rm -rf releng-unittests -git clone https://gerrit.opnfv.org/gerrit/releng releng-unittests +git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng releng-unittests pip install releng-unittests/modules/ rm -fr releng-unittests -cd $WORKSPACE export CONFIG_FUNCTEST_YAML=$(pwd)/functest/ci/config_functest.yaml # unit tests |