diff options
| author | qingszhao <zhao.daqing@99cloud.net> | 2018-08-21 14:56:56 +0000 |
|---|---|---|
| committer | Jens Harbott <j.harbott@x-ion.de> | 2018-08-28 07:05:32 +0000 |
| commit | 0c228ffc7ecfbe78e19d8e1ad8c6e6dc2263fbbb (patch) | |
| tree | a44ba475f572f33b1cbbfbe7e6138f8e9e2714f3 | |
| parent | f2120f15d54ba8b23748663c81650e3fd7a6efd1 (diff) | |
| download | python-openstackclient-0c228ffc7ecfbe78e19d8e1ad8c6e6dc2263fbbb.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
Add a fix for tox_install.sh to avoid it erroring out when called with
no arguments.
Change-Id: Icfa74452c3563dad50ea72b503012acc57d0636b
Story: #2002586
Task: #24320
| -rw-r--r-- | .zuul.yaml | 11 | ||||
| -rwxr-xr-x | tools/tox_install.sh | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 00000000..604bbc51 --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,11 @@ +- project: + templates: + - openstack-python-jobs + - openstack-python35-jobs + - publish-openstack-sphinx-docs + - check-requirements + - release-notes-jobs + - lib-forward-testing + post: + jobs: + - openstack-tox-cover diff --git a/tools/tox_install.sh b/tools/tox_install.sh index 4af3be16..dc1ddc11 100755 --- a/tools/tox_install.sh +++ b/tools/tox_install.sh @@ -51,5 +51,10 @@ fi # install will be constrained and we need to unconstrain it. edit-constraints $localfile -- $CLIENT_NAME "-e file://$PWD#egg=$CLIENT_NAME" +if [ -z "$*" ]; then + echo "No packages to be installed." + exit 0 +fi + $install_cmd -U $* exit $? |
