Skip to content

Commit c42e5b5

Browse files
ajaegerjharbott
authored andcommitted
Fix stable pike build errors
This is a squash of two commits that need to be merged together in order to get all tests to pass: Commit message #1: Use Zuul v3 fetch-subunit-output We have consolidated the fetch output roles into one fetch-subunit-output, replace useage of old roles with new one. Original change-id: Iae2892d9b4cd870a11579434edc9ee66bd16798c (cherry picked from commit 0a2ee90) Commit message #2: Fix sphinx-docs job for stable branch build-openstack-sphinx-docs jobs fail on stable branches because the new pip version 10 changed a Warning into an Error: When calling "pip install" without any package name, the command now fails. tox_install.sh is being called during docs job without any package passed to pip. Note that this only affects stable/pike and older, so there is no patch in master to cherry-pick this from. Newer branches use a different way to set up the tox environment. Depends-On: https://review.openstack.org/573665 Change-Id: I35e9ede7103031ea3ea45e35d743e63059fb8d0b
1 parent 9f6f9c1 commit c42e5b5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

playbooks/osc-devstack/post.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
- hosts: all
22
roles:
3-
- fetch-tox-output
4-
- fetch-stestr-output
3+
- fetch-subunit-output

tools/tox_install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,10 @@ fi
5151
# install will be constrained and we need to unconstrain it.
5252
edit-constraints $localfile -- $CLIENT_NAME "-e file://$PWD#egg=$CLIENT_NAME"
5353

54+
if [ -z "$*" ]; then
55+
echo "No packages to be installed."
56+
exit 0
57+
fi
58+
5459
$install_cmd -U $*
5560
exit $?

0 commit comments

Comments
 (0)