summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-08-29 16:06:41 -0400
committerTony Breeds <tony@bakeyournoodle.com>2018-09-07 13:29:38 +1000
commit329cc72febfe904545e549f552ef81445d778f88 (patch)
tree21fd001a30d94684a14fc65761dfe78900faa35e
parent7ff05baa1fa56f152173651f16fc6fd181291292 (diff)
downloadpython-keystoneclient-329cc72febfe904545e549f552ef81445d778f88.tar.gz
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 Also while we're there we need to make these tox environments compatible with pip>=10 Change-Id: I291f4696d25219e65c80c97554997ddf52cc9b56 Story: #2002586 Task: #24304
-rw-r--r--.zuul.yaml15
-rwxr-xr-xtools/tox_install.sh5
2 files changed, 20 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
new file mode 100644
index 0000000..2b2f1b7
--- /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:
+ - legacy-keystoneclient-dsvm-functional:
+ 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 $?