Browse code

Merge "Disable tempest tox venv recreation in OFFLINE mode"

Jenkins authored on 2016/03/02 14:55:27
Showing 1 changed files
... ...
@@ -322,7 +322,9 @@ function configure_tempest {
322 322
     local tmp_cfg_file
323 323
     tmp_cfg_file=$(mktemp)
324 324
     cd $TEMPEST_DIR
325
-    tox -revenv --notest
325
+    if [[ "$OFFLINE" != "True" ]]; then
326
+        tox -revenv --notest
327
+    fi
326 328
     # NOTE(mtreinish): Respect constraints on tempest verify-config venv
327 329
     tox -evenv -- pip install -c $REQUIREMENTS_DIR/upper-constraints.txt -r requirements.txt
328 330
     tox -evenv -- tempest verify-config -uro $tmp_cfg_file