import zuul job settings from project-config

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

Fix tools/tox_install.sh to work with build-sphinx job.

Change-Id: I04b1d4e15a5a7df8df6f596c8be46daf3ad213d1
Story: #2002586
Task: #24346
This commit is contained in:
98k
2018-08-24 06:42:04 +00:00
committed by Andreas Jaeger
parent a1c2de74c5
commit e5081dcc2e
2 changed files with 19 additions and 0 deletions

14
.zuul.yaml Normal file
View File

@@ -0,0 +1,14 @@
- project:
templates:
- openstack-python-jobs
- openstack-python35-jobs
- check-requirements
- openstackclient-plugin-jobs
- publish-openstack-sphinx-docs
- release-notes-jobs
check:
jobs:
- legacy-zaqarclient-dsvm-functional
gate:
jobs:
- legacy-zaqarclient-dsvm-functional

View File

@@ -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 $?