summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-08-29 16:06:33 -0400
committerAndreas Jaeger <aj@suse.com>2018-09-12 09:17:52 +0200
commit0c3fb9ded5b4f354dab896dcedd48a51095279bc (patch)
tree9a2ea0fce191ce69497161bb54e2ceb8f23750e5
parentace14f8346f4aa98bd6a65629afe6fbd7a50a048 (diff)
downloadpycadf-0c3fb9ded5b4f354dab896dcedd48a51095279bc.tar.gz
import zuul job settings from project-configpike-em2.6.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 Update tools/tox_install.sh to work with current CI build-sphinx job. Change-Id: I69290fae418a98038f01893a36ba549654a56556 Story: #2002586 Task: #24304
-rw-r--r--.zuul.yaml10
-rwxr-xr-xtools/tox_install.sh5
2 files changed, 15 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
new file mode 100644
index 0000000..d4ee2ff
--- /dev/null
+++ b/.zuul.yaml
@@ -0,0 +1,10 @@
+- project:
+ templates:
+ - openstack-python-jobs
+ - openstack-python35-jobs
+ - publish-openstack-sphinx-docs
+ - check-requirements
+ - lib-forward-testing
+ 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 $?