| ... | ... |
@@ -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 |