Skip to content

Commit effcfd6

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Disable tempest tox venv recreation in OFFLINE mode"
2 parents a9bc5cb + 3ded0db commit effcfd6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/tempest

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,9 @@ function configure_tempest {
322322
local tmp_cfg_file
323323
tmp_cfg_file=$(mktemp)
324324
cd $TEMPEST_DIR
325-
tox -revenv --notest
325+
if [[ "$OFFLINE" != "True" ]]; then
326+
tox -revenv --notest
327+
fi
326328
# NOTE(mtreinish): Respect constraints on tempest verify-config venv
327329
tox -evenv -- pip install -c $REQUIREMENTS_DIR/upper-constraints.txt -r requirements.txt
328330
tox -evenv -- tempest verify-config -uro $tmp_cfg_file

0 commit comments

Comments
 (0)