From c139d82481dafc3a92f4a246155b0ce88ef529c9 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 28 Aug 2018 17:18:23 -0400 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 This patch also adds limiting dependencies using the upper-constraints file in tox.ini, as this is needed to unblock the gate. Change-Id: Ib2ef3b3d0d0733842abad97898114c3dbdab3b7a Co-Authored-By: Zane Bitter Story: #2002586 Task: #24298 --- .zuul.yaml | 7 +++++++ tox.ini | 1 + 2 files changed, 8 insertions(+) create mode 100644 .zuul.yaml diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 0000000..f2277e4 --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,7 @@ +- project: + templates: + - openstack-python-jobs + - openstack-python35-jobs + - check-requirements + - publish-openstack-sphinx-docs + - release-notes-jobs diff --git a/tox.ini b/tox.ini index 41a2ed2..5e49ed3 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ skipsdist = True [testenv] whitelist_externals = bash setenv = VIRTUAL_ENV={envdir} +install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky} {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'