diff options
author | Doug Hellmann <doug@doughellmann.com> | 2018-09-09 05:51:22 -0400 |
---|---|---|
committer | Andreas Jaeger <aj@suse.com> | 2018-09-09 21:12:10 +0200 |
commit | f3dcbd2f77d5f87c2dfa47cabf8aeb1047381031 (patch) | |
tree | 77867e83dcf794b4b4b540b18a03c995d6569fd7 | |
parent | 3640aeab6e11987288a2f149fbeedb1c026045e2 (diff) | |
download | python-cinderclient-f3dcbd2f77d5f87c2dfa47cabf8aeb1047381031.tar.gz |
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
-rw-r--r-- | .zuul.yaml | 15 | ||||
-rwxr-xr-x | tools/tox_install.sh | 5 |
2 files changed, 20 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 0000000..f33a7fa --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,15 @@ +- project: + templates: + - openstack-python-jobs + - openstack-python35-jobs + - publish-openstack-sphinx-docs + - check-requirements + - lib-forward-testing + - release-notes-jobs + check: + jobs: + - openstack-tox-pylint: + voting: false + post: + jobs: + - openstack-tox-cover 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 $? |