summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-09-09 05:51:22 -0400
committerAndreas Jaeger <aj@suse.com>2018-09-09 21:12:10 +0200
commitf3dcbd2f77d5f87c2dfa47cabf8aeb1047381031 (patch)
tree77867e83dcf794b4b4b540b18a03c995d6569fd7 /tools
parent3640aeab6e11987288a2f149fbeedb1c026045e2 (diff)
downloadpython-cinderclient-pike-em.tar.gz
import zuul job settings from project-configpike-em3.1.1
This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Also, fix tools/tox_install.sh: build-openstack-sphinx-docs jobs fail on stable branches due to the new pip version 10 introduces some previously Warning as Error: in case of calling "pip install" without any package name, the command fails. tox_install.sh is called during docs job without any package passed to pip. Change-Id: I9b937eb5bbef968ce53460dd4267a57bf33d013e Story: #2002586 Task: #24288
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tox_install.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/tox_install.sh b/tools/tox_install.sh
index e61b63a..05c58b3 100755
--- a/tools/tox_install.sh
+++ b/tools/tox_install.sh
@@ -26,5 +26,10 @@ pip install -c"$localfile" openstack-requirements
# install will be constrained and we need to unconstrain it.
edit-constraints "$localfile" -- "$CLIENT_NAME"
+if [ -z "$@" ]; then
+ echo "No packages to be installed."
+ exit 0
+fi
+
pip install -c"$localfile" -U "$@"
exit $?