Browse code

add install_devstack_tools

An initial install for devstack-tools, this will need to use all the
fun pip extra variables for installation, however the current
pip_install always prefers python2, and we only want to do python3
here.

Change-Id: I3dcdb35130f76fad81cb7b0d4001b7e96efbbd84

Sean Dague authored on 2017/01/19 05:42:32
Showing 1 changed files
... ...
@@ -367,6 +367,13 @@ function install_python3 {
367 367
     fi
368 368
 }
369 369
 
370
+function install_devstack_tools {
371
+    # intentionally old to ensure devstack-gate has control
372
+    local dstools_version=${DSTOOLS_VERSION:-0.1.2}
373
+    install_python3
374
+    sudo pip3 install -U devstack-tools==${dstools_version}
375
+}
376
+
370 377
 # Restore xtrace
371 378
 $INC_PY_TRACE
372 379