From b5473bb2efc907ed4b83fba31000e0a6eff1e6b3 Mon Sep 17 00:00:00 2001 From: qingszhao Date: Thu, 23 Aug 2018 05:00:22 +0000 Subject: [PATCH] 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 current OpenStack build-sphinx job. Change-Id: If775f234846f1a20c07419bf23cd9be735ae78c1 Story: #2002586 Task: #24308 --- .zuul.yaml | 11 +++++++++++ tools/tox_install.sh | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 .zuul.yaml diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 00000000..6473982d --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,11 @@ +- project: + templates: + - openstack-python-jobs + - openstack-python35-jobs + - check-requirements + - publish-openstack-sphinx-docs + check: + jobs: + - openstack-tox-cover: + voting: false + diff --git a/tools/tox_install.sh b/tools/tox_install.sh index f07819ff..b69b09f8 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 $?